Lines Matching refs:from
11 unsigned long _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() argument
15 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user()
22 instrument_copy_from_user(to, from, n); in _copy_from_user()
23 res = raw_copy_from_user(to, from, n); in _copy_from_user()
33 unsigned long _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() argument
39 instrument_copy_to_user(to, from, n); in _copy_to_user()
40 n = raw_copy_to_user(to, from, n); in _copy_to_user()
61 int check_zeroed_user(const void __user *from, size_t size) in check_zeroed_user() argument
64 uintptr_t align = (uintptr_t) from % sizeof(unsigned long); in check_zeroed_user()
69 from -= align; in check_zeroed_user()
72 if (!user_read_access_begin(from, size)) in check_zeroed_user()
75 unsafe_get_user(val, (unsigned long __user *) from, err_fault); in check_zeroed_user()
83 from += sizeof(unsigned long); in check_zeroed_user()
86 unsafe_get_user(val, (unsigned long __user *) from, err_fault); in check_zeroed_user()