Searched refs:new_inst (Results 1 – 2 of 2) sorted by relevance
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 1231 static int bpf_modify_inst(void *ip, ppc_inst_t old_inst, ppc_inst_t new_inst) in bpf_modify_inst() argument 1246 if (ppc_inst_equal(old_inst, new_inst)) in bpf_modify_inst() 1249 return patch_instruction(ip, new_inst); in bpf_modify_inst() 1301 ppc_inst_t old_inst, new_inst; in bpf_arch_text_poke() local 1330 new_inst = ppc_inst(PPC_RAW_NOP()); in bpf_arch_text_poke() 1332 if (create_branch(&new_inst, ip, (unsigned long)new_addr, 0)) in bpf_arch_text_poke() 1335 ret = bpf_modify_inst(ip, old_inst, new_inst); in bpf_arch_text_poke() 1363 new_inst = ppc_inst(PPC_RAW_NOP()); in bpf_arch_text_poke() 1367 create_branch(&new_inst, ip, (unsigned long)new_addr, branch_flags); in bpf_arch_text_poke() 1369 create_branch(&new_inst, ip, bpf_func_end - bpf_jit_long_branch_stub, in bpf_arch_text_poke() [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | kvm.c | 71 static void __init kvm_patch_ins(u32 *inst, u32 new_inst) in kvm_patch_ins() argument 73 *inst = new_inst; in kvm_patch_ins()
|