Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c153 fixup_len = fp->aux->num_exentries * BPF_FIXUP_LEN * 4; in bpf_int_jit_compile()
252 (fp->aux->num_exentries * BPF_FIXUP_LEN * 4) + in bpf_add_extable_entry()
253 (ctx->exentry_idx * BPF_FIXUP_LEN * 4); in bpf_add_extable_entry()
259 fixup[BPF_FIXUP_LEN - 1] = in bpf_add_extable_entry()
260 PPC_RAW_BRANCH((long)(pc + jmp_off) - (long)&fixup[BPF_FIXUP_LEN - 1]); in bpf_add_extable_entry()
H A Dbpf_jit.h145 #define BPF_FIXUP_LEN 3 /* Three instructions => 12 bytes */ macro
147 #define BPF_FIXUP_LEN 2 /* Two instructions => 8 bytes */ macro