Lines Matching refs:to
96 unsigned long clear_user(void __user *to, unsigned long n)
98 if (access_ok(VERIFY_WRITE, to, n))
99 return __clear_user(to, n);
152 unsigned long copy_in_user(void __user *to, const void __user *from, unsigned len)
154 if (access_ok(VERIFY_WRITE, to, len) && access_ok(VERIFY_READ, from, len)) {
155 return copy_user_generic((__force void *)to, (__force void *)from, len);
162 * Try to copy last bytes and clear the rest if needed.
164 * it is not necessary to optimize tail handling.
167 copy_user_handle_tail(char *to, char *from, unsigned len, unsigned zerorest)
175 if (__put_user_nocheck(c, to++, sizeof(char)))
180 if (__put_user_nocheck(c, to++, sizeof(char)))