• Home
  • Raw
  • Download

Lines Matching refs:size

56 static inline bool __chk_range_not_ok(unsigned long addr, unsigned long size, unsigned long limit)  in __chk_range_not_ok()  argument
58 if (__builtin_constant_p(size)) in __chk_range_not_ok()
59 return addr > limit - size; in __chk_range_not_ok()
61 addr += size; in __chk_range_not_ok()
62 if (addr < size) in __chk_range_not_ok()
68 #define __range_not_ok(addr, size, limit) \ argument
71 __chk_range_not_ok((unsigned long __force)(addr), size, limit); \
74 static inline int __access_ok(const void __user * addr, unsigned long size) in __access_ok() argument
79 static inline int access_ok(int type, const void __user * addr, unsigned long size) in access_ok() argument
130 #define __put_user_nocheck(data, addr, size) ({ \ argument
132 switch (size) { \
142 #define __put_user_asm(x, size, addr, ret) \ argument
145 "1:\t" "st"#size "a %1, [%2] %%asi\n\t" \
164 #define __get_user_nocheck(data, addr, size, type) ({ \ argument
167 switch (size) { \
181 #define __get_user_asm(x, size, addr, ret) \ argument
184 "1:\t" "ld"#size "a [%2] %%asi, %1\n\t" \
206 unsigned long size);
208 copy_from_user(void *to, const void __user *from, unsigned long size) in copy_from_user() argument
210 return ___copy_from_user(to, from, size); in copy_from_user()
216 unsigned long size);
218 copy_to_user(void __user *to, const void *from, unsigned long size) in copy_to_user() argument
220 return ___copy_to_user(to, from, size); in copy_to_user()
226 unsigned long size);
228 copy_in_user(void __user *to, void __user *from, unsigned long size) in copy_in_user() argument
230 return ___copy_in_user(to, from, size); in copy_in_user()