Lines Matching refs:from

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);
190 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
225 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \
228 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
229 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)
230 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \ argument
231 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \
235 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user() argument
241 __constant_copy_from_user_asm(res, to, from, tmp, 1, 0, 0); in __constant_copy_from_user()
244 __constant_copy_from_user_asm(res, to, from, tmp, 2, 0, 0); in __constant_copy_from_user()
247 __constant_copy_from_user_asm(res, to, from, tmp, 2, 1, 0); in __constant_copy_from_user()
250 __constant_copy_from_user_asm(res, to, from, tmp, 4, 0, 0); in __constant_copy_from_user()
253 __constant_copy_from_user_asm(res, to, from, tmp, 4, 1, 0); in __constant_copy_from_user()
256 __constant_copy_from_user_asm(res, to, from, tmp, 4, 2, 0); in __constant_copy_from_user()
259 __constant_copy_from_user_asm(res, to, from, tmp, 4, 2, 1); in __constant_copy_from_user()
262 __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 0); in __constant_copy_from_user()
265 __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 1); in __constant_copy_from_user()
268 __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 2); in __constant_copy_from_user()
271 __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 4); in __constant_copy_from_user()
275 return __generic_copy_from_user(to, from, n); in __constant_copy_from_user()
281 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \ argument
312 : "+d" (res), "+a" (to), "+a" (from), "=&d" (tmp) \
316 __constant_copy_to_user(void __user *to, const void *from, unsigned long n) in __constant_copy_to_user() argument
322 __put_user_asm(MOVES, res, *(u8 *)from, (u8 __user *)to, in __constant_copy_to_user()
326 __put_user_asm(MOVES, res, *(u16 *)from, (u16 __user *)to, in __constant_copy_to_user()
330 __constant_copy_to_user_asm(res, to, from, tmp, 3, w, b,); in __constant_copy_to_user()
333 __put_user_asm(MOVES, res, *(u32 *)from, (u32 __user *)to, 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()