Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/riscv/net/
A Dbpf_jit_core.c46 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()
117 prog = orig_prog; in bpf_int_jit_compile()
134 prog = orig_prog; in bpf_int_jit_compile()
149 prog = orig_prog; in bpf_int_jit_compile()
178 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
[all …]
/linux-6.3-rc2/arch/loongarch/net/
A Dbpf_jit.c1102 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1109 return orig_prog; in bpf_int_jit_compile()
1118 return orig_prog; in bpf_int_jit_compile()
1129 prog = orig_prog; in bpf_int_jit_compile()
1148 prog = orig_prog; in bpf_int_jit_compile()
1155 prog = orig_prog; in bpf_int_jit_compile()
1174 prog = orig_prog; in bpf_int_jit_compile()
1190 prog = orig_prog; in bpf_int_jit_compile()
1198 prog = orig_prog; in bpf_int_jit_compile()
1245 bpf_jit_prog_release_other(prog, prog == orig_prog ? tmp : orig_prog); in bpf_int_jit_compile()
/linux-6.3-rc2/arch/mips/net/
A Dbpf_jit_comp.c910 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
924 return orig_prog; in bpf_int_jit_compile()
932 return orig_prog; in bpf_int_jit_compile()
1024 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
1025 tmp : orig_prog); in bpf_int_jit_compile()
1030 prog = orig_prog; in bpf_int_jit_compile()
/linux-6.3-rc2/arch/sparc/net/
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()
1625 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
[all …]
/linux-6.3-rc2/arch/arm64/net/
A Dbpf_jit_comp.c1456 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1466 return orig_prog; in bpf_int_jit_compile()
1473 return orig_prog; in bpf_int_jit_compile()
1483 prog = orig_prog; in bpf_int_jit_compile()
1501 prog = orig_prog; in bpf_int_jit_compile()
1514 prog = orig_prog; in bpf_int_jit_compile()
1519 prog = orig_prog; in bpf_int_jit_compile()
1539 prog = orig_prog; in bpf_int_jit_compile()
1556 prog = orig_prog; in bpf_int_jit_compile()
1566 prog = orig_prog; in bpf_int_jit_compile()
[all …]
/linux-6.3-rc2/arch/arm/net/
A Dbpf_jit_32.c1877 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1889 return orig_prog; in bpf_int_jit_compile()
1898 return orig_prog; in bpf_int_jit_compile()
1913 prog = orig_prog; in bpf_int_jit_compile()
1928 prog = orig_prog; in bpf_int_jit_compile()
1947 prog = orig_prog; in bpf_int_jit_compile()
1972 prog = orig_prog; in bpf_int_jit_compile()
1988 prog = orig_prog; in bpf_int_jit_compile()
1997 prog = orig_prog; in bpf_int_jit_compile()
2020 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
[all …]
/linux-6.3-rc2/arch/x86/net/
A Dbpf_jit_comp.c2446 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
2460 return orig_prog; in bpf_int_jit_compile()
2468 return orig_prog; in bpf_int_jit_compile()
2478 prog = orig_prog; in bpf_int_jit_compile()
2497 prog = orig_prog; in bpf_int_jit_compile()
2531 prog = orig_prog; in bpf_int_jit_compile()
2563 prog = orig_prog; in bpf_int_jit_compile()
2603 prog = orig_prog; in bpf_int_jit_compile()
2616 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
2617 tmp : orig_prog); in bpf_int_jit_compile()
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()
2609 prog = orig_prog; in bpf_int_jit_compile()
2616 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
2617 tmp : orig_prog); in bpf_int_jit_compile()
/linux-6.3-rc2/net/core/
A Dsock_diag.c94 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
A Dfilter.c1139 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter()
1140 if (!fp->orig_prog) in bpf_prog_store_orig_filter()
1143 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter()
1149 kfree(fp->orig_prog); in bpf_prog_store_orig_filter()
1158 struct sock_fprog_kern *fprog = fp->orig_prog; in bpf_release_orig_filter()
1381 fp->orig_prog = NULL; in bpf_prog_create()
1427 fp->orig_prog = NULL; in bpf_prog_create_from_user()
10905 fprog = filter->prog->orig_prog; in sk_get_filter()
/linux-6.3-rc2/kernel/
A Dseccomp.c797 struct sock_fprog_kern *fprog = sfilter->prog->orig_prog; in seccomp_cache_prepare_bitmap()
2110 fprog = filter->prog->orig_prog; in seccomp_get_filter()
/linux-6.3-rc2/include/linux/
A Dbpf.h1398 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
/linux-6.3-rc2/kernel/bpf/
A Dsyscall.c2601 prog->orig_prog = NULL; in bpf_prog_load()

Completed in 77 milliseconds