Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/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-6.6.21/arch/loongarch/net/
Dbpf_jit.c1101 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
1108 return orig_prog; in bpf_int_jit_compile()
1117 return orig_prog; in bpf_int_jit_compile()
1128 prog = orig_prog; in bpf_int_jit_compile()
1147 prog = orig_prog; in bpf_int_jit_compile()
1154 prog = orig_prog; in bpf_int_jit_compile()
1173 prog = orig_prog; in bpf_int_jit_compile()
1189 prog = orig_prog; in bpf_int_jit_compile()
1197 prog = orig_prog; in bpf_int_jit_compile()
1244 bpf_jit_prog_release_other(prog, prog == orig_prog ? tmp : orig_prog); in bpf_int_jit_compile()
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/arch/x86/net/
Dbpf_jit_comp.c2715 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local
2729 return orig_prog; in bpf_int_jit_compile()
2737 return orig_prog; in bpf_int_jit_compile()
2747 prog = orig_prog; in bpf_int_jit_compile()
2766 prog = orig_prog; in bpf_int_jit_compile()
2800 prog = orig_prog; in bpf_int_jit_compile()
2832 prog = orig_prog; in bpf_int_jit_compile()
2872 prog = orig_prog; in bpf_int_jit_compile()
2885 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile()
2886 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-6.6.21/net/core/
Dsock_diag.c94 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
Dfilter.c1141 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter()
1142 if (!fp->orig_prog) in bpf_prog_store_orig_filter()
1145 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter()
1151 kfree(fp->orig_prog); in bpf_prog_store_orig_filter()
1160 struct sock_fprog_kern *fprog = fp->orig_prog; in bpf_release_orig_filter()
1383 fp->orig_prog = NULL; in bpf_prog_create()
1429 fp->orig_prog = NULL; in bpf_prog_create_from_user()
11076 fprog = filter->prog->orig_prog; in sk_get_filter()
/linux-6.6.21/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-6.6.21/include/linux/
Dbpf.h1505 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
/linux-6.6.21/kernel/bpf/
Dsyscall.c2710 prog->orig_prog = NULL; in bpf_prog_load()