Lines Matching refs:to

192 unsigned long __generic_copy_from_user(void *to, const void __user *from, unsigned long n);
193 unsigned long __generic_copy_to_user(void __user *to, const void *from, unsigned long n);
200 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
235 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \
238 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
239 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)
240 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \ argument
241 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \
245 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user() argument
251 __constant_copy_from_user_asm(res, to, from, tmp, 1, 0, 0); in __constant_copy_from_user()
254 __constant_copy_from_user_asm(res, to, from, tmp, 2, 0, 0); in __constant_copy_from_user()
257 __constant_copy_from_user_asm(res, to, from, tmp, 2, 1, 0); in __constant_copy_from_user()
260 __constant_copy_from_user_asm(res, to, from, tmp, 4, 0, 0); in __constant_copy_from_user()
263 __constant_copy_from_user_asm(res, to, from, tmp, 4, 1, 0); in __constant_copy_from_user()
266 __constant_copy_from_user_asm(res, to, from, tmp, 4, 2, 0); in __constant_copy_from_user()
269 __constant_copy_from_user_asm(res, to, from, tmp, 4, 2, 1); in __constant_copy_from_user()
272 __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 0); in __constant_copy_from_user()
275 __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 1); in __constant_copy_from_user()
278 __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 2); in __constant_copy_from_user()
281 __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 4); in __constant_copy_from_user()
285 return __generic_copy_from_user(to, from, n); in __constant_copy_from_user()
291 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \ argument
322 : "+d" (res), "+a" (to), "+a" (from), "=&d" (tmp) \
326 __constant_copy_to_user(void __user *to, const void *from, unsigned long n) in __constant_copy_to_user() argument
332 __put_user_asm(MOVES, res, *(u8 *)from, (u8 __user *)to, in __constant_copy_to_user()
336 __put_user_asm(MOVES, res, *(u16 *)from, (u16 __user *)to, in __constant_copy_to_user()
340 __constant_copy_to_user_asm(res, to, from, tmp, 3, w, b,); in __constant_copy_to_user()
343 __put_user_asm(MOVES, res, *(u32 *)from, (u32 __user *)to, in __constant_copy_to_user()
347 __constant_copy_to_user_asm(res, to, from, tmp, 5, l, b,); in __constant_copy_to_user()
350 __constant_copy_to_user_asm(res, to, from, tmp, 6, l, w,); in __constant_copy_to_user()
353 __constant_copy_to_user_asm(res, to, from, tmp, 7, l, w, b); in __constant_copy_to_user()
356 __constant_copy_to_user_asm(res, to, from, tmp, 8, l, l,); in __constant_copy_to_user()
359 __constant_copy_to_user_asm(res, to, from, tmp, 9, l, l, b); in __constant_copy_to_user()
362 __constant_copy_to_user_asm(res, to, from, tmp, 10, l, l, w); in __constant_copy_to_user()
365 __constant_copy_to_user_asm(res, to, from, tmp, 12, l, l, l); in __constant_copy_to_user()
369 return __generic_copy_to_user(to, from, n); in __constant_copy_to_user()
376 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument
379 return __constant_copy_from_user(to, from, n); in raw_copy_from_user()
380 return __generic_copy_from_user(to, from, n); in raw_copy_from_user()
384 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument
387 return __constant_copy_to_user(to, from, n); in raw_copy_to_user()
388 return __generic_copy_to_user(to, from, n); in raw_copy_to_user()
456 unsigned long __clear_user(void __user *to, unsigned long n);