Home
last modified time | relevance | path

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

/Linux-v6.1/arch/riscv/net/
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-v6.1/arch/loongarch/net/
Dbpf_jit.c1032 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1039 return orig_prog; in bpf_int_jit_compile()
1048 return orig_prog; in bpf_int_jit_compile()
1059 prog = orig_prog; in bpf_int_jit_compile()
1078 prog = orig_prog; in bpf_int_jit_compile()
1085 prog = orig_prog; in bpf_int_jit_compile()
1101 prog = orig_prog; in bpf_int_jit_compile()
1114 prog = orig_prog; in bpf_int_jit_compile()
1122 prog = orig_prog; in bpf_int_jit_compile()
1169 bpf_jit_prog_release_other(prog, prog == orig_prog ? tmp : orig_prog); in bpf_int_jit_compile()
/Linux-v6.1/arch/mips/net/
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-v6.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()
1625 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
[all …]
/Linux-v6.1/arch/arm64/net/
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-v6.1/arch/arm/net/
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-v6.1/arch/x86/net/
Dbpf_jit_comp.c2354 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
2368 return orig_prog; in bpf_int_jit_compile()
2376 return orig_prog; in bpf_int_jit_compile()
2386 prog = orig_prog; in bpf_int_jit_compile()
2405 prog = orig_prog; in bpf_int_jit_compile()
2439 prog = orig_prog; in bpf_int_jit_compile()
2471 prog = orig_prog; in bpf_int_jit_compile()
2511 prog = orig_prog; in bpf_int_jit_compile()
2524 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
2525 tmp : orig_prog); in bpf_int_jit_compile()
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-v6.1/net/core/
Dsock_diag.c91 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
Dfilter.c1138 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter()
1139 if (!fp->orig_prog) in bpf_prog_store_orig_filter()
1142 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter()
1148 kfree(fp->orig_prog); in bpf_prog_store_orig_filter()
1157 struct sock_fprog_kern *fprog = fp->orig_prog; in bpf_release_orig_filter()
1380 fp->orig_prog = NULL; in bpf_prog_create()
1426 fp->orig_prog = NULL; in bpf_prog_create_from_user()
10815 fprog = filter->prog->orig_prog; in sk_get_filter()
/Linux-v6.1/kernel/
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-v6.1/include/linux/
Dbpf.h1241 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
/Linux-v6.1/kernel/bpf/
Dsyscall.c2581 prog->orig_prog = NULL; in bpf_prog_load()