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

Lines Matching refs:to

21  * address of an instruction that is allowed to fault, and the second is
23 * modified, so it is entirely up to the continuation code to figure out
24 * what to do.
28 * we don't even have to jump over them. Further, they do not intrude
182 unsigned long __generic_copy_from_user(void *to, const void __user *from, unsigned long n);
183 unsigned long __generic_copy_to_user(void __user *to, const void *from, unsigned long n);
185 #define __constant_copy_from_user_asm(res, to, from, tmp, n, s1, s2, s3)\
215 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \
219 __constant_copy_from_user(void *to, const void __user *from, unsigned long n)
225 __get_user_asm(res, *(u8 *)to, (u8 __user *)from, u8, b, d, 1);
228 __get_user_asm(res, *(u16 *)to, (u16 __user *)from, u16, w, d, 2);
231 __constant_copy_from_user_asm(res, to, from, tmp, 3, w, b,);
234 __get_user_asm(res, *(u32 *)to, (u32 __user *)from, u32, l, r, 4);
237 __constant_copy_from_user_asm(res, to, from, tmp, 5, l, b,);
240 __constant_copy_from_user_asm(res, to, from, tmp, 6, l, w,);
243 __constant_copy_from_user_asm(res, to, from, tmp, 7, l, w, b);
246 __constant_copy_from_user_asm(res, to, from, tmp, 8, l, l,);
249 __constant_copy_from_user_asm(res, to, from, tmp, 9, l, l, b);
252 __constant_copy_from_user_asm(res, to, from, tmp, 10, l, l, w);
255 __constant_copy_from_user_asm(res, to, from, tmp, 12, l, l, l);
258 /* we limit the inlined version to 3 moves */
259 return __generic_copy_from_user(to, from, n);
265 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \
296 : "+d" (res), "+a" (to), "+a" (from), "=&d" (tmp) \
300 __constant_copy_to_user(void __user *to, const void *from, unsigned long n)
306 __put_user_asm(res, *(u8 *)from, (u8 __user *)to, b, d, 1);
309 __put_user_asm(res, *(u16 *)from, (u16 __user *)to, w, d, 2);
312 __constant_copy_to_user_asm(res, to, from, tmp, 3, w, b,);
315 __put_user_asm(res, *(u32 *)from, (u32 __user *)to, l, r, 4);
318 __constant_copy_to_user_asm(res, to, from, tmp, 5, l, b,);
321 __constant_copy_to_user_asm(res, to, from, tmp, 6, l, w,);
324 __constant_copy_to_user_asm(res, to, from, tmp, 7, l, w, b);
327 __constant_copy_to_user_asm(res, to, from, tmp, 8, l, l,);
330 __constant_copy_to_user_asm(res, to, from, tmp, 9, l, l, b);
333 __constant_copy_to_user_asm(res, to, from, tmp, 10, l, l, w);
336 __constant_copy_to_user_asm(res, to, from, tmp, 12, l, l, l);
339 /* limit the inlined version to 3 moves */
340 return __generic_copy_to_user(to, from, n);
346 #define __copy_from_user(to, from, n) \
348 __constant_copy_from_user(to, from, n) : \
349 __generic_copy_from_user(to, from, n))
351 #define __copy_to_user(to, from, n) \
353 __constant_copy_to_user(to, from, n) : \
354 __generic_copy_to_user(to, from, n))
359 #define copy_from_user(to, from, n) __copy_from_user(to, from, n)
360 #define copy_to_user(to, from, n) __copy_to_user(to, from, n)
364 unsigned long __clear_user(void __user *to, unsigned long n);