Lines Matching refs:to
23 #define HAVE_ARCH_UNMAPPED_AREA /* we decide where to put mmaps */
70 * address of an instruction that is allowed to fault, and the second is
72 * modified, so it is entirely up to the continuation code to figure out
73 * what to do.
77 * we don't even have to jump over them. Further, they do not intrude
135 * we do not write to any memory gcc knows about, so there are no
267 #define __copy_from_user_inatomic(to, from, n) __memcpy_user((to), ____force(from), (n))
268 #define __copy_to_user_inatomic(to, from, n) __memcpy_user(____force(to), (from), (n))
273 #define __copy_from_user_inatomic(to, from, n) (memcpy((to), ____force(from), (n)), 0)
274 #define __copy_to_user_inatomic(to, from, n) (memcpy(____force(to), (from), (n)), 0)
281 __copy_to_user(void __user *to, const void *from, unsigned long n)
284 return __copy_to_user_inatomic(to, from, n);
288 __copy_from_user(void *to, const void __user *from, unsigned long n)
291 return __copy_from_user_inatomic(to, from, n);
294 static inline long copy_from_user(void *to, const void __user *from, unsigned long n)
299 ret = __copy_from_user(to, from, n);
302 memset(to + (n - ret), 0, ret);
307 static inline long copy_to_user(void __user *to, const void *from, unsigned long n)
309 return likely(__access_ok(to, n)) ? __copy_to_user(to, from, n) : n;