Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dfilter.h336 unsigned int (*bpf_func)(const struct sk_buff *skb, member
351 #define BPF_PROG_RUN(filter, ctx) (*filter->bpf_func)(ctx, filter->insnsi)
/linux-4.4.14/arch/x86/net/
Dbpf_jit_comp.c302 offsetof(struct bpf_prog, bpf_func)); in emit_bpf_tail_call()
1111 prog->bpf_func = (void *)image; in bpf_int_jit_compile()
1120 unsigned long addr = (unsigned long)fp->bpf_func & PAGE_MASK; in bpf_jit_free()
/linux-4.4.14/arch/powerpc/net/
Dbpf_jit_comp.c672 fp->bpf_func = (void *)image; in bpf_jit_compile()
683 module_memfree(fp->bpf_func); in bpf_jit_free()
/linux-4.4.14/arch/s390/net/
Dbpf_jit_comp.c1059 offsetof(struct bpf_prog, bpf_func)); in bpf_jit_insn()
1312 fp->bpf_func = (void *) jit.prg_buf; in bpf_int_jit_compile()
1324 unsigned long addr = (unsigned long)fp->bpf_func & PAGE_MASK; in bpf_jit_free()
/linux-4.4.14/arch/sparc/net/
Dbpf_jit_comp.c801 fp->bpf_func = (void *)image; in bpf_jit_compile()
812 module_memfree(fp->bpf_func); in bpf_jit_free()
/linux-4.4.14/arch/arm64/net/
Dbpf_jit_comp.c815 prog->bpf_func = (void *)ctx.image; in bpf_int_jit_compile()
823 unsigned long addr = (unsigned long)prog->bpf_func & PAGE_MASK; in bpf_jit_free()
/linux-4.4.14/arch/arm/net/
Dbpf_jit_32.c1063 fp->bpf_func = (void *)ctx.target; in bpf_jit_compile()
1072 unsigned long addr = (unsigned long)fp->bpf_func & PAGE_MASK; in bpf_jit_free()
/linux-4.4.14/arch/mips/net/
Dbpf_jit.c1239 fp->bpf_func = (void *)ctx.target; in bpf_jit_compile()
1249 module_memfree(fp->bpf_func); in bpf_jit_free()
/linux-4.4.14/kernel/bpf/
Dcore.c703 fp->bpf_func = (void *) __bpf_prog_run; in bpf_prog_select_runtime()
/linux-4.4.14/net/core/
Dfilter.c1004 fp->bpf_func = NULL; in bpf_prepare_filter()