Lines Matching refs:to
55 * address of an instruction that is allowed to fault, and the second is
57 * modified, so it is entirely up to the continuation code to figure out
58 * what to do.
62 * we don't even have to jump over them. Further, they do not intrude
78 static inline __must_check long __copy_from_user(void *to,
84 *(u8 *)to = *(u8 __force *)from;
87 *(u16 *)to = *(u16 __force *)from;
90 *(u32 *)to = *(u32 __force *)from;
94 *(u64 *)to = *(u64 __force *)from;
102 memcpy(to, (const void __force *)from, n);
108 static inline __must_check long __copy_to_user(void __user *to,
114 *(u8 __force *)to = *(u8 *)from;
117 *(u16 __force *)to = *(u16 *)from;
120 *(u32 __force *)to = *(u32 *)from;
124 *(u64 __force *)to = *(u64 *)from;
132 memcpy((void __force *)to, from, n);
140 * This version just falls back to copy_{from,to}_user, which should
243 static inline long copy_from_user(void *to,
248 return __copy_from_user(to, from, n);
253 static inline long copy_to_user(void __user *to,
257 if (access_ok(VERIFY_WRITE, to, n))
258 return __copy_to_user(to, from, n);
310 __clear_user(void __user *to, unsigned long n)
312 memset((void __force *)to, 0, n);
318 clear_user(void __user *to, unsigned long n)
321 if (!access_ok(VERIFY_WRITE, to, n))
324 return __clear_user(to, n);