Home
last modified time | relevance | path

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

/linux-6.15/arch/um/include/asm/
H A Duaccess.h29 static inline int __access_ok(const void __user *ptr, unsigned long size);
32 #define __access_ok __access_ok macro
40 static inline int __access_ok(const void __user *ptr, unsigned long size) in __access_ok() function
/linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/arch/x86/lib/
H A Dusercopy.c36 if (!__access_ok(from, n)) in copy_from_user_nmi()
/linux-6.15/arch/x86/kernel/
H A Dstacktrace.c93 if (!__access_ok(fp, sizeof(*frame))) in copy_stack_frame()
/linux-6.15/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-6.15/mm/
H A Dmaccess.c125 if (!__access_ok(src, size)) in copy_from_user_nofault()
/linux-6.15/arch/riscv/include/asm/
H A Duaccess.h42 #define access_ok(addr, size) likely(__access_ok(untagged_addr(addr), size))
/linux-6.15/arch/sparc/kernel/
H A Dsignal_64.c55 (!__access_ok(ucp, sizeof(*ucp)))) in sparc64_set_context()
/linux-6.15/sound/pci/ac97/
H A Dac97_codec.c2107 goto __access_ok; in snd_ac97_mixer()
2115 goto __access_ok; in snd_ac97_mixer()
2141 __access_ok: in snd_ac97_mixer()
/linux-6.15/arch/x86/events/
H A Dcore.c2794 return __access_ok(fp, size); in valid_user_frame()