Home
last modified time | relevance | path

Searched refs:access_ok (Results 1 – 25 of 110) sorted by relevance

12345

/arch/mips/loongson64/
Dcop2-ex.c71 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/
Dunaligned.c167 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 …]
Dsignal32.c49 if (!access_ok(act, sizeof(*act)))
64 if (!access_ok(oact, sizeof(*oact)))
/arch/xtensa/include/asm/
Duaccess.h44 #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()
Dfutex.h75 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/
Duaccess.h39 #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/
Duaccess.h24 #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)) \
Dchecksum_32.h53 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/
Duaccess.h48 #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)) { \
Dfutex.h37 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/
Duaccess.h87 #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/
Dfutex.h53 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/
Dfutex.h38 if (!access_ok(uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser()
74 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
Duaccess.h58 #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/
Duaccess.h51 #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()
Dfutex.h43 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/
Dfutex.h39 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/
Duaccess.h23 #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/
Dfutex.h34 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/
Dfutex.h46 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/
Dfutex.h78 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/
Dfutex.h49 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/
Dfutex.h53 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/
Dvirt.c295 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/
Dfutex.h51 if (!access_ok(_uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser()
94 if (!access_ok(_uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()

12345