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

Lines Matching defs:to

25  * address of an instruction that is allowed to fault, and the second is
27 * modified, so it is entirely up to the continuation code to figure out
28 * what to do.
32 * we don't even have to jump over them. Further, they do not intrude
45 * code generates any references to them, that's a bug.
90 * which read from user space (*get_*) need to take care not to leak
91 * kernel data even if the calling code is buggy and fails to check
95 * main code path. When we only write to user space, there is no
195 * The "xxx_error" versions set the third argument to EFAULT if an
386 extern unsigned long __must_check __copy_from_user(void *to, const void __user *from, unsigned long n);
387 extern unsigned long __must_check __copy_to_user(void __user *to, const void *from, unsigned long n);
390 #define __copy_from_user(to,from,n) (memcpy(to, (void __force *)from, n), 0)
391 #define __copy_to_user(to,from,n) (memcpy((void __force *)to, from, n), 0)
395 extern unsigned long __must_check __strncpy_from_user(char *to, const char __user *from, unsigned long count);
398 static inline unsigned long __must_check copy_from_user(void *to, const void __user *from, unsigned long n)
401 n = __copy_from_user(to, from, n);
403 memzero(to, n);
407 static inline unsigned long __must_check copy_to_user(void __user *to, const void *from, unsigned long n)
409 if (access_ok(VERIFY_WRITE, to, n))
410 n = __copy_to_user(to, from, n);
417 static inline unsigned long __must_check clear_user(void __user *to, unsigned long n)
419 if (access_ok(VERIFY_WRITE, to, n))
420 n = __clear_user(to, n);