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

Lines Matching refs:to

6  * This file is subject to the terms and conditions of the GNU General Public
60 * address of an instruction that is allowed to fault, and the second is
62 * modified, so it is entirely up to the continuation code to figure out
63 * what to do.
67 * we don't even have to jump over them. Further, they do not intrude
114 extern unsigned long __copy_tofrom_user(void __user *to,
118 static inline unsigned long __must_check __clear_user(void __user *to,
121 /* normal memset with two words to __ex_table */
132 : "0"(n), "r"(to)
137 static inline unsigned long __must_check clear_user(void __user *to,
141 if (unlikely(!access_ok(VERIFY_WRITE, to, n)))
144 return __clear_user(to, n);
170 * @x: Variable to store result.
175 * This macro copies a single simple variable from user space to kernel
179 * @ptr must have pointer-to-simple-variable type, and the result of
180 * dereferencing @ptr must be assignable to @x without a cast.
183 * On error, the variable @x is set to zero.
282 * @x: Value to copy to user space.
287 * This macro copies a single simple value from kernel space to user
291 * @ptr must have pointer-to-simple-variable type, and @x must be assignable
292 * to the result of dereferencing @ptr.
358 #define __copy_from_user(to, from, n) \
359 __copy_tofrom_user((__force void __user *)(to), \
361 #define __copy_from_user_inatomic(to, from, n) \
362 __copy_from_user((to), (from), (n))
364 static inline long copy_from_user(void *to,
369 return __copy_from_user(to, from, n);
373 #define __copy_to_user(to, from, n) \
374 __copy_tofrom_user((void __user *)(to), \
376 #define __copy_to_user_inatomic(to, from, n) __copy_to_user((to), (from), (n))
378 static inline long copy_to_user(void __user *to,
382 if (access_ok(VERIFY_WRITE, to, n))
383 return __copy_to_user(to, from, n);
390 extern int __strncpy_user(char *to, const char __user *from, int len);