Home
last modified time | relevance | path

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

/Linux-v6.6/arch/riscv/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()
90 prog = orig_prog; in bpf_int_jit_compile()
107 prog = orig_prog; in bpf_int_jit_compile()
128 prog = orig_prog; in bpf_int_jit_compile()
151 prog = orig_prog; in bpf_int_jit_compile()
165 prog = orig_prog; in bpf_int_jit_compile()
[all …]
/Linux-v6.6/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()
185 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
[all …]
/Linux-v6.6/arch/loongarch/net/
Dbpf_jit.c1106 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1113 return orig_prog; in bpf_int_jit_compile()
1122 return orig_prog; in bpf_int_jit_compile()
1133 prog = orig_prog; in bpf_int_jit_compile()
1152 prog = orig_prog; in bpf_int_jit_compile()
1159 prog = orig_prog; in bpf_int_jit_compile()
1178 prog = orig_prog; in bpf_int_jit_compile()
1194 prog = orig_prog; in bpf_int_jit_compile()
1202 prog = orig_prog; in bpf_int_jit_compile()
1249 bpf_jit_prog_release_other(prog, prog == orig_prog ? tmp : orig_prog); in bpf_int_jit_compile()
/Linux-v6.6/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()
1028 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
1029 tmp : orig_prog); in bpf_int_jit_compile()
1034 prog = orig_prog; in bpf_int_jit_compile()
/Linux-v6.6/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.6/arch/arm64/net/
Dbpf_jit_comp.c1521 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1531 return orig_prog; in bpf_int_jit_compile()
1538 return orig_prog; in bpf_int_jit_compile()
1548 prog = orig_prog; in bpf_int_jit_compile()
1566 prog = orig_prog; in bpf_int_jit_compile()
1579 prog = orig_prog; in bpf_int_jit_compile()
1584 prog = orig_prog; in bpf_int_jit_compile()
1604 prog = orig_prog; in bpf_int_jit_compile()
1621 prog = orig_prog; in bpf_int_jit_compile()
1631 prog = orig_prog; in bpf_int_jit_compile()
[all …]
/Linux-v6.6/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.6/arch/x86/net/
Dbpf_jit_comp.c2699 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
2713 return orig_prog; in bpf_int_jit_compile()
2721 return orig_prog; in bpf_int_jit_compile()
2731 prog = orig_prog; in bpf_int_jit_compile()
2750 prog = orig_prog; in bpf_int_jit_compile()
2784 prog = orig_prog; in bpf_int_jit_compile()
2816 prog = orig_prog; in bpf_int_jit_compile()
2856 prog = orig_prog; in bpf_int_jit_compile()
2869 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
2870 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.6/net/core/
Dsock_diag.c94 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
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()
11007 fprog = filter->prog->orig_prog; in sk_get_filter()
/Linux-v6.6/kernel/
Dseccomp.c806 struct sock_fprog_kern *fprog = sfilter->prog->orig_prog; in seccomp_cache_prepare_bitmap()
2174 fprog = filter->prog->orig_prog; in seccomp_get_filter()
/Linux-v6.6/include/linux/
Dbpf.h1487 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
/Linux-v6.6/kernel/bpf/
Dsyscall.c2678 prog->orig_prog = NULL; in bpf_prog_load()