/arch/mips/loongson64/ |
D | cop2-ex.c | 71 if (!access_ok(addr, 16)) in loongson_cu2_call() 86 if (!access_ok(addr, 16)) in loongson_cu2_call() 110 if (!access_ok(addr, 16)) in loongson_cu2_call() 127 if (!access_ok(addr, 16)) in loongson_cu2_call() 160 if (!access_ok(addr, 2)) in loongson_cu2_call() 171 if (!access_ok(addr, 4)) in loongson_cu2_call() 182 if (!access_ok(addr, 8)) in loongson_cu2_call() 195 if (!access_ok(addr, 4)) in loongson_cu2_call() 211 if (!access_ok(addr, 8)) in loongson_cu2_call() 239 if (!access_ok(addr, 2)) in loongson_cu2_call() [all …]
|
/arch/mips/kernel/ |
D | unaligned.c | 167 if (user && !access_ok(addr, 4)) in emulate_load_store_insn() 176 if (user && !access_ok(addr, 2)) in emulate_load_store_insn() 197 if (!access_ok(addr, 2)) in emulate_load_store_insn() 206 if (!access_ok(addr, 4)) in emulate_load_store_insn() 215 if (!access_ok(addr, 2)) in emulate_load_store_insn() 224 if (!access_ok(addr, 2)) in emulate_load_store_insn() 233 if (!access_ok(addr, 4)) in emulate_load_store_insn() 248 if (user && !access_ok(addr, 2)) in emulate_load_store_insn() 263 if (user && !access_ok(addr, 4)) in emulate_load_store_insn() 278 if (user && !access_ok(addr, 2)) in emulate_load_store_insn() [all …]
|
D | signal32.c | 49 if (!access_ok(act, sizeof(*act))) 64 if (!access_ok(oact, sizeof(*oact)))
|
/arch/xtensa/include/asm/ |
D | uaccess.h | 44 #define access_ok(addr, size) __access_ok((unsigned long)(addr), (size)) macro 88 if (access_ok(__pu_addr, size)) \ 184 if (access_ok(__gu_addr, size)) \ 285 if (access_ok(addr, size)) in clear_user() 299 if (access_ok(src, 1)) in strncpy_from_user() 314 if (!access_ok(str, 1)) in strnlen_user()
|
D | futex.h | 75 if (!access_ok(uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser() 120 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/arch/nios2/include/asm/ |
D | uaccess.h | 39 #define access_ok(addr, len) \ macro 72 if (!access_ok(to, n)) in clear_user() 150 if (access_ok( __gu_ptr, sizeof(*__gu_ptr))) \ 175 if (access_ok(__pu_ptr, sizeof(*__pu_ptr))) { \
|
/arch/sh/include/asm/ |
D | uaccess.h | 24 #define access_ok(addr, size) \ macro 72 if (likely(access_ok(__gu_addr, (size)))) \ 93 if (likely(access_ok(__pu_addr, size))) \ 134 if (__cl_size && access_ok(__cl_addr, __cl_size)) \
|
D | checksum_32.h | 53 if (!access_ok(src, len)) in csum_and_copy_from_user() 198 if (!access_ok(dst, len)) in csum_and_copy_to_user()
|
/arch/microblaze/include/asm/ |
D | uaccess.h | 48 #define access_ok(addr, size) __access_ok((unsigned long)addr, size) macro 80 if (unlikely(!access_ok(to, n))) in clear_user() 127 access_ok(__gu_ptr, sizeof(*__gu_ptr)) ? \ 222 if (access_ok(__pu_addr, size)) { \
|
D | futex.h | 37 if (!access_ok(uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser() 73 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/arch/mips/include/asm/ |
D | uaccess.h | 87 #define access_ok(addr, size) \ macro 112 access_ok(__p, sizeof(*__p)) ? __put_user((x), __p) : -EFAULT; \ 138 access_ok(__p, sizeof(*__p)) ? __get_user((x), __p) : \ 525 if (__cl_size && access_ok(__cl_addr, __cl_size)) \ 555 if (!access_ok(__from, __len)) in strncpy_from_user() 591 if (!access_ok(s, 1)) in strnlen_user()
|
/arch/arm/include/asm/ |
D | futex.h | 53 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic() 107 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic() 137 if (!access_ok(uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser()
|
/arch/openrisc/include/asm/ |
D | futex.h | 38 if (!access_ok(uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser() 74 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
D | uaccess.h | 58 #define access_ok(addr, size) \ macro 105 if (access_ok(__pu_addr, size)) \ 177 if (access_ok(__gu_addr, size)) \ 266 if (likely(access_ok(addr, size))) in clear_user()
|
/arch/nds32/include/asm/ |
D | uaccess.h | 51 #define access_ok(addr, size) \ macro 98 if (access_ok(__p, sizeof(*__p))) { \ 199 if (access_ok(__p, sizeof(*__p))) { \ 288 if (access_ok(to, n)) in clear_user()
|
D | futex.h | 43 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic() 69 if (!access_ok(uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser()
|
/arch/hexagon/include/asm/ |
D | futex.h | 39 if (!access_ok(uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser() 79 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/arch/powerpc/include/asm/ |
D | uaccess.h | 23 #define access_ok(addr, size) \ macro 75 access_ok(_pu_addr, sizeof(*(ptr))) ? \ 280 access_ok(_gu_addr, sizeof(*(ptr))) ? \ 340 return likely(access_ok(addr, size)) ? __clear_user(addr, size) : size; in clear_user() 361 if (access_ok(to, n)) { in copy_mc_to_user() 379 if (unlikely(!access_ok(ptr, len))) in user_access_begin() 395 if (unlikely(!access_ok(ptr, len))) in user_read_access_begin() 409 if (unlikely(!access_ok(ptr, len))) in user_write_access_begin()
|
/arch/alpha/include/asm/ |
D | futex.h | 34 if (!access_ok(uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser() 70 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/arch/csky/include/asm/ |
D | futex.h | 46 if (!access_ok(uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser() 89 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/arch/arc/include/asm/ |
D | futex.h | 78 if (!access_ok(uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser() 127 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/arch/riscv/include/asm/ |
D | futex.h | 49 if (!access_ok(uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser() 91 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/arch/ia64/include/asm/ |
D | futex.h | 53 if (!access_ok(uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser() 88 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/arch/x86/kernel/cpu/sgx/ |
D | virt.c | 295 if (WARN_ON_ONCE(!access_ok(secs, PAGE_SIZE))) in sgx_virt_ecreate() 324 if (WARN_ON_ONCE(!access_ok(sigstruct, sizeof(struct sgx_sigstruct)) || in __sgx_virt_einit() 325 !access_ok(token, SGX_EINITTOKEN_SIZE) || in __sgx_virt_einit() 326 !access_ok(secs, PAGE_SIZE))) in __sgx_virt_einit()
|
/arch/arm64/include/asm/ |
D | futex.h | 51 if (!access_ok(_uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser() 94 if (!access_ok(_uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|