Lines Matching refs:to
21 * This gets kind of ugly. We want to return _two_ values in "get_user()"
22 * and yet we don't want to do any pointers, because that is too much
29 * accesses to the same area of user memory).
71 * because we do not write to any memory gcc knows about, so there
126 * Upto caller to do enable_kernel_vmx() before calling!
301 extern unsigned long __copy_tofrom_user(void __user *to,
306 raw_copy_in_user(void __user *to, const void __user *from, unsigned long n)
310 allow_read_write_user(to, from, n);
311 ret = __copy_tofrom_user(to, from, n);
312 prevent_read_write_user(to, from, n);
317 static inline unsigned long raw_copy_from_user(void *to,
323 ret = __copy_tofrom_user((__force void __user *)to, from, n);
329 raw_copy_to_user(void __user *to, const void *from, unsigned long n)
333 allow_write_to_user(to, n);
334 ret = __copy_tofrom_user(to, (__force const void __user *)from, n);
335 prevent_write_to_user(to, n);
362 copy_mc_generic(void *to, const void *from, unsigned long size);
365 copy_mc_to_kernel(void *to, const void *from, unsigned long size)
367 return copy_mc_generic(to, from, size);
372 copy_mc_to_user(void __user *to, const void *from, unsigned long n)
375 if (access_ok(to, n)) {
376 allow_write_to_user(to, n);
377 n = copy_mc_generic((void __force *)to, from, n);
378 prevent_write_to_user(to, n);