Lines Matching refs:n
80 const void __user * from, unsigned long n) in __copy_from_user() argument
82 if (__builtin_constant_p(n)) { in __copy_from_user()
83 switch(n) { in __copy_from_user()
103 memcpy(to, (const void __force *)from, n); in __copy_from_user()
110 const void *from, unsigned long n) in __copy_to_user() argument
112 if (__builtin_constant_p(n)) { in __copy_to_user()
113 switch(n) { in __copy_to_user()
133 memcpy((void __force *)to, from, n); in __copy_to_user()
258 const void __user * from, unsigned long n) in copy_from_user() argument
261 if (access_ok(VERIFY_READ, from, n)) in copy_from_user()
262 return __copy_from_user(to, from, n); in copy_from_user()
264 return n; in copy_from_user()
268 const void *from, unsigned long n) in copy_to_user() argument
271 if (access_ok(VERIFY_WRITE, to, n)) in copy_to_user()
272 return __copy_to_user(to, from, n); in copy_to_user()
274 return n; in copy_to_user()
306 #define __strnlen_user(s, n) (strnlen((s), (n)) + 1) argument
314 static inline long strnlen_user(const char __user *src, long n) in strnlen_user() argument
318 return __strnlen_user(src, n); in strnlen_user()
331 __clear_user(void __user *to, unsigned long n) in __clear_user() argument
333 memset((void __force *)to, 0, n); in __clear_user()
339 clear_user(void __user *to, unsigned long n) in clear_user() argument
342 if (!access_ok(VERIFY_WRITE, to, n)) in clear_user()
343 return n; in clear_user()
345 return __clear_user(to, n); in clear_user()