Lines Matching refs:from

59 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n)  in __copy_from_user_inatomic()  argument
63 instrument_copy_from_user_before(to, from, n); in __copy_from_user_inatomic()
65 res = raw_copy_from_user(to, from, n); in __copy_from_user_inatomic()
66 instrument_copy_from_user_after(to, from, n, res); in __copy_from_user_inatomic()
71 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() argument
76 instrument_copy_from_user_before(to, from, n); in __copy_from_user()
80 res = raw_copy_from_user(to, from, n); in __copy_from_user()
81 instrument_copy_from_user_after(to, from, n, res); in __copy_from_user()
99 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() argument
103 instrument_copy_to_user(to, from, n); in __copy_to_user_inatomic()
104 check_object_size(from, n, true); in __copy_to_user_inatomic()
105 return raw_copy_to_user(to, from, n); in __copy_to_user_inatomic()
109 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() argument
114 instrument_copy_to_user(to, from, n); in __copy_to_user()
115 check_object_size(from, n, true); in __copy_to_user()
116 return raw_copy_to_user(to, from, n); in __copy_to_user()
121 _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() argument
125 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user()
126 instrument_copy_from_user_before(to, from, n); in _copy_from_user()
127 res = raw_copy_from_user(to, from, n); in _copy_from_user()
128 instrument_copy_from_user_after(to, from, n, res); in _copy_from_user()
141 _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() argument
147 instrument_copy_to_user(to, from, n); in _copy_to_user()
148 n = raw_copy_to_user(to, from, n); in _copy_to_user()
158 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user() argument
161 n = _copy_from_user(to, from, n); in copy_from_user()
166 copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user() argument
168 if (check_copy_size(from, n, true)) in copy_to_user()
169 n = _copy_to_user(to, from, n); in copy_to_user()
268 __copy_from_user_inatomic_nocache(void *to, const void __user *from, in __copy_from_user_inatomic_nocache() argument
271 return __copy_from_user_inatomic(to, from, n); in __copy_from_user_inatomic_nocache()
276 extern __must_check int check_zeroed_user(const void __user *from, size_t size);