Lines Matching defs:size
17 __get_user_fn(size_t size, const void __user *from, void *to)
19 BUILD_BUG_ON(!__builtin_constant_p(size));
21 switch (size) {
43 __put_user_fn(size_t size, void __user *to, void *from)
45 BUILD_BUG_ON(!__builtin_constant_p(size));
47 switch (size) {
100 * use the right size if we just have the right pointer type.
135 static inline int __put_user_fn(size_t size, void __user *ptr, void *x)
137 return unlikely(raw_copy_to_user(ptr, x, size)) ? -EFAULT : 0;
196 static inline int __get_user_fn(size_t size, const void __user *ptr, void *x)
198 return unlikely(raw_copy_from_user(x, ptr, size)) ? -EFAULT : 0;