Home
last modified time | relevance | path

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

/linux-6.12.1/arch/um/include/asm/
Duaccess.h28 static inline int __access_ok(const void __user *ptr, unsigned long size);
31 #define __access_ok __access_ok macro
39 static inline int __access_ok(const void __user *ptr, unsigned long size) in __access_ok() function
/linux-6.12.1/include/asm-generic/
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.12.1/arch/x86/include/asm/
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.12.1/arch/sparc/include/asm/
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.12.1/arch/alpha/include/asm/
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.12.1/arch/x86/lib/
Dusercopy.c36 if (!__access_ok(from, n)) in copy_from_user_nmi()
/linux-6.12.1/arch/x86/kernel/
Dstacktrace.c93 if (!__access_ok(fp, sizeof(*frame))) in copy_stack_frame()
/linux-6.12.1/arch/arm64/include/asm/
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.12.1/mm/
Dmaccess.c118 if (!__access_ok(src, size)) in copy_from_user_nofault()
/linux-6.12.1/arch/sparc/kernel/
Dsignal_64.c55 (!__access_ok(ucp, sizeof(*ucp)))) in sparc64_set_context()
/linux-6.12.1/sound/pci/ac97/
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.12.1/arch/x86/events/
Dcore.c2790 return __access_ok(fp, size); in valid_user_frame()