Lines Matching refs:n
127 unsigned long n) in __clear_user() argument
139 : "=r"(n), "=r"(to) \ in __clear_user()
140 : "0"(n), "1"(to) in __clear_user()
142 return n; in __clear_user()
146 unsigned long n) in clear_user() argument
149 if (unlikely(!access_ok(VERIFY_WRITE, to, n))) in clear_user()
150 return n; in clear_user()
152 return __clear_user(to, n); in clear_user()
365 #define __copy_from_user(to, from, n) \ argument
367 (void __user *)(from), (n))
368 #define __copy_from_user_inatomic(to, from, n) \ argument
369 __copy_from_user((to), (from), (n))
372 const void __user *from, unsigned long n) in copy_from_user() argument
375 if (access_ok(VERIFY_READ, from, n)) in copy_from_user()
376 return __copy_from_user(to, from, n); in copy_from_user()
377 return n; in copy_from_user()
380 #define __copy_to_user(to, from, n) \ argument
382 (__force const void __user *)(from), (n))
383 #define __copy_to_user_inatomic(to, from, n) __copy_to_user((to), (from), (n)) argument
386 const void *from, unsigned long n) in copy_to_user() argument
389 if (access_ok(VERIFY_WRITE, to, n)) in copy_to_user()
390 return __copy_to_user(to, from, n); in copy_to_user()
391 return n; in copy_to_user()
416 static inline long strnlen_user(const char __user *src, long n) in strnlen_user() argument
420 return __strnlen_user(src, n); in strnlen_user()