Home
last modified time | relevance | path

Searched refs:__access_ok (Results 1 – 17 of 17) sorted by relevance

/arch/um/include/asm/
Duaccess.h27 static inline int __access_ok(unsigned long addr, unsigned long size);
30 #define __access_ok __access_ok macro
38 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok() function
/arch/hexagon/include/asm/
Duaccess.h32 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok() function
38 #define __access_ok __access_ok macro
/arch/ia64/include/asm/
Duaccess.h61 static inline int __access_ok(const void __user *p, unsigned long size) in __access_ok() function
68 #define access_ok(addr, size) __access_ok((addr), (size))
152 if (!check || __access_ok(__gu_ptr, size)) \
180 if (!check || __access_ok(__pu_ptr, __pu_size)) \
222 if (__access_ok(to, __cu_len)) \
238 if (__access_ok(__sfu_from, 0)) \
254 if (__access_ok(__su_str, 0)) \
/arch/sparc/include/asm/
Duaccess_32.h37 #define __access_ok(addr, size) (__user_ok((addr) & get_fs().seg, (size))) macro
38 #define access_ok(addr, size) __access_ok((unsigned long)(addr), size)
76 if (__access_ok(addr, size)) { \
136 if (__access_ok(addr, size)) { \
235 if (n && __access_ok((unsigned long) addr, n)) in clear_user()
Duaccess_64.h64 static inline int __access_ok(const void __user * addr, unsigned long size) in __access_ok() function
/arch/alpha/include/asm/
Duaccess.h35 #define __access_ok(addr, size) ({ \ macro
43 __access_ok(((unsigned long)(addr)), (size)); \
108 if (__access_ok((unsigned long)__gu_addr, size)) { \
203 if (__access_ok((unsigned long)__pu_addr, size)) { \
322 if (__access_ok((unsigned long)to, len)) in clear_user()
/arch/csky/include/asm/
Duaccess.h8 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok() function
14 #define __access_ok __access_ok macro
/arch/nios2/include/asm/
Duaccess.h35 #define __access_ok(addr, len) \ macro
40 likely(__access_ok((unsigned long)(addr), (unsigned long)(len)))
/arch/sh/include/asm/
Duaccess.h19 #define __access_ok(addr, size) ({ \ macro
26 __access_ok((unsigned long __force)(addr), (size)))
/arch/microblaze/include/asm/
Duaccess.h42 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok() function
48 #define access_ok(addr, size) __access_ok((unsigned long)addr, size)
/arch/xtensa/include/asm/
Duaccess.h43 #define __access_ok(addr, size) (__kernel_ok || __user_ok((addr), (size))) macro
44 #define access_ok(addr, size) __access_ok((unsigned long)(addr), (size))
/arch/s390/include/asm/
Duaccess.h28 #define __access_ok(addr, size) \ macro
34 #define access_ok(addr, size) __access_ok(addr, size)
/arch/riscv/include/asm/
Duaccess.h47 likely(__access_ok((unsigned long __force)(addr), (size))); \
54 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok() function
/arch/mips/include/asm/
Duaccess.h79 static inline int __access_ok(const void __user *p, unsigned long size) in __access_ok() function
88 likely(__access_ok((addr), (size)))
/arch/arc/include/asm/
Duaccess.h52 #define __access_ok(addr, sz) (unlikely(__kernel_ok) || \ macro
/arch/powerpc/include/asm/
Duaccess.h18 static inline bool __access_ok(unsigned long addr, unsigned long size) in __access_ok() function
25 __access_ok((unsigned long)(addr), (size)))
/arch/sparc/kernel/
Dsignal_64.c55 (!__access_ok(ucp, sizeof(*ucp)))) in sparc64_set_context()