Home
last modified time | relevance | path

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

/linux-6.6.21/arch/ia64/include/asm/
Duaccess.h49 static inline int __access_ok(const void __user *p, unsigned long size) in __access_ok() function
57 #define __access_ok __access_ok macro
142 if (!check || __access_ok(__gu_ptr, size)) \
170 if (!check || __access_ok(__pu_ptr, __pu_size)) \
212 if (__access_ok(to, __cu_len)) \
228 if (__access_ok(__sfu_from, 0)) \
244 if (__access_ok(__su_str, 0)) \
/linux-6.6.21/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.6.21/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.6.21/arch/x86/include/asm/
Duaccess_64.h85 static inline bool __access_ok(const void __user *ptr, unsigned long size) in __access_ok() function
94 #define __access_ok __access_ok macro
190 if (__access_ok(to, n)) in clear_user()
/linux-6.6.21/arch/sparc/include/asm/
Duaccess_32.h53 if (__access_ok(addr, size)) { \
113 if (__access_ok(addr, size)) { \
212 if (n && __access_ok(addr, n)) in clear_user()
/linux-6.6.21/arch/alpha/include/asm/
Duaccess.h68 if (__access_ok(__gu_addr, size)) { \
163 if (__access_ok(__pu_addr, size)) { \
282 if (__access_ok(to, len)) in clear_user()
/linux-6.6.21/arch/x86/lib/
Dusercopy.c36 if (!__access_ok(from, n)) in copy_from_user_nmi()
/linux-6.6.21/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.6.21/arch/x86/kernel/
Dstacktrace.c93 if (!__access_ok(fp, sizeof(*frame))) in copy_stack_frame()
/linux-6.6.21/mm/
Dmaccess.c118 if (!__access_ok(src, size)) in copy_from_user_nofault()
/linux-6.6.21/arch/sparc/kernel/
Dsignal_64.c55 (!__access_ok(ucp, sizeof(*ucp)))) in sparc64_set_context()
/linux-6.6.21/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.6.21/arch/x86/events/
Dcore.c2784 return __access_ok(fp, size); in valid_user_frame()