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_before(to, from, n); in _copy_from_user()
23 res = raw_copy_from_user(to, from, n); in _copy_from_user()
24 instrument_copy_from_user_after(to, from, n, res); in _copy_from_user()
34 unsigned long _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() argument
40 instrument_copy_to_user(to, from, n); in _copy_to_user()
41 n = raw_copy_to_user(to, from, n); in _copy_to_user()
62 int check_zeroed_user(const void __user *from, size_t size) in check_zeroed_user() argument
65 uintptr_t align = (uintptr_t) from % sizeof(unsigned long); in check_zeroed_user()
70 from -= align; in check_zeroed_user()
73 if (!user_read_access_begin(from, size)) in check_zeroed_user()
76 unsafe_get_user(val, (unsigned long __user *) from, err_fault); in check_zeroed_user()
84 from += sizeof(unsigned long); in check_zeroed_user()
87 unsafe_get_user(val, (unsigned long __user *) from, err_fault); in check_zeroed_user()