/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | unaligned.c | 166 if (!access_ok(addr, 4)) in emulate_load_store_insn() 175 if (!access_ok(addr, 2)) in emulate_load_store_insn() 197 if (!access_ok(addr, 2)) { in emulate_load_store_insn() 210 if (!access_ok(addr, 4)) { in emulate_load_store_insn() 223 if (!access_ok(addr, 2)) { in emulate_load_store_insn() 236 if (!access_ok(addr, 2)) { in emulate_load_store_insn() 249 if (!access_ok(addr, 4)) { in emulate_load_store_insn() 270 if (!access_ok(addr, 2)) in emulate_load_store_insn() 289 if (!access_ok(addr, 4)) in emulate_load_store_insn() 308 if (!access_ok(addr, 2)) in emulate_load_store_insn() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
D | atomisp_compat_ioctl32.c | 53 if (!access_ok(up, sizeof(struct atomisp_histogram32)) || in get_atomisp_histogram32() 67 if (!access_ok(up, sizeof(struct atomisp_histogram32)) || in put_atomisp_histogram32() 81 if (!access_ok(up, sizeof(struct v4l2_framebuffer32)) || in get_v4l2_framebuffer32() 104 if (!access_ok(up, sizeof(struct atomisp_dis_statistics32)) || in get_atomisp_dis_statistics32() 156 if (!!access_ok(up, sizeof(struct atomisp_dis_statistics32)) || in put_atomisp_dis_statistics32() 208 if (!access_ok(up, sizeof(struct atomisp_dis_coefficients32)) || in get_atomisp_dis_coefficients32() 247 if (!access_ok(up, sizeof(struct atomisp_dvs_6axis_config32)) || in get_atomisp_dvs_6axis_config32() 272 if (!access_ok(up, sizeof(struct atomisp_3a_statistics32)) || in get_atomisp_3a_statistics32() 291 if (!access_ok(up, sizeof(struct atomisp_3a_statistics32)) || in put_atomisp_3a_statistics32() 310 if (!access_ok(up, sizeof(struct atomisp_metadata32)) || in get_atomisp_metadata_stat32() [all …]
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
D | uaccess.h | 58 #define access_ok(addr, size) (__range_ok((addr), (size)) == 0) macro 62 static inline int access_ok(const void __user *addr, unsigned long size) in access_ok() function 117 if (unlikely(!access_ok(to, n))) in clear_user() 164 access_ok(__gu_ptr, sizeof(*__gu_ptr)) ? \ 259 if (access_ok(__pu_addr, size)) { \ 331 if (!access_ok(src, 1)) in strncpy_from_user() 345 if (!access_ok(src, 1)) in strnlen_user()
|
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()
|
/kernel/linux/linux-5.10/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() 300 if (access_ok(src, 1)) in strncpy_from_user() 315 if (!access_ok(str, 1)) in strnlen_user()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | uaccess.h | 124 #define access_ok(addr, size) __access_ok((unsigned long)(addr),(size)) macro 167 access_ok(__p, sizeof(*ptr)) ? \ 229 access_ok(__p, sizeof(*ptr)) ? \ 264 if (!access_ok(src, 1)) in strncpy_from_user() 285 if (!access_ok(src, 1)) in strnlen_user() 306 if (!access_ok(to, n)) in clear_user()
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
D | v4l2-compat-ioctl32.c | 162 if (!access_ok(p32, sizeof(*p32)) || in get_v4l2_window32() 287 if (!access_ok(p32, sizeof(*p32))) in bufsize_v4l2_format() 339 if (!access_ok(p32, sizeof(*p32))) in get_v4l2_format32() 347 if (!access_ok(p32, sizeof(*p32))) in bufsize_v4l2_create() 356 if (!access_ok(p32, sizeof(*p32)) || in get_v4l2_create32() 408 if (!access_ok(p32, sizeof(*p32))) in put_v4l2_format32() 416 if (!access_ok(p32, sizeof(*p32)) || in put_v4l2_create32() 438 if (!access_ok(p32, sizeof(*p32)) || in get_v4l2_standard32() 447 if (!access_ok(p32, sizeof(*p32)) || in put_v4l2_standard32() 594 if (!access_ok(p32, sizeof(*p32)) || in bufsize_v4l2_buffer() [all …]
|
/kernel/linux/linux-5.10/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)) \
|
/kernel/linux/linux-5.10/arch/nios2/include/asm/ |
D | uaccess.h | 39 #define access_ok(addr, len) \ macro 72 if (!access_ok(to, n)) in clear_user() 151 if (access_ok( __gu_ptr, sizeof(*__gu_ptr))) \ 176 if (access_ok(__pu_ptr, sizeof(*__pu_ptr))) { \
|
/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/ |
D | core.c | 165 mutex_init(&path->access_ok); in mmp_register_path() 199 mutex_init(&path->overlays[i].access_ok); in mmp_register_path() 230 mutex_destroy(&path->overlays[i].access_ok); in mmp_unregister_path() 232 mutex_destroy(&path->access_ok); in mmp_unregister_path()
|
/kernel/linux/linux-5.10/include/linux/ |
D | uaccess.h | 157 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user() 177 if (access_ok(to, n)) { in _copy_to_user() 208 if (access_ok(to, n) && access_ok(from, n)) in copy_in_user() 398 #define user_access_begin(ptr,len) access_ok(ptr, len)
|
/kernel/linux/linux-5.10/arch/csky/include/asm/ |
D | uaccess.h | 18 static inline int access_ok(const void *addr, unsigned long size) in access_ok() function 26 #define __addr_ok(addr) (access_ok(addr, 0)) 85 if (access_ok(__pu_addr, size) && __pu_addr) \ 211 if (access_ok(__gu_ptr, size) && __gu_ptr) \
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
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()
|
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()
|
/kernel/linux/linux-5.10/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))) { \ 289 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()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | futex.h | 51 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic() 105 if (!access_ok(uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic() 135 if (!access_ok(uaddr, sizeof(u32))) in arch_futex_atomic_op_inuser()
|
/kernel/linux/linux-5.10/arch/powerpc/lib/ |
D | checksum_wrappers.c | 21 if (unlikely(!access_ok(src, len))) in csum_and_copy_from_user() 38 if (unlikely(!access_ok(dst, len))) in csum_and_copy_to_user()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/hw/ |
D | mmp_ctrl.c | 136 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()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | uaccess.h | 23 #define access_ok(addr, size) \ macro 155 if (access_ok(__pu_addr, __pu_size)) \ 337 if (access_ok(__gu_addr, __gu_size)) { \ 382 if (access_ok(to, n)) { in copy_mc_to_user() 487 if (likely(access_ok(addr, size))) { in clear_user() 510 if (unlikely(!access_ok(ptr, len))) in user_access_begin() 526 if (unlikely(!access_ok(ptr, len))) in user_read_access_begin() 540 if (unlikely(!access_ok(ptr, len))) in user_write_access_begin()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/lib/ |
D | usercopy.c | 15 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user() 38 if (likely(access_ok(to, n))) { in _copy_to_user()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | uaccess.h | 45 #define access_ok(addr, size) ({ \ macro 217 access_ok(__p, sizeof(*__p)) ? \ 353 access_ok(__p, sizeof(*__p)) ? \ 388 return access_ok(to, n) ? in clear_user()
|