Home
last modified time | relevance | path

Searched refs:copy_to_kernel_nofault (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/arch/arm64/kernel/
Dpatching.c78 ret = copy_to_kernel_nofault(waddr, &insn, AARCH64_INSN_SIZE); in __aarch64_insn_write()
100 ret = copy_to_kernel_nofault(waddr, &val, sizeof(val)); in aarch64_insn_write_literal_u64()
140 copy_to_kernel_nofault(dst, src + patched, len); in text_poke_memcpy()
/linux-6.12.1/mm/
Drodata_test.c29 if (!copy_to_kernel_nofault((void *)&rodata_test_data, in rodata_test()
Dmaccess.c58 long copy_to_kernel_nofault(void *dst, const void *src, size_t size) in copy_to_kernel_nofault() function
/linux-6.12.1/arch/riscv/kernel/
Dpatch.c144 ret = copy_to_kernel_nofault(waddr, insn, len); in __patch_insn_write()
175 return copy_to_kernel_nofault(addr, insn, len); in __patch_insn_write()
Dkgdb.c137 error = copy_to_kernel_nofault((void *)stepped_address, in do_single_step()
157 copy_to_kernel_nofault((void *)stepped_address, in undo_single_step()
/linux-6.12.1/arch/csky/kernel/
Djump_label.c37 ret = copy_to_kernel_nofault((void *)addr, insn, 4); in arch_jump_label_transform()
Dftrace.c101 ret = copy_to_kernel_nofault((void *)hook_pos, enable ? call : nops, in ftrace_modify_code()
/linux-6.12.1/arch/sh/kernel/
Dftrace.c122 mod_code_status = copy_to_kernel_nofault(mod_code_ip, mod_code_newcode, in ftrace_mod_code()
Dtraps_32.c88 return copy_to_kernel_nofault((void __force *)dst, src, cnt); in copy_to_kernel_wrapper()
/linux-6.12.1/arch/x86/kernel/
Dkgdb.c739 err = copy_to_kernel_nofault((char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
771 return copy_to_kernel_nofault((char *)bpt->bpt_addr, in kgdb_arch_remove_breakpoint()
/linux-6.12.1/arch/loongarch/kernel/
Dkgdb.c396 error = copy_to_kernel_nofault((void *)stepped_address, in do_single_step()
415 copy_to_kernel_nofault((void *)stepped_address, in undo_single_step()
Dinst.c199 ret = copy_to_kernel_nofault(addr, &insn, LOONGARCH_INSN_SIZE); in larch_insn_write()
/linux-6.12.1/kernel/debug/
Ddebug_core.c164 err = copy_to_kernel_nofault((char *)bpt->bpt_addr, in kgdb_arch_set_breakpoint()
172 return copy_to_kernel_nofault((char *)bpt->bpt_addr, in kgdb_arch_remove_breakpoint()
Dgdbstub.c283 return copy_to_kernel_nofault(mem, tmp_raw, count); in kgdb_hex2mem()
335 return copy_to_kernel_nofault(mem, c, size); in kgdb_ebin2mem()
/linux-6.12.1/include/linux/
Duaccess.h409 long notrace copy_to_kernel_nofault(void *dst, const void *src, size_t size);
/linux-6.12.1/kernel/debug/kdb/
Dkdb_support.c293 int ret = copy_to_kernel_nofault((char *)addr, (char *)res, size); in kdb_putarea_size()
/linux-6.12.1/arch/x86/mm/
Dinit_32.c707 if (copy_to_kernel_nofault((char *)fix_to_virt(FIX_WP_TEST), &z, 1)) { in test_wp_bit()
/linux-6.12.1/arch/powerpc/lib/
Dcode-patching.c456 err = copy_to_kernel_nofault(patch_addr, code, len); in __patch_instructions()