Lines Matching refs:dst
15 #define IS_UNALIGNED(src, dst) 0 argument
17 #define IS_UNALIGNED(src, dst) \ argument
18 (((long) dst | (long) src) & (sizeof(long) - 1))
27 static inline long do_strncpy_from_user(char *dst, const char __user *src, in do_strncpy_from_user() argument
33 if (IS_UNALIGNED(src, dst)) in do_strncpy_from_user()
42 *(unsigned long *)(dst+res) = c; in do_strncpy_from_user()
57 dst[res] = c; in do_strncpy_from_user()
97 long strncpy_from_user(char *dst, const char __user *src, long count) in strncpy_from_user() argument
117 kasan_check_write(dst, count); in strncpy_from_user()
118 check_object_size(dst, count, false); in strncpy_from_user()
120 retval = do_strncpy_from_user(dst, src, count, max); in strncpy_from_user()