Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/net/
Dbpf_jit_comp.c324 #define X86_PATCH_SIZE 5 macro
502 emit_nops(&prog, X86_PATCH_SIZE); in emit_prologue()
546 offset = func - (ip + X86_PATCH_SIZE); in emit_patch()
577 u8 old_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke()
578 u8 new_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke()
582 memcpy(old_insn, nop_insn, X86_PATCH_SIZE); in __bpf_arch_text_poke()
592 memcpy(new_insn, nop_insn, X86_PATCH_SIZE); in __bpf_arch_text_poke()
604 if (memcmp(ip, old_insn, X86_PATCH_SIZE)) in __bpf_arch_text_poke()
607 if (memcmp(ip, new_insn, X86_PATCH_SIZE)) { in __bpf_arch_text_poke()
608 text_poke_bp(ip, new_insn, X86_PATCH_SIZE, NULL); in __bpf_arch_text_poke()
[all …]