Home
last modified time | relevance | path

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

/openbmc/linux/arch/ia64/include/asm/
H A 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)) \
/openbmc/linux/arch/um/include/asm/
H A 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
/openbmc/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))
/openbmc/linux/arch/x86/include/asm/
H A 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()
/openbmc/linux/arch/sparc/include/asm/
H A Duaccess_32.h53 if (__access_ok(addr, size)) { \
113 if (__access_ok(addr, size)) { \
212 if (n && __access_ok(addr, n)) in clear_user()
/openbmc/linux/arch/alpha/include/asm/
H A Duaccess.h68 if (__access_ok(__gu_addr, size)) { \
163 if (__access_ok(__pu_addr, size)) { \
282 if (__access_ok(to, len)) in clear_user()
/openbmc/linux/arch/x86/lib/
H A Dusercopy.c36 if (!__access_ok(from, n)) in copy_from_user_nmi()
/openbmc/linux/arch/x86/kernel/
H A Dstacktrace.c93 if (!__access_ok(fp, sizeof(*frame))) in copy_stack_frame()
/openbmc/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()
/openbmc/linux/mm/
H A Dmaccess.c118 if (!__access_ok(src, size)) in copy_from_user_nofault()
/openbmc/linux/arch/sparc/kernel/
H A Dsignal_64.c55 (!__access_ok(ucp, sizeof(*ucp)))) in sparc64_set_context()
/openbmc/linux/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()
/openbmc/linux/arch/x86/events/
H A Dcore.c2785 return __access_ok(fp, size); in valid_user_frame()