Lines Matching refs:from
90 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) in __copy_from_user_inatomic() argument
94 instrument_copy_from_user_before(to, from, n); in __copy_from_user_inatomic()
96 res = raw_copy_from_user(to, from, n); in __copy_from_user_inatomic()
97 instrument_copy_from_user_after(to, from, n, res); in __copy_from_user_inatomic()
102 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() argument
107 instrument_copy_from_user_before(to, from, n); in __copy_from_user()
111 res = raw_copy_from_user(to, from, n); in __copy_from_user()
112 instrument_copy_from_user_after(to, from, n, res); in __copy_from_user()
130 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() argument
134 instrument_copy_to_user(to, from, n); in __copy_to_user_inatomic()
135 check_object_size(from, n, true); in __copy_to_user_inatomic()
136 return raw_copy_to_user(to, from, n); in __copy_to_user_inatomic()
140 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() argument
145 instrument_copy_to_user(to, from, n); in __copy_to_user()
146 check_object_size(from, n, true); in __copy_to_user()
147 return raw_copy_to_user(to, from, n); in __copy_to_user()
159 _inline_copy_from_user(void *to, const void __user *from, unsigned long n) in _inline_copy_from_user() argument
166 from = mask_user_address(from); in _inline_copy_from_user()
168 if (!access_ok(from, n)) in _inline_copy_from_user()
177 instrument_copy_from_user_before(to, from, n); in _inline_copy_from_user()
178 res = raw_copy_from_user(to, from, n); in _inline_copy_from_user()
179 instrument_copy_from_user_after(to, from, n, res); in _inline_copy_from_user()
190 _inline_copy_to_user(void __user *to, const void *from, unsigned long n) in _inline_copy_to_user() argument
196 instrument_copy_to_user(to, from, n); in _inline_copy_to_user()
197 n = raw_copy_to_user(to, from, n); in _inline_copy_to_user()
205 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user() argument
210 return _inline_copy_from_user(to, from, n); in copy_from_user()
212 return _copy_from_user(to, from, n); in copy_from_user()
217 copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user() argument
219 if (!check_copy_size(from, n, true)) in copy_to_user()
223 return _inline_copy_to_user(to, from, n); in copy_to_user()
225 return _copy_to_user(to, from, n); in copy_to_user()
324 __copy_from_user_inatomic_nocache(void *to, const void __user *from, in __copy_from_user_inatomic_nocache() argument
327 return __copy_from_user_inatomic(to, from, n); in __copy_from_user_inatomic_nocache()
332 extern __must_check int check_zeroed_user(const void __user *from, size_t size);