Searched refs:new_inst (Results 1 – 2 of 2) sorted by relevance
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 1102 static int bpf_modify_inst(void *ip, ppc_inst_t old_inst, ppc_inst_t new_inst) in bpf_modify_inst() argument 1117 if (ppc_inst_equal(old_inst, new_inst)) in bpf_modify_inst() 1120 return patch_instruction(ip, new_inst); in bpf_modify_inst() 1172 ppc_inst_t old_inst, new_inst; in bpf_arch_text_poke() local 1201 new_inst = ppc_inst(PPC_RAW_NOP()); in bpf_arch_text_poke() 1203 if (create_branch(&new_inst, ip, (unsigned long)new_addr, 0)) in bpf_arch_text_poke() 1206 ret = bpf_modify_inst(ip, old_inst, new_inst); in bpf_arch_text_poke() 1234 new_inst = ppc_inst(PPC_RAW_NOP()); in bpf_arch_text_poke() 1238 create_branch(&new_inst, ip, (unsigned long)new_addr, branch_flags); in bpf_arch_text_poke() 1240 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()
|