Lines Matching refs:to
185 unsigned long __generic_copy_from_user(void *to, const void __user *from, unsigned long n);
186 unsigned long __generic_copy_to_user(void __user *to, const void *from, unsigned long n);
193 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
228 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \
231 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
232 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)
233 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \ argument
234 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \
238 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user() argument
244 __constant_copy_from_user_asm(res, to, from, tmp, 1, 0, 0); in __constant_copy_from_user()
247 __constant_copy_from_user_asm(res, to, from, tmp, 2, 0, 0); in __constant_copy_from_user()
250 __constant_copy_from_user_asm(res, to, from, tmp, 2, 1, 0); in __constant_copy_from_user()
253 __constant_copy_from_user_asm(res, to, from, tmp, 4, 0, 0); in __constant_copy_from_user()
256 __constant_copy_from_user_asm(res, to, from, tmp, 4, 1, 0); in __constant_copy_from_user()
259 __constant_copy_from_user_asm(res, to, from, tmp, 4, 2, 0); in __constant_copy_from_user()
262 __constant_copy_from_user_asm(res, to, from, tmp, 4, 2, 1); in __constant_copy_from_user()
265 __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 0); in __constant_copy_from_user()
268 __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 1); in __constant_copy_from_user()
271 __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 2); in __constant_copy_from_user()
274 __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 4); in __constant_copy_from_user()
278 return __generic_copy_from_user(to, from, n); in __constant_copy_from_user()
284 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \ argument
315 : "+d" (res), "+a" (to), "+a" (from), "=&d" (tmp) \
319 __constant_copy_to_user(void __user *to, const void *from, unsigned long n) in __constant_copy_to_user() argument
325 __put_user_asm(res, *(u8 *)from, (u8 __user *)to, b, d, 1); in __constant_copy_to_user()
328 __put_user_asm(res, *(u16 *)from, (u16 __user *)to, w, r, 2); in __constant_copy_to_user()
331 __constant_copy_to_user_asm(res, to, from, tmp, 3, w, b,); in __constant_copy_to_user()
334 __put_user_asm(res, *(u32 *)from, (u32 __user *)to, l, r, 4); in __constant_copy_to_user()
337 __constant_copy_to_user_asm(res, to, from, tmp, 5, l, b,); in __constant_copy_to_user()
340 __constant_copy_to_user_asm(res, to, from, tmp, 6, l, w,); in __constant_copy_to_user()
343 __constant_copy_to_user_asm(res, to, from, tmp, 7, l, w, b); in __constant_copy_to_user()
346 __constant_copy_to_user_asm(res, to, from, tmp, 8, l, l,); in __constant_copy_to_user()
349 __constant_copy_to_user_asm(res, to, from, tmp, 9, l, l, b); in __constant_copy_to_user()
352 __constant_copy_to_user_asm(res, to, from, tmp, 10, l, l, w); in __constant_copy_to_user()
355 __constant_copy_to_user_asm(res, to, from, tmp, 12, l, l, l); in __constant_copy_to_user()
359 return __generic_copy_to_user(to, from, n); in __constant_copy_to_user()
366 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument
369 return __constant_copy_from_user(to, from, n); in raw_copy_from_user()
370 return __generic_copy_from_user(to, from, n); in raw_copy_from_user()
374 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument
377 return __constant_copy_to_user(to, from, n); in raw_copy_to_user()
378 return __generic_copy_to_user(to, from, n); in raw_copy_to_user()
389 unsigned long __clear_user(void __user *to, unsigned long n);