Searched refs:X86_PATCH_SIZE (Results 1 – 1 of 1) sorted by relevance
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 327 #define X86_PATCH_SIZE 5 macro 529 emit_nops(&prog, X86_PATCH_SIZE); in emit_prologue() 573 offset = func - (ip + X86_PATCH_SIZE); in emit_patch() 605 u8 old_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke() 606 u8 new_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke() 610 memcpy(old_insn, nop_insn, X86_PATCH_SIZE); in __bpf_arch_text_poke() 620 memcpy(new_insn, nop_insn, X86_PATCH_SIZE); in __bpf_arch_text_poke() 632 if (memcmp(ip, old_insn, X86_PATCH_SIZE)) in __bpf_arch_text_poke() 635 if (memcmp(ip, new_insn, X86_PATCH_SIZE)) { in __bpf_arch_text_poke() 636 smp_text_poke_single(ip, new_insn, X86_PATCH_SIZE, NULL); in __bpf_arch_text_poke() [all …]
|