Home
last modified time | relevance | path

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

/linux/arch/um/include/asm/
H A Duaccess.h24 static inline int __access_ok(const void __user *ptr, unsigned long size);
27 #define __access_ok __access_ok macro
35 static inline int __access_ok(const void __user *ptr, unsigned long size) in __access_ok() function
/linux/include/asm-generic/
H A Daccess_ok.h19 #ifndef __access_ok
31 static inline int __access_ok(const void __user *ptr, unsigned long size) in __access_ok() function
45 #define access_ok(addr, size) likely(__access_ok(addr, size))
/linux/arch/x86/include/asm/
H A Duaccess_64.h98 static inline bool __access_ok(const void __user *ptr, unsigned long size) in __access_ok() function
108 #define __access_ok __access_ok macro
204 if (__access_ok(to, n)) in clear_user()
/linux/arch/sparc/include/asm/
H A Duaccess_32.h53 if (__access_ok(addr, size)) { \
114 if (__access_ok(addr, size)) { \
214 if (n && __access_ok(addr, n)) in clear_user()
/linux/arch/alpha/include/asm/
H A Duaccess.h68 if (__access_ok(__gu_addr, size)) { \
133 if (__access_ok(__pu_addr, size)) { \
202 if (__access_ok(to, len)) in clear_user()
/linux/arch/x86/lib/
H A Dusercopy.c36 if (!__access_ok(from, n)) in copy_from_user_nmi()
/linux/arch/x86/kernel/
H A Dstacktrace.c93 if (!__access_ok(fp, sizeof(*frame))) in copy_stack_frame()
/linux/arch/arm64/include/asm/
H A Duaccess.h29 static inline int __access_ok(const void __user *ptr, unsigned long size);
49 return likely(__access_ok(addr, size)); in access_ok()
/linux/mm/
H A Dmaccess.c124 if (!__access_ok(src, size)) in copy_from_user_nofault()
/linux/arch/riscv/include/asm/
H A Duaccess.h42 #define access_ok(addr, size) likely(__access_ok(untagged_addr(addr), size))
/linux/arch/sparc/kernel/
H A Dsignal_64.c55 (!__access_ok(ucp, sizeof(*ucp)))) in sparc64_set_context()
/linux/sound/pci/ac97/
H A Dac97_codec.c2098 goto __access_ok; in snd_ac97_mixer()
2106 goto __access_ok; in snd_ac97_mixer()
2132 __access_ok: in snd_ac97_mixer()
/linux/arch/x86/events/
H A Dcore.c2881 return __access_ok(fp, size); in valid_user_frame()