Lines Matching refs:from
99 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) in __copy_from_user_inatomic() argument
101 instrument_copy_from_user(to, from, n); in __copy_from_user_inatomic()
103 return raw_copy_from_user(to, from, n); in __copy_from_user_inatomic()
107 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() argument
112 instrument_copy_from_user(to, from, n); in __copy_from_user()
114 return raw_copy_from_user(to, from, n); in __copy_from_user()
131 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() argument
135 instrument_copy_to_user(to, from, n); in __copy_to_user_inatomic()
136 check_object_size(from, n, true); in __copy_to_user_inatomic()
137 return raw_copy_to_user(to, from, n); in __copy_to_user_inatomic()
141 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() argument
146 instrument_copy_to_user(to, from, n); in __copy_to_user()
147 check_object_size(from, n, true); in __copy_to_user()
148 return raw_copy_to_user(to, from, n); in __copy_to_user()
153 _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() argument
157 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user()
158 instrument_copy_from_user(to, from, n); in _copy_from_user()
159 res = raw_copy_from_user(to, from, n); in _copy_from_user()
172 _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() argument
178 instrument_copy_to_user(to, from, n); in _copy_to_user()
179 n = raw_copy_to_user(to, from, n); in _copy_to_user()
189 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user() argument
192 n = _copy_from_user(to, from, n); in copy_from_user()
197 copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user() argument
199 if (likely(check_copy_size(from, n, true))) in copy_to_user()
200 n = _copy_to_user(to, from, n); in copy_to_user()
205 copy_in_user(void __user *to, const void __user *from, unsigned long n) in copy_in_user() argument
208 if (access_ok(to, n) && access_ok(from, n)) in copy_in_user()
209 n = raw_copy_in_user(to, from, n); in copy_in_user()
287 __copy_from_user_inatomic_nocache(void *to, const void __user *from, in __copy_from_user_inatomic_nocache() argument
290 return __copy_from_user_inatomic(to, from, n); in __copy_from_user_inatomic_nocache()
295 extern __must_check int check_zeroed_user(const void __user *from, size_t size);