Lines Matching refs:to

25 raw_copy_from_user(void *to, const void __user *from, unsigned long n);
28 raw_copy_to_user(void __user *to, const void *from, unsigned long n);
36 _copy_from_user_key(void *to, const void __user *from, unsigned long n, unsigned long key);
39 copy_from_user_key(void *to, const void __user *from, unsigned long n, unsigned long key)
41 if (check_copy_size(to, n, false))
42 n = _copy_from_user_key(to, from, n, key);
47 _copy_to_user_key(void __user *to, const void *from, unsigned long n, unsigned long key);
50 copy_to_user_key(void __user *to, const void *from, unsigned long n, unsigned long key)
53 n = _copy_to_user_key(to, from, n, key);
81 #define __put_user_asm(to, from, size) \
96 : [rc] "=&d" (__rc), [_to] "+Q" (*(to)) \
137 #define __get_user_asm(to, from, size) \
152 : [rc] "=&d" (__rc), "=Q" (*(to)) \
154 [spec] "d" (__oac_spec.val), [_to] "a" (to), \
279 unsigned long __must_check __clear_user(void __user *to, unsigned long size);
281 static inline unsigned long __must_check clear_user(void __user *to, unsigned long n)
284 return __clear_user(to, n);
291 #define __put_kernel_asm(val, to, insn) \
301 : [rc] "=d" (__rc), [_to] "+Q" (*(to)) \
569 * @ptr: User space address of value to compare to @old and exchange with
570 * @new. Must be aligned to sizeof(*@ptr).
571 * @uval: Address where the old value of *@ptr is written to.
572 * @old: Old value. Compared to the content pointed to by @ptr in order to
574 * written to *@uval.
575 * @new: New value to place at *@ptr.
576 * @key: Access key to use for checking storage key protection.
581 * The caller must compare *@uval and @old to determine if values have been
582 * exchanged. In case of an exception *@uval is set to zero.
585 * -EFAULT: an exception happened when trying to access *@ptr