Home
last modified time | relevance | path

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

/arch/um/include/asm/
Duaccess.h29 static inline int __access_ok(unsigned long addr, unsigned long size);
32 #define __access_ok __access_ok macro
41 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok() function
/arch/ia64/include/asm/
Duaccess.h63 static inline int __access_ok(const void __user *p, unsigned long size) in __access_ok() function
70 #define access_ok(type, addr, size) __access_ok((addr), (size))
154 if (!check || __access_ok(__gu_ptr, size)) \
182 if (!check || __access_ok(__pu_ptr, __pu_size)) \
224 if (__access_ok(to, __cu_len)) \
240 if (__access_ok(__sfu_from, 0)) \
256 if (__access_ok(__su_str, 0)) \
/arch/sparc/include/asm/
Duaccess_32.h41 #define __access_ok(addr, size) (__user_ok((addr) & get_fs().seg, (size))) macro
43 ({ (void)(type); __access_ok((unsigned long)(addr), size); })
111 if (__access_ok(addr, size)) { \
171 if (__access_ok(addr, size)) { \
275 if (n && __access_ok((unsigned long) addr, n)) in clear_user()
Duaccess_64.h66 static inline int __access_ok(const void __user * addr, unsigned long size) in __access_ok() function
/arch/alpha/include/asm/
Duaccess.h36 #define __access_ok(addr, size) \ macro
42 __access_ok(((unsigned long)(addr)), (size)); \
107 if (__access_ok((unsigned long)__gu_addr, size)) { \
202 if (__access_ok((unsigned long)__pu_addr, size)) { \
321 if (__access_ok((unsigned long)to, len)) in clear_user()
/arch/mn10300/include/asm/
Duaccess.h67 #define __access_ok(addr, size) (__range_ok((addr), (size)) == 0) macro
120 if (likely(__access_ok((unsigned long) __guc_ptr, (size)))) \
182 if (likely(__access_ok(__pu_addr, size))) { \
/arch/unicore32/include/asm/
Duaccess.h24 #define __access_ok(addr, size) (__kernel_ok || __user_ok((addr), (size))) macro
/arch/nios2/include/asm/
Duaccess.h36 #define __access_ok(addr, len) \ macro
41 likely(__access_ok((unsigned long)(addr), (unsigned long)(len)))
/arch/sh/include/asm/
Duaccess.h19 #define __access_ok(addr, size) \ macro
23 __access_ok((unsigned long __force)(addr), (size)))
/arch/c6x/include/asm/
Duaccess.h95 #define __access_ok _access_ok macro
/arch/metag/include/asm/
Duaccess.h28 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok() function
56 #define access_ok(type, addr, size) __access_ok((unsigned long)(addr), \
/arch/frv/include/asm/
Duaccess.h61 #define __access_ok(addr,size) (__range_ok((addr), (size)) == 0) macro
277 if (likely(__access_ok(to, n))) in clear_user()
/arch/score/include/asm/
Duaccess.h49 #define __access_ok(addr, size) \ macro
55 likely(__access_ok((unsigned long)(addr), (size)))
/arch/hexagon/include/asm/
Duaccess.h53 #define __access_ok(addr, size) \ macro
/arch/xtensa/include/asm/
Duaccess.h44 #define __access_ok(addr, size) (__kernel_ok || __user_ok((addr), (size))) macro
45 #define access_ok(type, addr, size) __access_ok((unsigned long)(addr), (size))
/arch/powerpc/include/asm/
Duaccess.h45 #define __access_ok(addr, size, segment) \ macro
50 #define __access_ok(addr, size, segment) \ macro
58 __access_ok((__force unsigned long)(addr), (size), get_fs()))
/arch/s390/include/asm/
Duaccess.h56 #define __access_ok(addr, size) \ macro
62 #define access_ok(type, addr, size) __access_ok(addr, size)
/arch/cris/include/asm/
Duaccess.h50 #define __access_ok(addr, size) (__kernel_ok || __user_ok((addr), (size))) macro
51 #define access_ok(type, addr, size) __access_ok((unsigned long)(addr), (size))
/arch/mips/include/asm/
Duaccess.h131 static inline int __access_ok(const void __user *p, unsigned long size) in __access_ok() function
138 likely(__access_ok((addr), (size)))
/arch/arc/include/asm/
Duaccess.h55 #define __access_ok(addr, sz) (unlikely(__kernel_ok) || \ macro
/arch/sparc/kernel/
Dsignal_32.c70 if ((((unsigned long) fp) & 15) || !__access_ok((unsigned long)fp, fplen)) in invalid_frame_pointer()
Dsignal_64.c59 (!__access_ok(ucp, sizeof(*ucp)))) in sparc64_set_context()
/arch/powerpc/lib/
Dsstep.c111 if (__access_ok(ea, nb, USER_DS)) in address_ok()
113 if (__access_ok(ea, 1, USER_DS)) in address_ok()