Lines Matching refs:n
11 unsigned long _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() argument
13 unsigned long res = n; in _copy_from_user()
15 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user()
22 instrument_copy_from_user_before(to, from, n); in _copy_from_user()
23 res = raw_copy_from_user(to, from, n); in _copy_from_user()
24 instrument_copy_from_user_after(to, from, n, res); in _copy_from_user()
27 memset(to + (n - res), 0, res); in _copy_from_user()
34 unsigned long _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() argument
38 return n; in _copy_to_user()
39 if (likely(access_ok(to, n))) { in _copy_to_user()
40 instrument_copy_to_user(to, from, n); in _copy_to_user()
41 n = raw_copy_to_user(to, from, n); in _copy_to_user()
43 return n; in _copy_to_user()