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

Lines Matching refs: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
186 unsigned long __generic_copy_from_user(void *to, const void __user *from, unsigned long n);
187 unsigned long __generic_copy_to_user(void __user *to, const void *from, unsigned long n);
189 #define __constant_copy_from_user_asm(res, to, from, tmp, n, s1, s2, s3)\
219 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \
223 __constant_copy_from_user(void *to, const void __user *from, unsigned long n)
229 __get_user_asm(res, *(u8 *)to, (u8 __user *)from, u8, b, d, 1);
232 __get_user_asm(res, *(u16 *)to, (u16 __user *)from, u16, w, d, 2);
235 __constant_copy_from_user_asm(res, to, from, tmp, 3, w, b,);
238 __get_user_asm(res, *(u32 *)to, (u32 __user *)from, u32, l, r, 4);
241 __constant_copy_from_user_asm(res, to, from, tmp, 5, l, b,);
244 __constant_copy_from_user_asm(res, to, from, tmp, 6, l, w,);
247 __constant_copy_from_user_asm(res, to, from, tmp, 7, l, w, b);
250 __constant_copy_from_user_asm(res, to, from, tmp, 8, l, l,);
253 __constant_copy_from_user_asm(res, to, from, tmp, 9, l, l, b);
256 __constant_copy_from_user_asm(res, to, from, tmp, 10, l, l, w);
259 __constant_copy_from_user_asm(res, to, from, tmp, 12, l, l, l);
262 /* we limit the inlined version to 3 moves */
263 return __generic_copy_from_user(to, from, n);
269 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \
300 : "+d" (res), "+a" (to), "+a" (from), "=&d" (tmp) \
304 __constant_copy_to_user(void __user *to, const void *from, unsigned long n)
310 __put_user_asm(res, *(u8 *)from, (u8 __user *)to, b, d, 1);
313 __put_user_asm(res, *(u16 *)from, (u16 __user *)to, w, d, 2);
316 __constant_copy_to_user_asm(res, to, from, tmp, 3, w, b,);
319 __put_user_asm(res, *(u32 *)from, (u32 __user *)to, l, r, 4);
322 __constant_copy_to_user_asm(res, to, from, tmp, 5, l, b,);
325 __constant_copy_to_user_asm(res, to, from, tmp, 6, l, w,);
328 __constant_copy_to_user_asm(res, to, from, tmp, 7, l, w, b);
331 __constant_copy_to_user_asm(res, to, from, tmp, 8, l, l,);
334 __constant_copy_to_user_asm(res, to, from, tmp, 9, l, l, b);
337 __constant_copy_to_user_asm(res, to, from, tmp, 10, l, l, w);
340 __constant_copy_to_user_asm(res, to, from, tmp, 12, l, l, l);
343 /* limit the inlined version to 3 moves */
344 return __generic_copy_to_user(to, from, n);
350 #define __copy_from_user(to, from, n) \
352 __constant_copy_from_user(to, from, n) : \
353 __generic_copy_from_user(to, from, n))
355 #define __copy_to_user(to, from, n) \
357 __constant_copy_to_user(to, from, n) : \
358 __generic_copy_to_user(to, from, n))
363 #define copy_from_user(to, from, n) __copy_from_user(to, from, n)
364 #define copy_to_user(to, from, n) __copy_to_user(to, from, n)
368 unsigned long __clear_user(void __user *to, unsigned long n);