/Linux-v6.1/arch/x86/kernel/ |
D | cfi.c | 38 if (copy_from_kernel_nofault(buffer, (void *)regs->ip - 12, MAX_INSN_SIZE)) in decode_cfi_insn() 47 if (copy_from_kernel_nofault(buffer, (void *)regs->ip - 6, MAX_INSN_SIZE)) in decode_cfi_insn()
|
D | ftrace.c | 87 if (copy_from_kernel_nofault(cur_code, (void *)ip, MCOUNT_INSN_SIZE)) { in ftrace_verify_code() 356 ret = copy_from_kernel_nofault(trampoline, (void *)start_offset, size); in create_trampoline() 372 ret = copy_from_kernel_nofault(ip, x86_nops[2], 2); in create_trampoline() 509 ret = copy_from_kernel_nofault(&call, ptr, CALL_INSN_SIZE); in addr_from_call()
|
D | dumpstack.c | 79 return copy_from_kernel_nofault(buf, (u8 *)src, nbytes); in copy_code()
|
/Linux-v6.1/arch/ia64/kernel/ |
D | ftrace.c | 111 if (copy_from_kernel_nofault(replaced, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_modify_code() 132 if (copy_from_kernel_nofault(replaced, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_make_nop_check()
|
/Linux-v6.1/mm/ |
D | maccess.c | 23 long copy_from_kernel_nofault(void *dst, const void *src, size_t size) in copy_from_kernel_nofault() function 47 EXPORT_SYMBOL_GPL(copy_from_kernel_nofault);
|
/Linux-v6.1/arch/sh/kernel/ |
D | ftrace.c | 206 if (copy_from_kernel_nofault(replaced, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_modify_code() 266 if (copy_from_kernel_nofault(code, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_mod()
|
D | traps_32.c | 81 return copy_from_kernel_nofault(dst, (const void __force *)src, cnt); in copy_from_kernel_wrapper() 552 if (copy_from_kernel_nofault(&instruction, (void *)(regs->pc), in do_address_error()
|
D | io_trapped.c | 283 if (copy_from_kernel_nofault(&instruction, (void *)(regs->pc), in handle_trapped_io()
|
/Linux-v6.1/arch/x86/include/asm/ |
D | ptrace.h | 308 extern long copy_from_kernel_nofault(void *dst, const void *src, size_t size); 328 ret = copy_from_kernel_nofault(&val, addr, sizeof(val)); in regs_get_kernel_stack_nth()
|
/Linux-v6.1/drivers/dio/ |
D | dio.c | 137 if (copy_from_kernel_nofault(&i, in dio_find() 210 if (copy_from_kernel_nofault(&i, in dio_init()
|
/Linux-v6.1/include/linux/ |
D | uaccess.h | 348 long copy_from_kernel_nofault(void *dst, const void *src, size_t size); 390 copy_from_kernel_nofault(&(val), __gk_ptr, sizeof(val));\
|
D | bpfptr.h | 54 return copy_from_kernel_nofault(dst, src.kernel + offset, size); in copy_from_bpfptr_offset()
|
/Linux-v6.1/kernel/trace/ |
D | trace_probe_kernel.h | 43 ret = copy_from_kernel_nofault(&c, (u8 *)addr + len, 1); in kern_fetch_store_strlen()
|
/Linux-v6.1/kernel/debug/kdb/ |
D | kdb_support.c | 268 int ret = copy_from_kernel_nofault((char *)res, (char *)addr, size); in kdb_getarea_size() 492 copy_from_kernel_nofault(&tmp, (char *)p, sizeof(unsigned long))) in kdb_task_state_char()
|
/Linux-v6.1/arch/arm64/kernel/ |
D | patching.c | 62 ret = copy_from_kernel_nofault(&val, addr, AARCH64_INSN_SIZE); in aarch64_insn_read()
|
/Linux-v6.1/arch/riscv/kernel/ |
D | ftrace.c | 39 if (copy_from_kernel_nofault(replaced, (void *)hook_pos, in ftrace_check_current_call()
|
/Linux-v6.1/arch/csky/kernel/ |
D | ftrace.c | 75 if (copy_from_kernel_nofault((void *)olds, (void *)hook_pos, in ftrace_check_current_nop()
|
/Linux-v6.1/arch/parisc/kernel/ |
D | ftrace.c | 171 ret = copy_from_kernel_nofault(insn, ip, size); in ftrace_make_call()
|
D | kgdb.c | 158 int ret = copy_from_kernel_nofault(bpt->saved_instr, in kgdb_arch_set_breakpoint()
|
/Linux-v6.1/arch/arm/kernel/ |
D | ftrace.c | 109 if (copy_from_kernel_nofault(&replaced, (void *)pc, in ftrace_modify_code()
|
D | kgdb.c | 259 err = copy_from_kernel_nofault(bpt->saved_instr, (char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
|
/Linux-v6.1/arch/s390/kernel/ |
D | ftrace.c | 155 if (copy_from_kernel_nofault(&insn, (void *)rec->ip, sizeof(insn))) in ftrace_get_trampoline()
|
/Linux-v6.1/arch/powerpc/kernel/ |
D | module_64.c | 757 if (copy_from_kernel_nofault(&magic, &stub->magic, in module_trampoline_target() 768 if (copy_from_kernel_nofault(&funcdata, &stub->funcdata, in module_trampoline_target()
|
/Linux-v6.1/drivers/misc/ |
D | kgdbts.c | 842 copy_from_kernel_nofault(before, (char *)kgdbts_break_test, in run_plant_and_detach_test() 850 copy_from_kernel_nofault(after, (char *)kgdbts_break_test, in run_plant_and_detach_test()
|
/Linux-v6.1/fs/ |
D | d_path.c | 49 if (unlikely(copy_from_kernel_nofault(dst, src, len))) { in prepend_copy()
|