Searched refs:old_insn (Results 1 – 2 of 2) sorted by relevance
2188 u32 old_insn; in bpf_arch_text_poke() local2234 if (gen_branch_or_nop(branch_type, ip, old_addr, plt, &old_insn) < 0) in bpf_arch_text_poke()2269 if (old_insn == new_insn) in bpf_arch_text_poke()2278 if (replaced != old_insn) { in bpf_arch_text_poke()
410 u8 old_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke() local415 memcpy(old_insn, nop_insn, X86_PATCH_SIZE); in __bpf_arch_text_poke()417 prog = old_insn; in __bpf_arch_text_poke()437 if (memcmp(ip, old_insn, X86_PATCH_SIZE)) in __bpf_arch_text_poke()