Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/net/
H A Dbpf_jit_comp.c2173 u32 old_insn; in bpf_arch_text_poke() local
2219 if (gen_branch_or_nop(branch_type, ip, old_addr, plt, &old_insn) < 0) in bpf_arch_text_poke()
2254 if (old_insn == new_insn) in bpf_arch_text_poke()
2263 if (replaced != old_insn) { in bpf_arch_text_poke()
/openbmc/linux/arch/x86/net/
H A Dbpf_jit_comp.c360 u8 old_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke() local
365 memcpy(old_insn, nop_insn, X86_PATCH_SIZE); in __bpf_arch_text_poke()
367 prog = old_insn; in __bpf_arch_text_poke()
387 if (memcmp(ip, old_insn, X86_PATCH_SIZE)) in __bpf_arch_text_poke()