Home
last modified time | relevance | path

Searched refs:patch_instruction (Results 1 – 4 of 4) sorted by relevance

/linux/arch/powerpc/kernel/
H A Dmodule_64.c639 if (patch_instruction(&entry->jump[i], in create_stub()
656 if (patch_instruction(&entry->jump[0], in create_stub()
671 if (patch_instruction(&entry->jump[0], in create_stub()
675 if (patch_instruction(&entry->jump[1], in create_stub()
790 return patch_instruction(instruction, ppc_inst(PPC_INST_LD_TOC)); in restore_r2()
938 if (patch_instruction((u32 *)location, ppc_inst(value))) in apply_relocate_add()
986 if (patch_instruction((u32 *)location, in apply_relocate_add()
992 if (patch_instruction((u32 *)location, in apply_relocate_add()
/linux/arch/powerpc/lib/
H A Dcode-patching.c378 int patch_instruction(u32 *addr, ppc_inst_t instr) in patch_instruction() function
385 NOKPROBE_SYMBOL(patch_instruction);
407 int patch_instruction(u32 *addr, ppc_inst_t instr) in patch_instruction() function
411 NOKPROBE_SYMBOL(patch_instruction) in NOKPROBE_SYMBOL() argument
585 return patch_instruction(addr, instr); in patch_branch()
/linux/arch/powerpc/kernel/trace/
H A Dftrace.c90 ret = patch_instruction((u32 *)ip, new); in ftrace_modify_code()
520 ret = patch_instruction((u32 *)ip, new); in ftrace_init_nop()
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c1063 return patch_instruction(ip, new_inst); in bpf_modify_inst()