Lines Matching refs:size
16 __get_user_fn(size_t size, const void __user *from, void *to)
18 BUILD_BUG_ON(!__builtin_constant_p(size));
20 switch (size) {
42 __put_user_fn(size_t size, void __user *to, void *from)
44 BUILD_BUG_ON(!__builtin_constant_p(size));
46 switch (size) {
124 #define access_ok(addr, size) __access_ok((unsigned long)(addr),(size))
131 static inline int __access_ok(unsigned long addr, unsigned long size)
139 * use the right size if we just have the right pointer type.
174 static inline int __put_user_fn(size_t size, void __user *ptr, void *x)
176 return unlikely(raw_copy_to_user(ptr, x, size)) ? -EFAULT : 0;
235 static inline int __get_user_fn(size_t size, const void __user *ptr, void *x)
237 return unlikely(raw_copy_from_user(x, ptr, size)) ? -EFAULT : 0;
270 * Return the size of a string (including the ending 0)