Lines Matching refs:from

81 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n)  in __copy_from_user_inatomic()  argument
85 instrument_copy_from_user_before(to, from, n); in __copy_from_user_inatomic()
87 res = raw_copy_from_user(to, from, n); in __copy_from_user_inatomic()
88 instrument_copy_from_user_after(to, from, n, res); in __copy_from_user_inatomic()
93 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() argument
98 instrument_copy_from_user_before(to, from, n); in __copy_from_user()
102 res = raw_copy_from_user(to, from, n); in __copy_from_user()
103 instrument_copy_from_user_after(to, from, n, res); in __copy_from_user()
121 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() argument
125 instrument_copy_to_user(to, from, n); in __copy_to_user_inatomic()
126 check_object_size(from, n, true); in __copy_to_user_inatomic()
127 return raw_copy_to_user(to, from, n); in __copy_to_user_inatomic()
131 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() argument
136 instrument_copy_to_user(to, from, n); in __copy_to_user()
137 check_object_size(from, n, true); in __copy_to_user()
138 return raw_copy_to_user(to, from, n); in __copy_to_user()
143 _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() argument
147 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user()
148 instrument_copy_from_user_before(to, from, n); in _copy_from_user()
149 res = raw_copy_from_user(to, from, n); in _copy_from_user()
150 instrument_copy_from_user_after(to, from, n, res); in _copy_from_user()
163 _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() argument
169 instrument_copy_to_user(to, from, n); in _copy_to_user()
170 n = raw_copy_to_user(to, from, n); in _copy_to_user()
180 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user() argument
183 n = _copy_from_user(to, from, n); in copy_from_user()
188 copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user() argument
190 if (check_copy_size(from, n, true)) in copy_to_user()
191 n = _copy_to_user(to, from, n); in copy_to_user()
290 __copy_from_user_inatomic_nocache(void *to, const void __user *from, in __copy_from_user_inatomic_nocache() argument
293 return __copy_from_user_inatomic(to, from, n); in __copy_from_user_inatomic_nocache()
298 extern __must_check int check_zeroed_user(const void __user *from, size_t size);