Searched refs:old_insn (Results 1 – 2 of 2) sorted by relevance
2173 u32 old_insn; in bpf_arch_text_poke() local2219 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()
360 u8 old_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke() local365 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()