Home
last modified time | relevance | path

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

1234567

/linux/arch/mips/kernel/
H A Dunaligned.c171 if (user && !access_ok(addr, 4)) in emulate_load_store_insn()
180 if (user && !access_ok(addr, 2)) in emulate_load_store_insn()
189 if (user && !access_ok(addr, 2)) in emulate_load_store_insn()
209 if (user && !access_ok(addr, 4)) in emulate_load_store_insn()
218 if (user && !access_ok(addr, 2)) in emulate_load_store_insn()
239 if (!access_ok(addr, 2)) in emulate_load_store_insn()
248 if (!access_ok(addr, 4)) in emulate_load_store_insn()
257 if (!access_ok(addr, 2)) in emulate_load_store_insn()
266 if (!access_ok(addr, 2)) in emulate_load_store_insn()
275 if (!access_ok(addr, 4)) in emulate_load_store_insn()
[all …]
H A Dsignal_o32.c122 if (!access_ok(frame, sizeof (*frame))) in setup_frame_32()
164 if (!access_ok(frame, sizeof(*frame))) in sys32_rt_sigreturn()
201 if (!access_ok(frame, sizeof (*frame))) in setup_rt_frame_32()
266 if (!access_ok(frame, sizeof(*frame))) in sys32_sigreturn()
H A Dsignal32.c50 if (!access_ok(act, sizeof(*act)))
65 if (!access_ok(oact, sizeof(*oact)))
/linux/arch/mips/loongson64/
H A 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 …]
/linux/arch/xtensa/include/asm/
H A Duaccess.h64 if (access_ok(__pu_addr, size)) \
160 if (access_ok(__gu_addr, size)) \
261 if (access_ok(addr, size)) in clear_user()
275 if (access_ok(src, 1)) in strncpy_from_user()
290 if (!access_ok(str, 1)) in strnlen_user()
/linux/drivers/video/fbdev/mmp/
H A Dcore.c163 mutex_init(&path->access_ok); in mmp_register_path()
197 mutex_init(&path->overlays[i].access_ok); in mmp_register_path()
228 mutex_destroy(&path->overlays[i].access_ok); in mmp_unregister_path()
230 mutex_destroy(&path->access_ok); in mmp_unregister_path()
/linux/arch/mips/include/asm/
H A Duaccess.h71 access_ok(__p, sizeof(*__p)) ? __put_user((x), __p) : -EFAULT; \
97 access_ok(__p, sizeof(*__p)) ? __get_user((x), __p) : \
482 if (__cl_size && access_ok(__cl_addr, __cl_size)) \
512 if (!access_ok(__from, __len)) in strncpy_from_user()
548 if (!access_ok(s, 1)) in strnlen_user()
/linux/drivers/video/fbdev/mmp/hw/
H A Dmmp_ctrl.c136 mutex_lock(&overlay->access_ok); in overlay_set_win()
162 mutex_unlock(&overlay->access_ok); in overlay_set_win()
173 mutex_lock(&overlay->access_ok); in dmafetch_onoff()
178 mutex_unlock(&overlay->access_ok); in dmafetch_onoff()
184 mutex_lock(&path->access_ok); in path_enabledisable()
191 mutex_unlock(&path->access_ok); in path_enabledisable()
262 mutex_lock(&path->access_ok); in path_set_mode()
313 mutex_unlock(&path->access_ok); in path_set_mode()
485 mutex_init(&ctrl->access_ok); in mmphw_probe()
/linux/arch/arm/include/asm/
H A 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()
/linux/include/asm-generic/
H A Daccess_ok.h44 #ifndef access_ok
45 #define access_ok(addr, size) likely(__access_ok(addr, size)) macro
H A Duaccess.h128 access_ok(__p, sizeof(*ptr)) ? \
190 access_ok(__p, sizeof(*ptr)) ? \
223 if (!access_ok(to, n)) in clear_user()
/linux/arch/nios2/include/asm/
H A Duaccess.h51 if (!access_ok(to, n)) in clear_user()
129 if (access_ok( __gu_ptr, sizeof(*__gu_ptr))) \
184 access_ok(__pu_ptr, sizeof(*__pu_ptr)) ? \
/linux/arch/sh/include/asm/
H A Duaccess.h50 if (likely(access_ok(__gu_addr, (size)))) \
71 if (likely(access_ok(__pu_addr, size))) \
112 if (__cl_size && access_ok(__cl_addr, __cl_size)) \
/linux/arch/microblaze/include/asm/
H A Duaccess.h50 if (unlikely(!access_ok(to, n))) in clear_user()
97 access_ok(__gu_ptr, sizeof(*__gu_ptr)) ? \
192 if (access_ok(__pu_addr, size)) { \
H A 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()
/linux/arch/riscv/include/asm/
H A Duaccess.h42 #define access_ok(addr, size) likely(__access_ok(untagged_addr(addr), size)) macro
284 access_ok(__p, sizeof(*__p)) ? \
412 access_ok(__p, sizeof(*__p)) ? \
446 return access_ok(to, n) ? in clear_user()
458 if (unlikely(!access_ok(ptr, len))) in user_access_begin()
/linux/arch/x86/kernel/cpu/sgx/
H A Dvirt.c369 if (WARN_ON_ONCE(!access_ok(secs, PAGE_SIZE))) in sgx_virt_ecreate()
398 if (WARN_ON_ONCE(!access_ok(sigstruct, sizeof(struct sgx_sigstruct)) || in __sgx_virt_einit()
399 !access_ok(token, SGX_EINITTOKEN_SIZE) || in __sgx_virt_einit()
400 !access_ok(secs, PAGE_SIZE))) in __sgx_virt_einit()
/linux/arch/openrisc/include/asm/
H A Duaccess.h68 if (access_ok(__pu_addr, size)) \
140 if (access_ok(__gu_addr, size)) \
229 if (likely(access_ok(addr, size))) in clear_user()
H A 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()
/linux/arch/um/kernel/skas/
H A Duaccess.c187 if (!access_ok(src, 1)) in strncpy_from_user()
225 if (!access_ok(str, 1)) in strnlen_user()
259 if (!access_ok(uaddr, sizeof(*uaddr))) in arch_futex_atomic_op_inuser()
337 if (!access_ok(uaddr, sizeof(*uaddr))) in futex_atomic_cmpxchg_inatomic()
/linux/arch/hexagon/include/asm/
H A 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()
/linux/arch/alpha/include/asm/
H A 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()
/linux/arch/csky/include/asm/
H A 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()
/linux/arch/loongarch/include/asm/
H A Duaccess.h56 access_ok(__p, sizeof(*__p)) ? __get_user((x), __p) : \
82 access_ok(__p, sizeof(*__p)) ? __put_user((x), __p) : -EFAULT; \
315 if (__cl_size && access_ok(__cl_addr, __cl_size)) \
/linux/arch/arc/include/asm/
H A 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()

1234567