Home
last modified time | relevance | path

Searched refs:copy_from_kernel_nofault (Results 1 – 25 of 57) sorted by relevance

123

/Linux-v6.1/arch/x86/kernel/
Dcfi.c38 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()
Dftrace.c87 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()
Ddumpstack.c79 return copy_from_kernel_nofault(buf, (u8 *)src, nbytes); in copy_code()
/Linux-v6.1/arch/ia64/kernel/
Dftrace.c111 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/
Dmaccess.c23 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/
Dftrace.c206 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()
Dtraps_32.c81 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()
Dio_trapped.c283 if (copy_from_kernel_nofault(&instruction, (void *)(regs->pc), in handle_trapped_io()
/Linux-v6.1/arch/x86/include/asm/
Dptrace.h308 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/
Ddio.c137 if (copy_from_kernel_nofault(&i, in dio_find()
210 if (copy_from_kernel_nofault(&i, in dio_init()
/Linux-v6.1/include/linux/
Duaccess.h348 long copy_from_kernel_nofault(void *dst, const void *src, size_t size);
390 copy_from_kernel_nofault(&(val), __gk_ptr, sizeof(val));\
Dbpfptr.h54 return copy_from_kernel_nofault(dst, src.kernel + offset, size); in copy_from_bpfptr_offset()
/Linux-v6.1/kernel/trace/
Dtrace_probe_kernel.h43 ret = copy_from_kernel_nofault(&c, (u8 *)addr + len, 1); in kern_fetch_store_strlen()
/Linux-v6.1/kernel/debug/kdb/
Dkdb_support.c268 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/
Dpatching.c62 ret = copy_from_kernel_nofault(&val, addr, AARCH64_INSN_SIZE); in aarch64_insn_read()
/Linux-v6.1/arch/riscv/kernel/
Dftrace.c39 if (copy_from_kernel_nofault(replaced, (void *)hook_pos, in ftrace_check_current_call()
/Linux-v6.1/arch/csky/kernel/
Dftrace.c75 if (copy_from_kernel_nofault((void *)olds, (void *)hook_pos, in ftrace_check_current_nop()
/Linux-v6.1/arch/parisc/kernel/
Dftrace.c171 ret = copy_from_kernel_nofault(insn, ip, size); in ftrace_make_call()
Dkgdb.c158 int ret = copy_from_kernel_nofault(bpt->saved_instr, in kgdb_arch_set_breakpoint()
/Linux-v6.1/arch/arm/kernel/
Dftrace.c109 if (copy_from_kernel_nofault(&replaced, (void *)pc, in ftrace_modify_code()
Dkgdb.c259 err = copy_from_kernel_nofault(bpt->saved_instr, (char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
/Linux-v6.1/arch/s390/kernel/
Dftrace.c155 if (copy_from_kernel_nofault(&insn, (void *)rec->ip, sizeof(insn))) in ftrace_get_trampoline()
/Linux-v6.1/arch/powerpc/kernel/
Dmodule_64.c757 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/
Dkgdbts.c842 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/
Dd_path.c49 if (unlikely(copy_from_kernel_nofault(dst, src, len))) { in prepend_copy()

123