Home
last modified time | relevance | path

Searched refs:VERIFY_READ (Results 1 – 25 of 128) sorted by relevance

123456

/arch/blackfin/include/asm/
Duaccess.h32 #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/
Duaccess.h8 #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/
Dusercopy_64.c14 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/
Dunaligned.c946 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/
Duaccess.h27 #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/
Dbacktrace.c33 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/
Dusercopy.c25 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/
Duaccess.h9 #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/
Duaccess.h22 #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/
Dusercopy.c27 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/
Duaccess.h31 #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/
Duaccess.h25 #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/
Dperf_callchain.c40 if (!access_ok(VERIFY_READ, tail, sizeof(buftail))) in user_backtrace()
85 if (!access_ok(VERIFY_READ, tail, sizeof(buftail))) in compat_user_backtrace()
Dsys_compat.c59 if (!access_ok(VERIFY_READ, start, end - start)) in do_compat_cache_op()
/arch/x86/math-emu/
Dreg_ld_str.c86 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/
Dbacktrace.c54 if (!access_ok(VERIFY_READ, stackaddr, sizeof(unsigned long))) in user_backtrace()
/arch/avr32/oprofile/
Dbacktrace.c40 if (!access_ok(VERIFY_READ, head, sizeof(bufhead))) in dump_user_backtrace()
/arch/cris/include/asm/
Duaccess.h24 #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/
Duaccess.h41 #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/
Duaccess.h27 #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/
Dbacktrace.c18 while (depth-- && access_ok(VERIFY_READ, fp, 8)) { in user_backtrace_fp()
/arch/x86/lib/
Dusercopy_64.c59 if (access_ok(VERIFY_WRITE, to, len) && access_ok(VERIFY_READ, from, len)) { in copy_in_user()
/arch/hexagon/include/asm/
Duaccess.h53 #define VERIFY_READ 0 macro
/arch/sh/include/asm/
Duaccess.h8 #define VERIFY_READ 0 macro
72 if (likely(access_ok(VERIFY_READ, __gu_addr, (size)))) \
/arch/arm/oprofile/
Dcommon.c91 if (!access_ok(VERIFY_READ, tail, sizeof(buftail))) in user_backtrace()

123456