• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-powerpc/

Lines Matching defs:to

64  * address of an instruction that is allowed to fault, and the second is
66 * modified, so it is entirely up to the continuation code to figure out
67 * what to do.
71 * we don't even have to jump over them. Further, they do not intrude
84 * This gets kind of ugly. We want to return _two_ values in "get_user()"
85 * and yet we don't want to do any pointers, because that is too much
92 * accesses to the same area of user memory).
100 * properly handle 64-bit data because the value gets down cast to a long.
132 * because we do not write to any memory gcc knows about, so there
330 extern unsigned long __copy_tofrom_user(void __user *to,
335 static inline unsigned long copy_from_user(void *to,
341 return __copy_tofrom_user((__force void __user *)to, from, n);
344 return __copy_tofrom_user((__force void __user *)to, from,
350 static inline unsigned long copy_to_user(void __user *to,
355 if (access_ok(VERIFY_WRITE, to, n))
356 return __copy_tofrom_user(to, (__force void __user *)from, n);
357 if ((unsigned long)to < TASK_SIZE) {
358 over = (unsigned long)to + n - TASK_SIZE;
359 return __copy_tofrom_user(to, (__force void __user *)from,
367 #define __copy_in_user(to, from, size) \
368 __copy_tofrom_user((to), (from), (size))
370 extern unsigned long copy_from_user(void *to, const void __user *from,
372 extern unsigned long copy_to_user(void __user *to, const void *from,
374 extern unsigned long copy_in_user(void __user *to, const void __user *from,
379 static inline unsigned long __copy_from_user_inatomic(void *to,
387 __get_user_size(*(u8 *)to, from, 1, ret);
390 __get_user_size(*(u16 *)to, from, 2, ret);
393 __get_user_size(*(u32 *)to, from, 4, ret);
396 __get_user_size(*(u64 *)to, from, 8, ret);
402 return __copy_tofrom_user((__force void __user *)to, from, n);
405 static inline unsigned long __copy_to_user_inatomic(void __user *to,
413 __put_user_size(*(u8 *)from, (u8 __user *)to, 1, ret);
416 __put_user_size(*(u16 *)from, (u16 __user *)to, 2, ret);
419 __put_user_size(*(u32 *)from, (u32 __user *)to, 4, ret);
422 __put_user_size(*(u64 *)from, (u64 __user *)to, 8, ret);
428 return __copy_tofrom_user(to, (__force const void __user *)from, n);
431 static inline unsigned long __copy_from_user(void *to,
435 return __copy_from_user_inatomic(to, from, size);
438 static inline unsigned long __copy_to_user(void __user *to,
442 return __copy_to_user_inatomic(to, from, size);
482 * The `top' parameter to __strnlen_user is to make sure that