Lines Matching refs:from
10 unsigned long _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() argument
14 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user()
15 instrument_copy_from_user(to, from, n); in _copy_from_user()
16 res = raw_copy_from_user(to, from, n); in _copy_from_user()
26 unsigned long _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() argument
32 instrument_copy_to_user(to, from, n); in _copy_to_user()
33 n = raw_copy_to_user(to, from, n); in _copy_to_user()
54 int check_zeroed_user(const void __user *from, size_t size) in check_zeroed_user() argument
57 uintptr_t align = (uintptr_t) from % sizeof(unsigned long); in check_zeroed_user()
62 from -= align; in check_zeroed_user()
65 if (!user_read_access_begin(from, size)) in check_zeroed_user()
68 unsafe_get_user(val, (unsigned long __user *) from, err_fault); in check_zeroed_user()
76 from += sizeof(unsigned long); in check_zeroed_user()
79 unsafe_get_user(val, (unsigned long __user *) from, err_fault); in check_zeroed_user()