Home
last modified time | relevance | path

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

/Linux-v5.15/arch/riscv/net/
Dbpf_jit_core.c45 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
52 return orig_prog; in bpf_int_jit_compile()
56 return orig_prog; in bpf_int_jit_compile()
66 prog = orig_prog; in bpf_int_jit_compile()
83 prog = orig_prog; in bpf_int_jit_compile()
95 prog = orig_prog; in bpf_int_jit_compile()
113 prog = orig_prog; in bpf_int_jit_compile()
130 prog = orig_prog; in bpf_int_jit_compile()
141 prog = orig_prog; in bpf_int_jit_compile()
165 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
[all …]
/Linux-v5.15/arch/arm64/net/
Dbpf_jit_comp.c996 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1006 return orig_prog; in bpf_int_jit_compile()
1013 return orig_prog; in bpf_int_jit_compile()
1023 prog = orig_prog; in bpf_int_jit_compile()
1041 prog = orig_prog; in bpf_int_jit_compile()
1049 prog = orig_prog; in bpf_int_jit_compile()
1054 prog = orig_prog; in bpf_int_jit_compile()
1070 prog = orig_prog; in bpf_int_jit_compile()
1087 prog = orig_prog; in bpf_int_jit_compile()
1096 prog = orig_prog; in bpf_int_jit_compile()
[all …]
/Linux-v5.15/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()
1625 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
[all …]
/Linux-v5.15/arch/arm/net/
Dbpf_jit_32.c1897 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1909 return orig_prog; in bpf_int_jit_compile()
1918 return orig_prog; in bpf_int_jit_compile()
1933 prog = orig_prog; in bpf_int_jit_compile()
1948 prog = orig_prog; in bpf_int_jit_compile()
1967 prog = orig_prog; in bpf_int_jit_compile()
1992 prog = orig_prog; in bpf_int_jit_compile()
2008 prog = orig_prog; in bpf_int_jit_compile()
2017 prog = orig_prog; in bpf_int_jit_compile()
2040 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
[all …]
/Linux-v5.15/arch/x86/net/
Dbpf_jit_comp.c2249 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
2262 return orig_prog; in bpf_int_jit_compile()
2270 return orig_prog; in bpf_int_jit_compile()
2280 prog = orig_prog; in bpf_int_jit_compile()
2297 prog = orig_prog; in bpf_int_jit_compile()
2327 prog = orig_prog; in bpf_int_jit_compile()
2353 prog = orig_prog; in bpf_int_jit_compile()
2380 prog = orig_prog; in bpf_int_jit_compile()
2393 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
2394 tmp : orig_prog); in bpf_int_jit_compile()
Dbpf_jit_comp32.c2508 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
2518 return orig_prog; in bpf_int_jit_compile()
2526 return orig_prog; in bpf_int_jit_compile()
2534 prog = orig_prog; in bpf_int_jit_compile()
2561 prog = orig_prog; in bpf_int_jit_compile()
2576 prog = orig_prog; in bpf_int_jit_compile()
2593 prog = orig_prog; in bpf_int_jit_compile()
2600 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
2601 tmp : orig_prog); in bpf_int_jit_compile()
/Linux-v5.15/net/core/
Dsock_diag.c90 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
Dfilter.c1136 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter()
1137 if (!fp->orig_prog) in bpf_prog_store_orig_filter()
1140 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter()
1146 kfree(fp->orig_prog); in bpf_prog_store_orig_filter()
1155 struct sock_fprog_kern *fprog = fp->orig_prog; in bpf_release_orig_filter()
1378 fp->orig_prog = NULL; in bpf_prog_create()
1424 fp->orig_prog = NULL; in bpf_prog_create_from_user()
10100 fprog = filter->prog->orig_prog; in sk_get_filter()
/Linux-v5.15/arch/mips/net/
Debpf_jit.c1807 struct bpf_prog *orig_prog = prog; in bpf_int_jit_compile() local
1823 return orig_prog; in bpf_int_jit_compile()
1926 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
1927 tmp : orig_prog); in bpf_int_jit_compile()
1934 prog = orig_prog; in bpf_int_jit_compile()
/Linux-v5.15/kernel/
Dseccomp.c792 struct sock_fprog_kern *fprog = sfilter->prog->orig_prog; in seccomp_cache_prepare_bitmap()
2063 fprog = filter->prog->orig_prog; in seccomp_get_filter()
/Linux-v5.15/include/linux/
Dfilter.h587 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
/Linux-v5.15/kernel/bpf/
Dsyscall.c2280 prog->orig_prog = NULL; in bpf_prog_load()