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()
256 const void __user * from, unsigned long n) in copy_from_user() argument
259 if (access_ok(VERIFY_READ, from, n)) in copy_from_user()
260 return __copy_from_user(to, from, n); in copy_from_user()
262 return n; in copy_from_user()
266 const void *from, unsigned long n) in copy_to_user() argument
269 if (access_ok(VERIFY_WRITE, to, n)) in copy_to_user()
270 return __copy_to_user(to, from, n); in copy_to_user()
272 return n; in copy_to_user()
304 #define __strnlen_user(s, n) (strnlen((s), (n)) + 1) argument
312 static inline long strnlen_user(const char __user *src, long n) in strnlen_user() argument
316 return __strnlen_user(src, n); in strnlen_user()
329 __clear_user(void __user *to, unsigned long n) in __clear_user() argument
331 memset((void __force *)to, 0, n); in __clear_user()
337 clear_user(void __user *to, unsigned long n) in clear_user() argument
340 if (!access_ok(VERIFY_WRITE, to, n)) in clear_user()
341 return n; in clear_user()
343 return __clear_user(to, n); in clear_user()