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(to, from, n); in _copy_from_user()
23 res = raw_copy_from_user(to, from, n); in _copy_from_user()
26 memset(to + (n - res), 0, res); in _copy_from_user()
33 unsigned long _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() argument
37 return n; in _copy_to_user()
38 if (likely(access_ok(to, n))) { in _copy_to_user()
39 instrument_copy_to_user(to, from, n); in _copy_to_user()
40 n = raw_copy_to_user(to, from, n); in _copy_to_user()
42 return n; in _copy_to_user()