Lines Matching refs:to
54 __copy_to_user_memcpy(void __user *to, const void *from, unsigned long n)
59 memcpy((void *)to, from, n);
73 while (!pin_page_for_write(to, &pte, &ptl)) {
76 if (__put_user(0, (char __user *)to))
82 tocopy = (~(unsigned long)to & ~PAGE_MASK) + 1;
86 memcpy((void *)to, from, tocopy);
87 to += tocopy;
101 __copy_to_user(void __user *to, const void *from, unsigned long n)
104 * This test is stubbed out of the main function above to keep
106 * register dump on the stack just to reload them right away.
111 return __copy_to_user_std(to, from, n);
112 return __copy_to_user_memcpy(to, from, n);