Lines Matching refs:to

33 static unsigned long raw_copy_from_user_key(void *to, const void __user *from,  in raw_copy_from_user_key()  argument
66 : [size] "+&a" (size), [from] "+&a" (from), [to] "+&a" (to), [rem] "=&a" (rem) in raw_copy_from_user_key()
72 unsigned long raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument
74 return raw_copy_from_user_key(to, from, n, 0); in raw_copy_from_user()
78 unsigned long _copy_from_user_key(void *to, const void __user *from, in _copy_from_user_key() argument
85 instrument_copy_from_user_before(to, from, n); in _copy_from_user_key()
86 res = raw_copy_from_user_key(to, from, n, key); in _copy_from_user_key()
87 instrument_copy_from_user_after(to, from, n, res); in _copy_from_user_key()
90 memset(to + (n - res), 0, res); in _copy_from_user_key()
95 static unsigned long raw_copy_to_user_key(void __user *to, const void *from, in raw_copy_to_user_key() argument
128 : [size] "+&a" (size), [to] "+&a" (to), [from] "+&a" (from), [rem] "=&a" (rem) in raw_copy_to_user_key()
134 unsigned long raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument
136 return raw_copy_to_user_key(to, from, n, 0); in raw_copy_to_user()
140 unsigned long _copy_to_user_key(void __user *to, const void *from, in _copy_to_user_key() argument
146 instrument_copy_to_user(to, from, n); in _copy_to_user_key()
147 return raw_copy_to_user_key(to, from, n, key); in _copy_to_user_key()
151 unsigned long __clear_user(void __user *to, unsigned long size) in __clear_user() argument
180 : [size] "+&a" (size), [to] "+&a" (to), [rem] "=&a" (rem) in __clear_user()