Lines Matching refs:from
202 unsigned long __generic_copy_from_user(void *to, const void __user *from, unsigned long n);
203 unsigned long __generic_copy_to_user(void __user *to, const void *from, unsigned long n);
205 #define __constant_copy_from_user_asm(res, to, from, tmp, n, s1, s2, s3)\ argument
235 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \
239 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user() argument
245 __get_user_asm(res, *(u8 *)to, (u8 __user *)from, u8, b, d, 1); in __constant_copy_from_user()
248 __get_user_asm(res, *(u16 *)to, (u16 __user *)from, u16, w, r, 2); in __constant_copy_from_user()
251 __constant_copy_from_user_asm(res, to, from, tmp, 3, w, b,); in __constant_copy_from_user()
254 __get_user_asm(res, *(u32 *)to, (u32 __user *)from, u32, l, r, 4); in __constant_copy_from_user()
257 __constant_copy_from_user_asm(res, to, from, tmp, 5, l, b,); in __constant_copy_from_user()
260 __constant_copy_from_user_asm(res, to, from, tmp, 6, l, w,); in __constant_copy_from_user()
263 __constant_copy_from_user_asm(res, to, from, tmp, 7, l, w, b); in __constant_copy_from_user()
266 __constant_copy_from_user_asm(res, to, from, tmp, 8, l, l,); in __constant_copy_from_user()
269 __constant_copy_from_user_asm(res, to, from, tmp, 9, l, l, b); in __constant_copy_from_user()
272 __constant_copy_from_user_asm(res, to, from, tmp, 10, l, l, w); in __constant_copy_from_user()
275 __constant_copy_from_user_asm(res, to, from, tmp, 12, l, l, l); in __constant_copy_from_user()
279 return __generic_copy_from_user(to, from, n); in __constant_copy_from_user()
285 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \ argument
316 : "+d" (res), "+a" (to), "+a" (from), "=&d" (tmp) \
320 __constant_copy_to_user(void __user *to, const void *from, unsigned long n) in __constant_copy_to_user() argument
326 __put_user_asm(res, *(u8 *)from, (u8 __user *)to, b, d, 1); in __constant_copy_to_user()
329 __put_user_asm(res, *(u16 *)from, (u16 __user *)to, w, r, 2); in __constant_copy_to_user()
332 __constant_copy_to_user_asm(res, to, from, tmp, 3, w, b,); in __constant_copy_to_user()
335 __put_user_asm(res, *(u32 *)from, (u32 __user *)to, l, r, 4); in __constant_copy_to_user()
338 __constant_copy_to_user_asm(res, to, from, tmp, 5, l, b,); in __constant_copy_to_user()
341 __constant_copy_to_user_asm(res, to, from, tmp, 6, l, w,); in __constant_copy_to_user()
344 __constant_copy_to_user_asm(res, to, from, tmp, 7, l, w, b); in __constant_copy_to_user()
347 __constant_copy_to_user_asm(res, to, from, tmp, 8, l, l,); in __constant_copy_to_user()
350 __constant_copy_to_user_asm(res, to, from, tmp, 9, l, l, b); in __constant_copy_to_user()
353 __constant_copy_to_user_asm(res, to, from, tmp, 10, l, l, w); in __constant_copy_to_user()
356 __constant_copy_to_user_asm(res, to, from, tmp, 12, l, l, l); in __constant_copy_to_user()
360 return __generic_copy_to_user(to, from, n); in __constant_copy_to_user()
366 #define __copy_from_user(to, from, n) \ argument
368 __constant_copy_from_user(to, from, n) : \
369 __generic_copy_from_user(to, from, n))
371 #define __copy_to_user(to, from, n) \ argument
373 __constant_copy_to_user(to, from, n) : \
374 __generic_copy_to_user(to, from, n))
379 #define copy_from_user(to, from, n) __copy_from_user(to, from, n) argument
380 #define copy_to_user(to, from, n) __copy_to_user(to, from, n) argument