Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/net/
Dbpf_jit_core.c49 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
55 return orig_prog; in bpf_int_jit_compile()
59 return orig_prog; in bpf_int_jit_compile()
69 prog = orig_prog; in bpf_int_jit_compile()
88 prog = orig_prog; in bpf_int_jit_compile()
93 prog = orig_prog; in bpf_int_jit_compile()
110 prog = orig_prog; in bpf_int_jit_compile()
131 prog = orig_prog; in bpf_int_jit_compile()
154 prog = orig_prog; in bpf_int_jit_compile()
168 prog = orig_prog; in bpf_int_jit_compile()
[all …]
/linux-6.12.1/arch/parisc/net/
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-6.12.1/arch/loongarch/net/
Dbpf_jit.c1189 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1196 return orig_prog; in bpf_int_jit_compile()
1205 return orig_prog; in bpf_int_jit_compile()
1216 prog = orig_prog; in bpf_int_jit_compile()
1235 prog = orig_prog; in bpf_int_jit_compile()
1242 prog = orig_prog; in bpf_int_jit_compile()
1261 prog = orig_prog; in bpf_int_jit_compile()
1277 prog = orig_prog; in bpf_int_jit_compile()
1285 prog = orig_prog; in bpf_int_jit_compile()
1335 bpf_jit_prog_release_other(prog, prog == orig_prog ? tmp : orig_prog); in bpf_int_jit_compile()
/linux-6.12.1/arch/sparc/net/
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-6.12.1/arch/mips/net/
Dbpf_jit_comp.c914 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
928 return orig_prog; in bpf_int_jit_compile()
936 return orig_prog; in bpf_int_jit_compile()
1029 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
1030 tmp : orig_prog); in bpf_int_jit_compile()
1035 prog = orig_prog; in bpf_int_jit_compile()
/linux-6.12.1/arch/arm64/net/
Dbpf_jit_comp.c1745 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1759 return orig_prog; in bpf_int_jit_compile()
1766 return orig_prog; in bpf_int_jit_compile()
1776 prog = orig_prog; in bpf_int_jit_compile()
1797 prog = orig_prog; in bpf_int_jit_compile()
1810 prog = orig_prog; in bpf_int_jit_compile()
1815 prog = orig_prog; in bpf_int_jit_compile()
1836 prog = orig_prog; in bpf_int_jit_compile()
1867 prog = orig_prog; in bpf_int_jit_compile()
1879 prog = orig_prog; in bpf_int_jit_compile()
[all …]
/linux-6.12.1/arch/arm/net/
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()
/linux-6.12.1/arch/arc/net/
Dbpf_jit_core.c102 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()
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-6.12.1/arch/x86/net/
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()
Dbpf_jit_comp.c3322 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
3336 return orig_prog; in bpf_int_jit_compile()
3344 return orig_prog; in bpf_int_jit_compile()
3354 prog = orig_prog; in bpf_int_jit_compile()
3373 prog = orig_prog; in bpf_int_jit_compile()
3407 prog = orig_prog; in bpf_int_jit_compile()
3439 prog = orig_prog; in bpf_int_jit_compile()
3486 prog = orig_prog; in bpf_int_jit_compile()
3499 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
3500 tmp : orig_prog); in bpf_int_jit_compile()
/linux-6.12.1/net/core/
Dsock_diag.c95 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
Dfilter.c1148 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter()
1149 if (!fp->orig_prog) in bpf_prog_store_orig_filter()
1152 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter()
1158 kfree(fp->orig_prog); in bpf_prog_store_orig_filter()
1167 struct sock_fprog_kern *fprog = fp->orig_prog; in bpf_release_orig_filter()
1390 fp->orig_prog = NULL; in bpf_prog_create()
1436 fp->orig_prog = NULL; in bpf_prog_create_from_user()
11182 fprog = filter->prog->orig_prog; in sk_get_filter()
/linux-6.12.1/kernel/
Dseccomp.c819 struct sock_fprog_kern *fprog = sfilter->prog->orig_prog; in seccomp_cache_prepare_bitmap()
2192 fprog = filter->prog->orig_prog; in seccomp_get_filter()
/linux-6.12.1/include/linux/
Dbpf.h1587 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
/linux-6.12.1/kernel/bpf/
Dsyscall.c2796 prog->orig_prog = NULL; in bpf_prog_load()