Home
last modified time | relevance | path

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

/Linux-v5.10/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()
129 prog = orig_prog; in bpf_int_jit_compile()
140 prog = orig_prog; in bpf_int_jit_compile()
163 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
[all …]
/Linux-v5.10/arch/arm64/net/
Dbpf_jit_comp.c981 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
991 return orig_prog; in bpf_int_jit_compile()
998 return orig_prog; in bpf_int_jit_compile()
1008 prog = orig_prog; in bpf_int_jit_compile()
1026 prog = orig_prog; in bpf_int_jit_compile()
1034 prog = orig_prog; in bpf_int_jit_compile()
1039 prog = orig_prog; in bpf_int_jit_compile()
1055 prog = orig_prog; in bpf_int_jit_compile()
1072 prog = orig_prog; in bpf_int_jit_compile()
1081 prog = orig_prog; in bpf_int_jit_compile()
[all …]
/Linux-v5.10/arch/sparc/net/
Dbpf_jit_comp_64.c1468 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1479 return orig_prog; in bpf_int_jit_compile()
1486 return orig_prog; in bpf_int_jit_compile()
1496 prog = orig_prog; in bpf_int_jit_compile()
1517 prog = orig_prog; in bpf_int_jit_compile()
1533 prog = orig_prog; in bpf_int_jit_compile()
1559 prog = orig_prog; in bpf_int_jit_compile()
1571 prog = orig_prog; in bpf_int_jit_compile()
1581 prog = orig_prog; in bpf_int_jit_compile()
1611 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
[all …]
/Linux-v5.10/arch/x86/net/
Dbpf_jit_comp.c1978 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1990 return orig_prog; in bpf_int_jit_compile()
1998 return orig_prog; in bpf_int_jit_compile()
2008 prog = orig_prog; in bpf_int_jit_compile()
2024 prog = orig_prog; in bpf_int_jit_compile()
2052 prog = orig_prog; in bpf_int_jit_compile()
2078 prog = orig_prog; in bpf_int_jit_compile()
2105 prog = orig_prog; in bpf_int_jit_compile()
2118 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
2119 tmp : orig_prog); in bpf_int_jit_compile()
Dbpf_jit_comp32.c2302 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
2312 return orig_prog; in bpf_int_jit_compile()
2320 return orig_prog; in bpf_int_jit_compile()
2328 prog = orig_prog; in bpf_int_jit_compile()
2355 prog = orig_prog; in bpf_int_jit_compile()
2370 prog = orig_prog; in bpf_int_jit_compile()
2387 prog = orig_prog; in bpf_int_jit_compile()
2394 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
2395 tmp : orig_prog); in bpf_int_jit_compile()
/Linux-v5.10/arch/arm/net/
Dbpf_jit_32.c1876 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1888 return orig_prog; in bpf_int_jit_compile()
1897 return orig_prog; in bpf_int_jit_compile()
1912 prog = orig_prog; in bpf_int_jit_compile()
1927 prog = orig_prog; in bpf_int_jit_compile()
1946 prog = orig_prog; in bpf_int_jit_compile()
1971 prog = orig_prog; in bpf_int_jit_compile()
1987 prog = orig_prog; in bpf_int_jit_compile()
1996 prog = orig_prog; in bpf_int_jit_compile()
2019 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
[all …]
/Linux-v5.10/net/core/
Dsock_diag.c90 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
Dfilter.c1135 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter()
1136 if (!fp->orig_prog) in bpf_prog_store_orig_filter()
1139 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter()
1145 kfree(fp->orig_prog); in bpf_prog_store_orig_filter()
1154 struct sock_fprog_kern *fprog = fp->orig_prog; in bpf_release_orig_filter()
1377 fp->orig_prog = NULL; in bpf_prog_create()
1423 fp->orig_prog = NULL; in bpf_prog_create_from_user()
9826 fprog = filter->prog->orig_prog; in sk_get_filter()
/Linux-v5.10/arch/mips/net/
Debpf_jit.c1799 struct bpf_prog *orig_prog = prog; in bpf_int_jit_compile() local
1815 return orig_prog; in bpf_int_jit_compile()
1918 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
1919 tmp : orig_prog); in bpf_int_jit_compile()
1926 prog = orig_prog; in bpf_int_jit_compile()
/Linux-v5.10/include/linux/
Dfilter.h544 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
/Linux-v5.10/kernel/
Dseccomp.c1807 fprog = filter->prog->orig_prog; in seccomp_get_filter()
/Linux-v5.10/kernel/bpf/
Dsyscall.c2186 prog->orig_prog = NULL; in bpf_prog_load()