Lines Matching refs:n
168 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument
173 unsigned long orig_n = n; in raw_copy_from_user()
175 if (n == 0) in raw_copy_from_user()
199 : "+r" (n), in raw_copy_from_user()
209 return n; in raw_copy_from_user()
248 : "ir"(n) in raw_copy_from_user()
385 : "=r" (res), "+r"(to), "+r"(from), "+r"(n), "=r"(val), in raw_copy_from_user()
395 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument
400 unsigned long orig_n = n; in raw_copy_to_user()
402 if (n == 0) in raw_copy_to_user()
426 : "+r" (n), in raw_copy_to_user()
435 return n; in raw_copy_to_user()
470 : "ir"(n) in raw_copy_to_user()
607 : "=r" (res), "+r"(to), "+r"(from), "+r"(n), "=r"(val), in raw_copy_to_user()
616 static inline unsigned long __arc_clear_user(void __user *to, unsigned long n) in __arc_clear_user() argument
618 long res = n; in __arc_clear_user()
691 static inline long __arc_strnlen_user(const char __user *s, long n) in __arc_strnlen_user() argument
715 : "0"(s), "1"(n) in __arc_strnlen_user()
726 #define __clear_user(d, n) __arc_clear_user(d, n) argument
727 #define __strncpy_from_user(d, s, n) __arc_strncpy_from_user(d, s, n) argument
728 #define __strnlen_user(s, n) __arc_strnlen_user(s, n) argument
731 unsigned long n);
734 extern long arc_strnlen_user_noinline(const char __user *src, long n);
736 #define __clear_user(d, n) arc_clear_user_noinline(d, n) argument
737 #define __strncpy_from_user(d, s, n) arc_strncpy_from_user_noinline(d, s, n) argument
738 #define __strnlen_user(s, n) arc_strnlen_user_noinline(s, n) argument