Lines Matching refs:from

319 		const void __user *from, unsigned long size);
324 const void __user *from, unsigned long n) in copy_from_user() argument
328 if (access_ok(VERIFY_READ, from, n)) in copy_from_user()
329 return __copy_tofrom_user((__force void __user *)to, from, n); in copy_from_user()
330 if ((unsigned long)from < TASK_SIZE) { in copy_from_user()
331 over = (unsigned long)from + n - TASK_SIZE; in copy_from_user()
332 return __copy_tofrom_user((__force void __user *)to, from, in copy_from_user()
339 const void *from, unsigned long n) in copy_to_user() argument
344 return __copy_tofrom_user(to, (__force void __user *)from, n); in copy_to_user()
347 return __copy_tofrom_user(to, (__force void __user *)from, in copy_to_user()
355 #define __copy_in_user(to, from, size) \ argument
356 __copy_tofrom_user((to), (from), (size))
358 extern unsigned long copy_from_user(void *to, const void __user *from,
360 extern unsigned long copy_to_user(void __user *to, const void *from,
362 extern unsigned long copy_in_user(void __user *to, const void __user *from,
368 const void __user *from, unsigned long n) in __copy_from_user_inatomic() argument
375 __get_user_size(*(u8 *)to, from, 1, ret); in __copy_from_user_inatomic()
378 __get_user_size(*(u16 *)to, from, 2, ret); in __copy_from_user_inatomic()
381 __get_user_size(*(u32 *)to, from, 4, ret); in __copy_from_user_inatomic()
384 __get_user_size(*(u64 *)to, from, 8, ret); in __copy_from_user_inatomic()
390 return __copy_tofrom_user((__force void __user *)to, from, n); in __copy_from_user_inatomic()
394 const void *from, unsigned long n) in __copy_to_user_inatomic() argument
401 __put_user_size(*(u8 *)from, (u8 __user *)to, 1, ret); in __copy_to_user_inatomic()
404 __put_user_size(*(u16 *)from, (u16 __user *)to, 2, ret); in __copy_to_user_inatomic()
407 __put_user_size(*(u32 *)from, (u32 __user *)to, 4, ret); in __copy_to_user_inatomic()
410 __put_user_size(*(u64 *)from, (u64 __user *)to, 8, ret); in __copy_to_user_inatomic()
416 return __copy_tofrom_user(to, (__force const void __user *)from, n); in __copy_to_user_inatomic()
420 const void __user *from, unsigned long size) in __copy_from_user() argument
423 return __copy_from_user_inatomic(to, from, size); in __copy_from_user()
427 const void *from, unsigned long size) in __copy_to_user() argument
430 return __copy_to_user_inatomic(to, from, size); in __copy_to_user()