Lines Matching refs:dst
16 #define IS_UNALIGNED(src, dst) 0
18 #define IS_UNALIGNED(src, dst) \
19 (((long) dst | (long) src) & (sizeof(long) - 1))
28 static __always_inline long do_strncpy_from_user(char *dst, const char __user *src,
34 if (IS_UNALIGNED(src, dst))
58 *(unsigned long *)(dst+res) = c & mask;
62 *(unsigned long *)(dst+res) = c;
73 dst[res] = c;
97 * @dst: Destination address, in kernel space. This buffer must be at
113 long strncpy_from_user(char *dst, const char __user *src, long count)
136 kasan_check_write(dst, count);
137 check_object_size(dst, count, false);
139 retval = do_strncpy_from_user(dst, src, count, max);