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()
365 #define __copy_from_user(to, from, n) \ argument
366 __copy_tofrom_user((__force void __user *)(to), \
368 #define __copy_from_user_inatomic(to, from, n) \ argument
369 __copy_from_user((to), (from), (n))
371 static inline long copy_from_user(void *to, in copy_from_user() argument
376 return __copy_from_user(to, from, n); in copy_from_user()
380 #define __copy_to_user(to, from, n) \ argument
381 __copy_tofrom_user((void __user *)(to), \
383 #define __copy_to_user_inatomic(to, from, n) __copy_to_user((to), (from), (n)) argument
385 static inline long copy_to_user(void __user *to, 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()
397 extern int __strncpy_user(char *to, const char __user *from, int len);