Lines Matching refs:count
24 * 'count' is the user-supplied count (return 'count' if we
29 unsigned long count, unsigned long max)
84 if (res >= count)
98 * least @count bytes long.
100 * @count: Maximum number of bytes to copy, including the trailing NUL.
110 * If @count is smaller than the length of the string, copies @count bytes
111 * and returns @count.
113 long strncpy_from_user(char *dst, const char __user *src, long count)
120 if (unlikely(count <= 0))
133 if (max > count)
134 max = count;
136 kasan_check_write(dst, count);
137 check_object_size(dst, count, false);
139 retval = do_strncpy_from_user(dst, src, count, max);