Lines Matching defs:src
16 #define IS_UNALIGNED(src, dst) 0
18 #define IS_UNALIGNED(src, dst) \
19 (((long) dst | (long) src) & (sizeof(long) - 1))
28 static inline long do_strncpy_from_user(char *dst, const char __user *src,
34 if (IS_UNALIGNED(src, dst))
41 unsafe_get_user(c, (unsigned long __user *)(src+res), byte_at_a_time);
47 * potentially random bytes after the NUL in `src`.
72 unsafe_get_user(c,src+res, efault);
99 * @src: Source address, in user space.
113 long strncpy_from_user(char *dst, const char __user *src, long count)
124 src_addr = (unsigned long)untagged_addr(src);
138 if (user_read_access_begin(src, max)) {
139 retval = do_strncpy_from_user(dst, src, count, max);