Home
last modified time | relevance | path

Searched refs:new_inst (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/arch/powerpc/net/
H A Dbpf_jit_comp.c1047 if (ppc_inst_equal(old_inst, new_inst)) in bpf_modify_inst()
1050 return patch_instruction(ip, new_inst); in bpf_modify_inst()
1101 ppc_inst_t old_inst, new_inst; in bpf_arch_text_poke() local
1131 new_inst = ppc_inst(PPC_RAW_NOP()); in bpf_arch_text_poke()
1133 if (create_branch(&new_inst, ip, (unsigned long)new_addr, 0)) in bpf_arch_text_poke()
1136 ret = bpf_modify_inst(ip, old_inst, new_inst); in bpf_arch_text_poke()
1163 new_inst = ppc_inst(PPC_RAW_NOP()); in bpf_arch_text_poke()
1188 ret = bpf_modify_inst(ip, old_inst, new_inst); in bpf_arch_text_poke()
1197 create_branch(&new_inst, ip, bpf_func_end - bpf_jit_ool_stub, 0); in bpf_arch_text_poke()
1199 new_inst = ppc_inst(PPC_RAW_NOP()); in bpf_arch_text_poke()
[all …]
/linux-6.15/arch/powerpc/kernel/
H A Dkvm.c71 static void __init kvm_patch_ins(u32 *inst, u32 new_inst) in kvm_patch_ins() argument
73 *inst = new_inst; in kvm_patch_ins()