Searched refs:dstsize (Results 1 – 2 of 2) sorted by relevance
772 ssize_t nla_strscpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strscpy() argument779 if (dstsize == 0 || WARN_ON_ONCE(dstsize > U16_MAX)) in nla_strscpy()785 if (srclen >= dstsize) { in nla_strscpy()786 len = dstsize - 1; in nla_strscpy()795 memset(dst + len, 0, dstsize - len); in nla_strscpy()
258 u32 dstsize, in atmel_hlcdc_plane_phiscaler_get_factor() argument263 factor = (256 * ((8 * (srcsize - 1)) - phidef)) / (dstsize - 1); in atmel_hlcdc_plane_phiscaler_get_factor()264 max_memsize = ((factor * (dstsize - 1)) + (256 * phidef)) / 2048; in atmel_hlcdc_plane_phiscaler_get_factor()