Home
last modified time | relevance | path

Searched refs:access_ok (Results 1 – 25 of 163) 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/arch/arm64/include/asm/
H A Duaccess.h38 static inline int access_ok(const void __user *addr, unsigned long size) in access_ok() function
51 #define access_ok access_ok macro
256 if (access_ok(__p, sizeof(*__p))) { \
353 if (access_ok(__p, sizeof(*__p))) { \
418 if (unlikely(!access_ok(ptr,len))) in user_access_begin()
467 if (access_ok(to, n)) { in __clear_user()
/linux/drivers/video/fbdev/mmp/
H A Dcore.c164 mutex_init(&path->access_ok); in mmp_register_path()
198 mutex_init(&path->overlays[i].access_ok); in mmp_register_path()
229 mutex_destroy(&path->overlays[i].access_ok); in mmp_unregister_path()
231 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/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/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/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/loongarch/include/asm/
H A Duaccess.h50 access_ok(__p, sizeof(*__p)) ? __get_user((x), __p) : \
76 access_ok(__p, sizeof(*__p)) ? __put_user((x), __p) : -EFAULT; \
248 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/x86/kernel/cpu/sgx/
H A Dvirt.c350 if (WARN_ON_ONCE(!access_ok(secs, PAGE_SIZE))) in sgx_virt_ecreate()
379 if (WARN_ON_ONCE(!access_ok(sigstruct, sizeof(struct sgx_sigstruct)) || in __sgx_virt_einit()
380 !access_ok(token, SGX_EINITTOKEN_SIZE) || in __sgx_virt_einit()
381 !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/sound/core/seq/
H A Dseq_queue.c350 int access_ok; in queue_access_lock() local
353 access_ok = check_access(q, client); in queue_access_lock()
354 if (access_ok) in queue_access_lock()
356 return access_ok; in queue_access_lock()
370 int access_ok; in snd_seq_queue_check_access() local
375 access_ok = check_access(q, client); in snd_seq_queue_check_access()
377 return access_ok; in snd_seq_queue_check_access()
/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/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