Searched refs:old_insn (Results 1 – 2 of 2) sorted by relevance
2528 u32 old_insn; in bpf_arch_text_poke() local2574 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()
593 u8 old_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke() local598 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()