/arch/blackfin/include/asm/ |
D | uaccess.h | 32 #define VERIFY_READ 0 macro 135 if (likely(access_ok(VERIFY_READ, _p, ptr_size))) { \ 180 if (likely(access_ok(VERIFY_READ, from, n))) { in copy_from_user() 207 if (!access_ok(VERIFY_READ, src, 1)) in strncpy_from_user() 227 if (!access_ok(VERIFY_READ, src, 1)) in strnlen_user() 234 if (!access_ok(VERIFY_READ, src, 1)) in strlen_user()
|
/arch/score/include/asm/ |
D | uaccess.h | 8 #define VERIFY_READ 0 macro 189 if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) \ 306 if (likely(access_ok(VERIFY_READ, from, len))) in copy_from_user() 353 if (access_ok(VERIFY_READ, from, len) && in copy_in_user() 402 if (access_ok(VERIFY_READ, src, 1)) in strncpy_from_user() 417 if (!access_ok(VERIFY_READ, str, 0)) in strnlen_user()
|
/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()
|
/arch/mips/kernel/ |
D | unaligned.c | 946 if (!access_ok(VERIFY_READ, addr, 4)) in emulate_load_store_insn() 955 if (!access_ok(VERIFY_READ, addr, 2)) in emulate_load_store_insn() 978 if (!access_ok(VERIFY_READ, addr, 2)) { in emulate_load_store_insn() 991 if (!access_ok(VERIFY_READ, addr, 4)) { in emulate_load_store_insn() 1004 if (!access_ok(VERIFY_READ, addr, 2)) { in emulate_load_store_insn() 1051 if (!access_ok(VERIFY_READ, addr, 2)) in emulate_load_store_insn() 1070 if (!access_ok(VERIFY_READ, addr, 4)) in emulate_load_store_insn() 1089 if (!access_ok(VERIFY_READ, addr, 2)) in emulate_load_store_insn() 1116 if (!access_ok(VERIFY_READ, addr, 4)) in emulate_load_store_insn() 1139 if (!access_ok(VERIFY_READ, addr, 8)) in emulate_load_store_insn() [all …]
|
/arch/microblaze/include/asm/ |
D | uaccess.h | 27 #define VERIFY_READ 0 macro 203 if (access_ok(VERIFY_READ, __gu_addr, size)) { \ 378 if (likely(access_ok(VERIFY_READ, from, n))) in copy_from_user() 409 if (!access_ok(VERIFY_READ, src, 1)) in strncpy_from_user() 423 if (!access_ok(VERIFY_READ, src, 1)) in strnlen_user()
|
/arch/powerpc/oprofile/ |
D | backtrace.c | 33 if (!access_ok(VERIFY_READ, p, sizeof(stack_frame))) in user_getsp32() 59 if (!access_ok(VERIFY_READ, (void __user *)sp, sizeof(stack_frame))) in user_getsp64()
|
/arch/mn10300/lib/ |
D | usercopy.c | 25 if (access_ok(VERIFY_READ, from, n)) in __generic_copy_from_user() 82 if (access_ok(VERIFY_READ, src, 1)) in strncpy_from_user()
|
/arch/metag/include/asm/ |
D | uaccess.h | 9 #define VERIFY_READ 0 macro 159 if (access_ok(VERIFY_READ, __gu_addr, size)) \ 200 if (!access_ok(VERIFY_READ, src, 1)) in strncpy_from_user() 220 if (likely(access_ok(VERIFY_READ, from, n))) in copy_from_user()
|
/arch/nios2/include/asm/ |
D | uaccess.h | 22 #define VERIFY_READ 0 macro 106 if (access_ok(VERIFY_READ, from, n)) in copy_from_user() 183 if (access_ok(VERIFY_READ, __gu_ptr, sizeof(*__gu_ptr))) \
|
/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()
|
/arch/openrisc/include/asm/ |
D | uaccess.h | 31 #define VERIFY_READ 0 macro 203 if (access_ok(VERIFY_READ, __gu_addr, size)) \ 278 if (likely(access_ok(VERIFY_READ, from, n))) in copy_from_user()
|
/arch/xtensa/include/asm/ |
D | uaccess.h | 25 #define VERIFY_READ 0 macro 331 if (access_ok(VERIFY_READ, __gu_addr, size)) \ 421 if (access_ok(VERIFY_READ, from, n)) in __generic_copy_from_user() 470 if (access_ok(VERIFY_READ, src, 1)) in strncpy_from_user()
|
/arch/arm64/kernel/ |
D | perf_callchain.c | 40 if (!access_ok(VERIFY_READ, tail, sizeof(buftail))) in user_backtrace() 85 if (!access_ok(VERIFY_READ, tail, sizeof(buftail))) in compat_user_backtrace()
|
D | sys_compat.c | 59 if (!access_ok(VERIFY_READ, start, end - start)) in do_compat_cache_op()
|
/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()
|
/arch/sh/oprofile/ |
D | backtrace.c | 54 if (!access_ok(VERIFY_READ, stackaddr, sizeof(unsigned long))) in user_backtrace()
|
/arch/avr32/oprofile/ |
D | backtrace.c | 40 if (!access_ok(VERIFY_READ, head, sizeof(bufhead))) in dump_user_backtrace()
|
/arch/cris/include/asm/ |
D | uaccess.h | 24 #define VERIFY_READ 0 macro 182 if (access_ok(VERIFY_READ, __gu_addr, size)) \ 208 if (access_ok(VERIFY_READ, src, 1)) in strncpy_from_user() 363 if (unlikely(!access_ok(VERIFY_READ, from, n))) { in copy_from_user()
|
/arch/arm64/include/asm/ |
D | uaccess.h | 41 #define VERIFY_READ 0 macro 320 access_ok(VERIFY_READ, __p, sizeof(*__p)) ? \ 410 if (access_ok(VERIFY_READ, from, n)) { in copy_from_user() 429 if (access_ok(VERIFY_READ, from, n) && access_ok(VERIFY_WRITE, to, n)) in copy_in_user()
|
/arch/tile/include/asm/ |
D | uaccess.h | 27 #define VERIFY_READ 0 macro 332 access_ok(VERIFY_READ, (__Gu_addr), sizeof(*(__Gu_addr))) ? \ 412 if (access_ok(VERIFY_READ, from, n)) in _copy_from_user() 474 if (access_ok(VERIFY_WRITE, to, n) && access_ok(VERIFY_READ, from, n)) in copy_in_user()
|
/arch/metag/oprofile/ |
D | backtrace.c | 18 while (depth-- && access_ok(VERIFY_READ, fp, 8)) { in user_backtrace_fp()
|
/arch/x86/lib/ |
D | usercopy_64.c | 59 if (access_ok(VERIFY_WRITE, to, len) && access_ok(VERIFY_READ, from, len)) { in copy_in_user()
|
/arch/hexagon/include/asm/ |
D | uaccess.h | 53 #define VERIFY_READ 0 macro
|
/arch/sh/include/asm/ |
D | uaccess.h | 8 #define VERIFY_READ 0 macro 72 if (likely(access_ok(VERIFY_READ, __gu_addr, (size)))) \
|
/arch/arm/oprofile/ |
D | common.c | 91 if (!access_ok(VERIFY_READ, tail, sizeof(buftail))) in user_backtrace()
|