Lines Matching defs:count
27 #define __do_strncpy_from_user(dst, src, count, res) \
53 : "=r"(res), "=r"(count), "=r"(dst), \
55 : "5"(-EFAULT), "0"(count), "1"(count), \
64 * least @count bytes long.
66 * @count: Maximum number of bytes to copy, including the trailing NUL.
78 * If @count is smaller than the length of the string, copies @count bytes
79 * and returns @count.
81 long __strncpy_from_user(char *dst, const char *src, long count)
85 __do_strncpy_from_user(dst, src, count, res);
93 * least @count bytes long.
95 * @count: Maximum number of bytes to copy, including the trailing NUL.
105 * If @count is smaller than the length of the string, copies @count bytes
106 * and returns @count.
108 long strncpy_from_user(char *dst, const char *src, long count)
113 __do_strncpy_from_user(dst, src, count, res);