Lines Matching refs:dst
16 #define IS_UNALIGNED(src, dst) 0 argument
18 #define IS_UNALIGNED(src, dst) \ argument
19 (((long) dst | (long) src) & (sizeof(long) - 1))
28 static __always_inline long do_strncpy_from_user(char *dst, const char __user *src, in do_strncpy_from_user() argument
34 if (IS_UNALIGNED(src, dst)) in do_strncpy_from_user()
58 *(unsigned long *)(dst+res) = c & mask; in do_strncpy_from_user()
62 *(unsigned long *)(dst+res) = c; in do_strncpy_from_user()
73 dst[res] = c; in do_strncpy_from_user()
113 long strncpy_from_user(char *dst, const char __user *src, long count) in strncpy_from_user() argument
123 kasan_check_write(dst, count); in strncpy_from_user()
124 check_object_size(dst, count, false); in strncpy_from_user()
130 retval = do_strncpy_from_user(dst, src, count, count); in strncpy_from_user()
149 retval = do_strncpy_from_user(dst, src, count, max); in strncpy_from_user()