/linux-6.12.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 | 92 if (copy_from_kernel_nofault(cur_code, (void *)ip, MCOUNT_INSN_SIZE)) { in ftrace_verify_code() 352 ret = copy_from_kernel_nofault(trampoline, (void *)start_offset, size); in create_trampoline() 368 ret = copy_from_kernel_nofault(ip, x86_nops[2], 2); in create_trampoline() 505 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-6.12.1/kernel/trace/ |
D | trace_probe_kernel.h | 33 ret = copy_from_kernel_nofault(&c, (u8 *)addr + len, 1); in fetch_store_strlen() 116 return copy_from_kernel_nofault(dest, src, size); in probe_mem_read()
|
/linux-6.12.1/arch/s390/kernel/ |
D | ftrace.c | 106 if (copy_from_kernel_nofault(&old, (void *)rec->ip, sizeof(old))) in ftrace_init_nop() 134 if (copy_from_kernel_nofault(&insn, (void *)rec->ip, sizeof(insn))) in ftrace_get_trampoline() 162 if (copy_from_kernel_nofault(&old, (void *)ip, sizeof(old))) in ftrace_patch_branch_insn()
|
/linux-6.12.1/mm/ |
D | maccess.c | 24 long copy_from_kernel_nofault(void *dst, const void *src, size_t size) in copy_from_kernel_nofault() function 48 EXPORT_SYMBOL_GPL(copy_from_kernel_nofault);
|
/linux-6.12.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 | 82 return copy_from_kernel_nofault(dst, (const void __force *)src, cnt); in copy_from_kernel_wrapper() 553 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-6.12.1/drivers/dio/ |
D | dio.c | 143 if (copy_from_kernel_nofault(&i, in dio_find() 216 if (copy_from_kernel_nofault(&i, in dio_init()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | ptrace.h | 386 extern long copy_from_kernel_nofault(void *dst, const void *src, size_t size); 406 ret = copy_from_kernel_nofault(&val, addr, sizeof(val)); in regs_get_kernel_stack_nth()
|
/linux-6.12.1/include/linux/ |
D | uaccess.h | 408 long copy_from_kernel_nofault(void *dst, const void *src, size_t size); 450 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-6.12.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-6.12.1/arch/riscv/kernel/ |
D | ftrace.c | 49 if (copy_from_kernel_nofault(replaced, (void *)hook_pos, in ftrace_check_current_call()
|
/linux-6.12.1/arch/csky/kernel/ |
D | ftrace.c | 75 if (copy_from_kernel_nofault((void *)olds, (void *)hook_pos, in ftrace_check_current_nop()
|
/linux-6.12.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-6.12.1/arch/arm64/kernel/ |
D | patching.c | 62 ret = copy_from_kernel_nofault(&val, addr, AARCH64_INSN_SIZE); in aarch64_insn_read()
|
/linux-6.12.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-6.12.1/arch/x86/kernel/kprobes/ |
D | core.c | 238 if (copy_from_kernel_nofault(buf, (void *)addr, in __recover_probed_insn() 382 if (copy_from_kernel_nofault(&insn, (void *)addr, sizeof(u32))) in arch_adjust_kprobe_addr() 414 if (copy_from_kernel_nofault(dest, (void *)recovered_insn, in __copy_instruction()
|
/linux-6.12.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-6.12.1/fs/ |
D | d_path.c | 50 if (unlikely(copy_from_kernel_nofault(dst, src, len))) { in prepend_copy()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | inst.c | 186 ret = copy_from_kernel_nofault(&val, addr, LOONGARCH_INSN_SIZE); in larch_insn_read()
|