/linux-3.4.99/arch/blackfin/include/asm/ |
D | uaccess.h | 32 #define VERIFY_READ 0 macro 152 if (likely(access_ok(VERIFY_READ, _p, ptr_size))) { \ 197 if (access_ok(VERIFY_READ, from, n)) in copy_from_user() 222 if (!access_ok(VERIFY_READ, src, 1)) in strncpy_from_user() 242 if (!access_ok(VERIFY_READ, src, 1)) in strnlen_user() 249 if (!access_ok(VERIFY_READ, src, 1)) in strlen_user()
|
/linux-3.4.99/arch/score/include/asm/ |
D | uaccess.h | 8 #define VERIFY_READ 0 macro 184 if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) \ 298 if (access_ok(VERIFY_READ, from, len)) in copy_from_user() 346 if (access_ok(VERIFY_READ, from, len) && in copy_in_user() 395 if (access_ok(VERIFY_READ, src, 1)) in strncpy_from_user() 410 if (!access_ok(VERIFY_READ, str, 0)) in strnlen_user()
|
/linux-3.4.99/include/asm-generic/ |
D | uaccess.h | 37 #define VERIFY_READ 0 macro 222 access_ok(VERIFY_READ, ptr, sizeof(*ptr)) ? \ 247 if (access_ok(VERIFY_READ, from, n)) in copy_from_user() 281 if (!access_ok(VERIFY_READ, src, 1)) in strncpy_from_user() 302 if (!access_ok(VERIFY_READ, src, 1)) in strnlen_user()
|
/linux-3.4.99/arch/mips/kernel/ |
D | unaligned.c | 153 if (!access_ok(VERIFY_READ, addr, 2)) in emulate_load_store_insn() 186 if (!access_ok(VERIFY_READ, addr, 4)) in emulate_load_store_insn() 216 if (!access_ok(VERIFY_READ, addr, 2)) in emulate_load_store_insn() 258 if (!access_ok(VERIFY_READ, addr, 4)) in emulate_load_store_insn() 302 if (!access_ok(VERIFY_READ, addr, 8)) in emulate_load_store_insn()
|
/linux-3.4.99/arch/microblaze/include/asm/ |
D | uaccess.h | 27 #define VERIFY_READ 0 macro 194 if (access_ok(VERIFY_READ, __gu_addr, size)) { \ 368 if (access_ok(VERIFY_READ, from, n)) in copy_from_user() 397 if (!access_ok(VERIFY_READ, src, 1)) in strncpy_from_user() 411 if (!access_ok(VERIFY_READ, src, 1)) in strnlen_user()
|
/linux-3.4.99/arch/powerpc/lib/ |
D | usercopy_64.c | 14 if (likely(access_ok(VERIFY_READ, from, n))) in copy_from_user() 32 if (likely(access_ok(VERIFY_READ, from, n) && in copy_in_user()
|
/linux-3.4.99/arch/um/include/asm/ |
D | uaccess.h | 19 #define VERIFY_READ 0 macro 46 ((type == VERIFY_READ) && \ 146 (access_ok(VERIFY_READ, private_ptr, sizeof(*private_ptr)) ? \
|
/linux-3.4.99/arch/tile/include/asm/ |
D | uaccess.h | 27 #define VERIFY_READ 0 macro 271 access_ok(VERIFY_READ, (__Gu_addr), sizeof(*(__Gu_addr))) ? \ 349 if (access_ok(VERIFY_READ, from, n)) in _copy_from_user() 405 if (access_ok(VERIFY_WRITE, to, n) && access_ok(VERIFY_READ, from, n)) in copy_in_user() 464 if (access_ok(VERIFY_READ, src, 1)) in strncpy_from_user()
|
/linux-3.4.99/arch/openrisc/include/asm/ |
D | uaccess.h | 31 #define VERIFY_READ 0 macro 203 if (access_ok(VERIFY_READ, __gu_addr, size)) \ 278 if (access_ok(VERIFY_READ, from, n)) in copy_from_user() 320 if (access_ok(VERIFY_READ, src, 1)) in strncpy_from_user()
|
/linux-3.4.99/arch/powerpc/oprofile/ |
D | backtrace.c | 32 if (!access_ok(VERIFY_READ, p, sizeof(stack_frame))) in user_getsp32() 58 if (!access_ok(VERIFY_READ, (void __user *)sp, sizeof(stack_frame))) in user_getsp64()
|
/linux-3.4.99/arch/mn10300/lib/ |
D | usercopy.c | 25 if (access_ok(VERIFY_READ, from, n)) in __generic_copy_from_user() 80 if (access_ok(VERIFY_READ, src, 1)) in strncpy_from_user()
|
/linux-3.4.99/arch/x86/lib/ |
D | usercopy_64.c | 81 if (!access_ok(VERIFY_READ, s, 1)) in strnlen_user() 105 if (access_ok(VERIFY_WRITE, to, len) && access_ok(VERIFY_READ, from, len)) { in copy_in_user()
|
/linux-3.4.99/arch/xtensa/include/asm/ |
D | uaccess.h | 25 #define VERIFY_READ 0 macro 325 if (access_ok(VERIFY_READ,__gu_addr,size)) \ 415 if (access_ok(VERIFY_READ, from, n)) in __generic_copy_from_user() 462 if (access_ok(VERIFY_READ, src, 1)) in strncpy_from_user()
|
/linux-3.4.99/arch/x86/math-emu/ |
D | reg_ld_str.c | 86 FPU_access_ok(VERIFY_READ, s, 10); in FPU_load_extended() 100 FPU_access_ok(VERIFY_READ, dfloat, 8); in FPU_load_double() 161 FPU_access_ok(VERIFY_READ, single, 4); in FPU_load_single() 216 FPU_access_ok(VERIFY_READ, _s, 8); in FPU_load_int64() 245 FPU_access_ok(VERIFY_READ, _s, 4); in FPU_load_int32() 273 FPU_access_ok(VERIFY_READ, _s, 2); in FPU_load_int16() 306 FPU_access_ok(VERIFY_READ, s, 10); in FPU_load_bcd() 1036 FPU_access_ok(VERIFY_READ, s, 0x0e); in fldenv() 1058 FPU_access_ok(VERIFY_READ, s, 0x1c); in fldenv() 1127 FPU_access_ok(VERIFY_READ, s, 80); in frstor()
|
/linux-3.4.99/net/ |
D | compat.c | 65 if (!access_ok(VERIFY_READ, umsg, sizeof(*umsg)) || in get_compat_msghdr() 89 if (mode == VERIFY_READ) { in verify_compat_iovec() 350 if (!access_ok(VERIFY_READ, fprog32, sizeof(*fprog32)) || in do_set_attach_filter() 372 if (!access_ok(VERIFY_READ, up, sizeof(*up)) || in do_set_sock_timeout() 587 if (!access_ok(VERIFY_READ, gr32, sizeof(*gr32)) || in compat_mc_setsockopt() 608 if (!access_ok(VERIFY_READ, gsr32, sizeof(*gsr32)) || in compat_mc_setsockopt() 628 if (!access_ok(VERIFY_READ, gf32, __COMPAT_GF0_SIZE) || in compat_mc_setsockopt() 672 if (!access_ok(VERIFY_READ, optlen, sizeof(*optlen)) || in compat_mc_getsockopt() 689 if (!access_ok(VERIFY_READ, gf32, __COMPAT_GF0_SIZE) || in compat_mc_getsockopt() 703 if (!access_ok(VERIFY_READ, koptlen, sizeof(*koptlen)) || in compat_mc_getsockopt() [all …]
|
/linux-3.4.99/drivers/staging/comedi/ |
D | comedi_compat32.c | 119 if (!access_ok(VERIFY_READ, chaninfo32, sizeof(*chaninfo32)) in compat_chaninfo() 153 if (!access_ok(VERIFY_READ, rangeinfo32, sizeof(*rangeinfo32)) in compat_rangeinfo() 180 if (!access_ok(VERIFY_READ, cmd32, sizeof(*cmd32)) in get_compat_cmd() 231 if (!access_ok(VERIFY_READ, cmd, sizeof(*cmd)) in put_compat_cmd() 323 if (!access_ok(VERIFY_READ, insn32, sizeof(*insn32)) in get_compat_insn() 356 if (!access_ok(VERIFY_READ, insnlist32, sizeof(*insnlist32))) in compat_insnlist()
|
/linux-3.4.99/arch/m32r/lib/ |
D | usercopy.c | 27 if (access_ok(VERIFY_READ, from, n)) in __generic_copy_from_user() 124 if (access_ok(VERIFY_READ, src, 1)) in strncpy_from_user()
|
/linux-3.4.99/arch/cris/include/asm/ |
D | uaccess.h | 24 #define VERIFY_READ 0 macro 164 if (access_ok(VERIFY_READ,__gu_addr,size)) \ 190 if (access_ok(VERIFY_READ, from, n)) in __generic_copy_from_user() 213 if (access_ok(VERIFY_READ, src, 1)) in strncpy_from_user()
|
/linux-3.4.99/arch/s390/include/asm/ |
D | uaccess.h | 21 #define VERIFY_READ 0 macro 302 if (access_ok(VERIFY_READ, from, n)) in copy_from_user() 332 if (access_ok(VERIFY_READ, src, 1)) in strncpy_from_user()
|
/linux-3.4.99/arch/powerpc/include/asm/ |
D | uaccess.h | 13 #define VERIFY_READ 0 macro 307 if (access_ok(VERIFY_READ, __gu_addr, (size))) \ 337 if (access_ok(VERIFY_READ, from, n)) in copy_from_user() 462 if (likely(access_ok(VERIFY_READ, src, 1))) in strncpy_from_user()
|
/linux-3.4.99/arch/sparc/include/asm/ |
D | uaccess_32.h | 32 #define VERIFY_READ 0 macro 323 if (!access_ok(VERIFY_READ, str, 0)) in strlen_user() 331 if (!access_ok(VERIFY_READ, str, 0)) in strnlen_user()
|
/linux-3.4.99/arch/mips/include/asm/ |
D | uaccess.h | 61 #define VERIFY_READ 0 macro 251 if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) \ 514 if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) \ 885 if (access_ok(VERIFY_READ, __cu_from, __cu_len)) { \ 917 if (likely(access_ok(VERIFY_READ, __cu_from, __cu_len) && \
|
/linux-3.4.99/drivers/media/video/ |
D | v4l2-compat-ioctl32.c | 49 if (!access_ok(VERIFY_READ, up, sizeof(struct v4l2_window32)) || in get_v4l2_window32() 210 if (!access_ok(VERIFY_READ, up, sizeof(struct v4l2_format32)) || in get_v4l2_format32() 218 if (!access_ok(VERIFY_READ, up, sizeof(struct v4l2_create_buffers32)) || in get_v4l2_create32() 282 if (!access_ok(VERIFY_READ, up, sizeof(struct v4l2_standard32)) || in get_v4l2_standard32() 386 if (!access_ok(VERIFY_READ, up, sizeof(struct v4l2_buffer32)) || in get_v4l2_buffer32() 418 if (!access_ok(VERIFY_READ, uplane32, in get_v4l2_buffer32() 538 if (!access_ok(VERIFY_READ, up, sizeof(struct v4l2_framebuffer32)) || in get_v4l2_framebuffer32() 631 if (!access_ok(VERIFY_READ, up, sizeof(struct v4l2_ext_controls32)) || in get_v4l2_ext_controls32() 645 if (!access_ok(VERIFY_READ, ucontrols, in get_v4l2_ext_controls32()
|
/linux-3.4.99/arch/tile/kernel/ |
D | compat_signal.c | 137 if (!access_ok(VERIFY_READ, act, sizeof(*act)) || in compat_sys_rt_sigaction() 243 if (!access_ok(VERIFY_READ, from, sizeof(struct compat_siginfo))) in copy_siginfo_from_user32() 270 if (!access_ok(VERIFY_READ, uss_ptr, sizeof(*uss_ptr)) || in compat_sys_sigaltstack() 300 if (!access_ok(VERIFY_READ, frame, sizeof(*frame))) in compat_sys_rt_sigreturn()
|
/linux-3.4.99/arch/alpha/include/asm/ |
D | uaccess.h | 23 #define VERIFY_READ 0 macro 455 return access_ok(VERIFY_READ,str,0) ? __strlen_user(str) : 0; in strlen_user() 464 return access_ok(VERIFY_READ,str,0) ? __strnlen_user(str, n) : 0; in strnlen_user()
|