• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/include/asm/

Lines Matching refs:to

65  * address of an instruction that is allowed to fault, and the second is
67 * modified, so it is entirely up to the continuation code to figure out
68 * what to do.
72 * we don't even have to jump over them. Further, they do not intrude
85 * This gets kind of ugly. We want to return _two_ values in "get_user()"
86 * and yet we don't want to do any pointers, because that is too much
93 * accesses to the same area of user memory).
101 * properly handle 64-bit data because the value gets down cast to a long.
133 * because we do not write to any memory gcc knows about, so there
327 extern unsigned long __copy_tofrom_user(void __user *to,
332 static inline unsigned long copy_from_user(void *to,
338 return __copy_tofrom_user((__force void __user *)to, from, n);
341 return __copy_tofrom_user((__force void __user *)to, from,
347 static inline unsigned long copy_to_user(void __user *to,
352 if (access_ok(VERIFY_WRITE, to, n))
353 return __copy_tofrom_user(to, (__force void __user *)from, n);
354 if ((unsigned long)to < TASK_SIZE) {
355 over = (unsigned long)to + n - TASK_SIZE;
356 return __copy_tofrom_user(to, (__force void __user *)from,
364 #define __copy_in_user(to, from, size) \
365 __copy_tofrom_user((to), (from), (size))
367 extern unsigned long copy_from_user(void *to, const void __user *from,
369 extern unsigned long copy_to_user(void __user *to, const void *from,
371 extern unsigned long copy_in_user(void __user *to, const void __user *from,
376 static inline unsigned long __copy_from_user_inatomic(void *to,
384 __get_user_size(*(u8 *)to, from, 1, ret);
387 __get_user_size(*(u16 *)to, from, 2, ret);
390 __get_user_size(*(u32 *)to, from, 4, ret);
393 __get_user_size(*(u64 *)to, from, 8, ret);
399 return __copy_tofrom_user((__force void __user *)to, from, n);
402 static inline unsigned long __copy_to_user_inatomic(void __user *to,
410 __put_user_size(*(u8 *)from, (u8 __user *)to, 1, ret);
413 __put_user_size(*(u16 *)from, (u16 __user *)to, 2, ret);
416 __put_user_size(*(u32 *)from, (u32 __user *)to, 4, ret);
419 __put_user_size(*(u64 *)from, (u64 __user *)to, 8, ret);
425 return __copy_tofrom_user(to, (__force const void __user *)from, n);
428 static inline unsigned long __copy_from_user(void *to,
432 return __copy_from_user_inatomic(to, from, size);
435 static inline unsigned long __copy_to_user(void __user *to,
439 return __copy_to_user_inatomic(to, from, size);
479 * The `top' parameter to __strnlen_user is to make sure that