Home
last modified time | relevance | path

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

/linux/arch/riscv/net/
H A Dbpf_jit_core.c48 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
54 return orig_prog; in bpf_int_jit_compile()
58 return orig_prog; in bpf_int_jit_compile()
68 prog = orig_prog; in bpf_int_jit_compile()
87 prog = orig_prog; in bpf_int_jit_compile()
92 prog = orig_prog; in bpf_int_jit_compile()
109 prog = orig_prog; in bpf_int_jit_compile()
130 prog = orig_prog; in bpf_int_jit_compile()
153 prog = orig_prog; in bpf_int_jit_compile()
167 prog = orig_prog; in bpf_int_jit_compile()
[all...]
/linux/arch/parisc/net/
H A Dbpf_jit_core.c48 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
54 return orig_prog; in bpf_int_jit_compile()
58 return orig_prog; in bpf_int_jit_compile()
68 prog = orig_prog; in bpf_int_jit_compile()
85 prog = orig_prog; in bpf_int_jit_compile()
97 prog = orig_prog; in bpf_int_jit_compile()
120 prog = orig_prog; in bpf_int_jit_compile()
137 prog = orig_prog; in bpf_int_jit_compile()
151 prog = orig_prog; in bpf_int_jit_compile()
191 bpf_jit_prog_release_other(prog, prog == orig_prog in bpf_int_jit_compile()
[all...]
/linux/arch/sparc/net/
H A Dbpf_jit_comp_64.c1482 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1493 return orig_prog; in bpf_int_jit_compile()
1500 return orig_prog; in bpf_int_jit_compile()
1510 prog = orig_prog; in bpf_int_jit_compile()
1531 prog = orig_prog; in bpf_int_jit_compile()
1547 prog = orig_prog; in bpf_int_jit_compile()
1573 prog = orig_prog; in bpf_int_jit_compile()
1585 prog = orig_prog; in bpf_int_jit_compile()
1595 prog = orig_prog; in bpf_int_jit_compile()
1607 prog = orig_prog; in bpf_int_jit_compile()
[all...]
/linux/arch/loongarch/net/
H A Dbpf_jit.c1759 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1766 return orig_prog; in bpf_int_jit_compile()
1775 return orig_prog; in bpf_int_jit_compile()
1786 prog = orig_prog; in bpf_int_jit_compile()
1805 prog = orig_prog; in bpf_int_jit_compile()
1812 prog = orig_prog; in bpf_int_jit_compile()
1831 prog = orig_prog; in bpf_int_jit_compile()
1847 prog = orig_prog; in bpf_int_jit_compile()
1855 prog = orig_prog; in bpf_int_jit_compile()
1905 bpf_jit_prog_release_other(prog, prog == orig_prog in bpf_int_jit_compile()
[all...]
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c1958 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1974 return orig_prog; in bpf_int_jit_compile()
1981 return orig_prog; in bpf_int_jit_compile()
1991 prog = orig_prog; in bpf_int_jit_compile()
2006 prog = orig_prog; in bpf_int_jit_compile()
2029 prog = orig_prog; in bpf_int_jit_compile()
2045 prog = orig_prog; in bpf_int_jit_compile()
2050 prog = orig_prog; in bpf_int_jit_compile()
2071 prog = orig_prog; in bpf_int_jit_compile()
2102 prog = orig_prog; in bpf_int_jit_compile()
[all...]
/linux/arch/arc/net/
H A Dbpf_jit_core.c82 * orig_prog: The original eBPF program before any possible change.
102 struct bpf_prog *orig_prog; member
164 ctx->orig_prog = prog; in jit_ctx_init()
170 ctx->blinded = (ctx->prog != ctx->orig_prog); in jit_ctx_init()
218 /* if all went well, release the orig_prog. */ in jit_ctx_cleanup()
220 bpf_jit_prog_release_other(ctx->prog, ctx->orig_prog); in jit_ctx_cleanup()
222 bpf_jit_prog_release_other(ctx->orig_prog, ctx->prog); in jit_ctx_cleanup()
/linux/arch/arm/net/
H A Dbpf_jit_32.c2147 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
2159 return orig_prog; in bpf_int_jit_compile()
2168 return orig_prog; in bpf_int_jit_compile()
2183 prog = orig_prog; in bpf_int_jit_compile()
2198 prog = orig_prog; in bpf_int_jit_compile()
2217 prog = orig_prog; in bpf_int_jit_compile()
2242 prog = orig_prog; in bpf_int_jit_compile()
2283 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
2284 tmp : orig_prog); in bpf_int_jit_compile()
2290 prog = orig_prog; in bpf_int_jit_compile()
[all...]
/linux/arch/x86/net/
H A Dbpf_jit_comp32.c2524 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
2534 return orig_prog; in bpf_int_jit_compile()
2542 return orig_prog; in bpf_int_jit_compile()
2550 prog = orig_prog; in bpf_int_jit_compile()
2577 prog = orig_prog; in bpf_int_jit_compile()
2592 prog = orig_prog; in bpf_int_jit_compile()
2608 prog = orig_prog; in bpf_int_jit_compile()
2615 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
2616 tmp : orig_prog); in bpf_int_jit_compile()
H A Dbpf_jit_comp.c3549 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
3565 return orig_prog; in bpf_int_jit_compile()
3573 return orig_prog; in bpf_int_jit_compile()
3583 prog = orig_prog; in bpf_int_jit_compile()
3598 prog = orig_prog; in bpf_int_jit_compile()
3619 prog = orig_prog; in bpf_int_jit_compile()
3653 prog = orig_prog; in bpf_int_jit_compile()
3685 prog = orig_prog; in bpf_int_jit_compile()
3732 prog = orig_prog; in bpf_int_jit_compile()
3750 bpf_jit_prog_release_other(prog, prog == orig_prog in bpf_int_jit_compile()
[all...]
/linux/kernel/
H A Dseccomp.c836 struct sock_fprog_kern *fprog = sfilter->prog->orig_prog; in seccomp_cache_prepare_bitmap()
2213 fprog = filter->prog->orig_prog; in seccomp_get_filter()
2216 * every cBPF filter's orig_prog above when in seccomp_get_filter()
/linux/net/core/
H A Dfilter.c1165 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter()
1166 if (!fp->orig_prog) in bpf_prog_store_orig_filter()
1169 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter()
1175 kfree(fp->orig_prog); in bpf_prog_store_orig_filter()
1184 struct sock_fprog_kern *fprog = fp->orig_prog; in bpf_release_orig_filter()
1407 fp->orig_prog = NULL; in bpf_prog_create()
1453 fp->orig_prog = NULL; in bpf_prog_create_from_user()
11267 fprog = filter->prog->orig_prog; in sk_get_filter()
/linux/include/linux/
H A Dbpf.h1720 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
/linux/kernel/bpf/
H A Dsyscall.c2929 prog->orig_prog = NULL; in bpf_prog_load()