Lines Matching refs:to
122 extern unsigned long __copy_tofrom_user(void __user *to,
126 static inline unsigned long __must_check __clear_user(void __user *to, in __clear_user() argument
139 : "=r"(n), "=r"(to) \ in __clear_user()
140 : "0"(n), "1"(to) in __clear_user()
145 static inline unsigned long __must_check clear_user(void __user *to, in clear_user() argument
149 if (unlikely(!access_ok(VERIFY_WRITE, to, n))) in clear_user()
152 return __clear_user(to, n); in clear_user()
367 #define __copy_from_user(to, from, n) \ argument
368 __copy_tofrom_user((__force void __user *)(to), \
370 #define __copy_from_user_inatomic(to, from, n) \ argument
371 __copy_from_user((to), (from), (n))
373 static inline long copy_from_user(void *to, in copy_from_user() argument
378 return __copy_from_user(to, from, n); in copy_from_user()
382 #define __copy_to_user(to, from, n) \ argument
383 __copy_tofrom_user((void __user *)(to), \
385 #define __copy_to_user_inatomic(to, from, n) __copy_to_user((to), (from), (n)) argument
387 static inline long copy_to_user(void __user *to, in copy_to_user() argument
391 if (access_ok(VERIFY_WRITE, to, n)) in copy_to_user()
392 return __copy_to_user(to, from, n); in copy_to_user()
399 extern int __strncpy_user(char *to, const char __user *from, int len);