Lines Matching defs:to
21 /* Sparc is not segmented, however we need to be able to fool access_ok()
42 * large size and address near to PAGE_OFFSET - a fault will break his intentions.
52 * address of an instruction that is allowed to fault, and the second is
54 * modified, so it is entirely up to the continuation code to figure out
55 * what to do.
59 * we don't even have to jump over them. Further, they do not intrude
62 * There is a special way how to put a range of potentially faulting
86 * This gets kind of ugly. We want to return _two_ values in "get_user()"
87 * and yet we don't want to do any pointers, because that is too much
103 * doing multiple accesses to the same area (the user has to do the
246 extern unsigned long __copy_user(void __user *to, const void __user *from, unsigned long size);
248 static inline unsigned long copy_to_user(void __user *to, const void *from, unsigned long n)
250 if (n && __access_ok((unsigned long) to, n))
251 return __copy_user(to, (__force void __user *) from, n);
256 static inline unsigned long __copy_to_user(void __user *to, const void *from, unsigned long n)
258 return __copy_user(to, (__force void __user *) from, n);
261 static inline unsigned long copy_from_user(void *to, const void __user *from, unsigned long n)
264 return __copy_user((__force void __user *) to, from, n);
269 static inline unsigned long __copy_from_user(void *to, const void __user *from, unsigned long n)
271 return __copy_user((__force void __user *) to, from, n);