Lines Matching refs:to
166 #define __copy_from_user(to, from, n) copy_from_user(to, from, n) argument
167 #define __copy_to_user(to, from, n) copy_to_user(to, from, n) argument
171 #define copy_to_user_ret(to, from, n, retval) ({ if (copy_to_user(to, from, n))\ argument
174 #define copy_from_user_ret(to, from, n, retval) ({ if (copy_from_user(to, from, n))\ argument
178 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user() argument
181 memcpy(to, (const void __force *)from, n); in copy_from_user()
188 copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user() argument
190 if (access_ok(VERIFY_WRITE, to, n)) in copy_to_user()
191 memcpy((void __force *)to, from, n); in copy_to_user()
243 __clear_user(void __user *to, unsigned long n) in __clear_user() argument
245 if (!access_ok(VERIFY_WRITE, to, n)) in __clear_user()
247 memset((void __force *)to, 0, n); in __clear_user()
251 #define clear_user(to, n) __clear_user(to, n) argument