Home
last modified time | relevance | path

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

/linux/arch/um/include/asm/
A 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
/linux/arch/ia64/include/asm/
A 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)) \
/linux/arch/sparc/include/asm/
A 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()
A Duaccess_64.h64 static inline int __access_ok(const void __user * addr, unsigned long size) in __access_ok() function
/linux/arch/alpha/include/asm/
A 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()
/linux/arch/csky/include/asm/
A Duaccess.h9 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok() function
15 #define __access_ok __access_ok macro
/linux/include/asm-generic/
A Duaccess.h129 #define access_ok(addr, size) __access_ok((unsigned long)(addr),(size))
135 #ifndef __access_ok
136 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok() function
/linux/arch/nios2/include/asm/
A Duaccess.h35 #define __access_ok(addr, len) \ macro
40 likely(__access_ok((unsigned long)(addr), (unsigned long)(len)))
/linux/arch/sh/include/asm/
A Duaccess.h19 #define __access_ok(addr, size) ({ \ macro
26 __access_ok((unsigned long __force)(addr), (size)))
/linux/arch/xtensa/include/asm/
A 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))
/linux/arch/hexagon/include/asm/
A Duaccess.h35 #define __access_ok(addr, size) \ macro
/linux/arch/s390/include/asm/
A Duaccess.h28 #define __access_ok(addr, size) \ macro
34 #define access_ok(addr, size) __access_ok(addr, size)
/linux/arch/riscv/include/asm/
A 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
/linux/arch/mips/include/asm/
A Duaccess.h79 static inline int __access_ok(const void __user *p, unsigned long size) in __access_ok() function
88 likely(__access_ok((addr), (size)))
/linux/arch/powerpc/include/asm/
A Duaccess.h18 static inline bool __access_ok(unsigned long addr, unsigned long size) in __access_ok() function
25 __access_ok((unsigned long)(addr), (size)))
/linux/arch/arc/include/asm/
A Duaccess.h52 #define __access_ok(addr, sz) (unlikely(__kernel_ok) || \ macro
/linux/arch/sparc/kernel/
A Dsignal_32.c68 if ((((unsigned long) fp) & 15) || !__access_ok((unsigned long)fp, fplen)) in invalid_frame_pointer()
A Dsignal_64.c55 (!__access_ok(ucp, sizeof(*ucp)))) in sparc64_set_context()
/linux/sound/pci/ac97/
A Dac97_codec.c2108 goto __access_ok; in snd_ac97_mixer()
2116 goto __access_ok; in snd_ac97_mixer()
2142 __access_ok: in snd_ac97_mixer()
/linux/arch/powerpc/lib/
A Dsstep.c115 if (__access_ok(ea, nb)) in address_ok()
117 if (__access_ok(ea, 1)) in address_ok()

Completed in 32 milliseconds