Home
last modified time | relevance | path

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

/linux/arch/arm64/net/
H A Dbpf_jit_comp.c2528 u32 old_insn; in bpf_arch_text_poke() local
2574 if (gen_branch_or_nop(branch_type, ip, old_addr, plt, &old_insn) < 0) in bpf_arch_text_poke()
2609 if (old_insn == new_insn) in bpf_arch_text_poke()
2618 if (replaced != old_insn) { in bpf_arch_text_poke()
/linux/arch/x86/net/
H A Dbpf_jit_comp.c593 u8 old_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke() local
598 memcpy(old_insn, nop_insn, X86_PATCH_SIZE); in __bpf_arch_text_poke()
600 prog = old_insn; in __bpf_arch_text_poke()
620 if (memcmp(ip, old_insn, X86_PATCH_SIZE)) in __bpf_arch_text_poke()