| /linux-6.15/arch/riscv/net/ |
| H A D | bpf_jit_core.c | 55 return orig_prog; in bpf_int_jit_compile() 59 return orig_prog; in bpf_int_jit_compile() 69 prog = orig_prog; in bpf_int_jit_compile() 88 prog = orig_prog; in bpf_int_jit_compile() 93 prog = orig_prog; in bpf_int_jit_compile() 110 prog = orig_prog; in bpf_int_jit_compile() 131 prog = orig_prog; in bpf_int_jit_compile() 154 prog = orig_prog; in bpf_int_jit_compile() 168 prog = orig_prog; in bpf_int_jit_compile() 184 prog = orig_prog; in bpf_int_jit_compile() [all …]
|
| /linux-6.15/arch/parisc/net/ |
| H A D | bpf_jit_core.c | 48 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() 191 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
| /linux-6.15/arch/loongarch/net/ |
| H A D | bpf_jit.c | 1197 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1204 return orig_prog; in bpf_int_jit_compile() 1213 return orig_prog; in bpf_int_jit_compile() 1224 prog = orig_prog; in bpf_int_jit_compile() 1243 prog = orig_prog; in bpf_int_jit_compile() 1250 prog = orig_prog; in bpf_int_jit_compile() 1269 prog = orig_prog; in bpf_int_jit_compile() 1285 prog = orig_prog; in bpf_int_jit_compile() 1293 prog = orig_prog; in bpf_int_jit_compile() 1343 bpf_jit_prog_release_other(prog, prog == orig_prog ? tmp : orig_prog); in bpf_int_jit_compile()
|
| /linux-6.15/arch/sparc/net/ |
| H A D | bpf_jit_comp_64.c | 1482 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() 1607 prog = orig_prog; in bpf_int_jit_compile() [all …]
|
| /linux-6.15/arch/mips/net/ |
| H A D | bpf_jit_comp.c | 914 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() 1029 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 1030 tmp : orig_prog); in bpf_int_jit_compile() 1035 prog = orig_prog; in bpf_int_jit_compile()
|
| /linux-6.15/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 1889 return orig_prog; in bpf_int_jit_compile() 1896 return orig_prog; in bpf_int_jit_compile() 1906 prog = orig_prog; in bpf_int_jit_compile() 1927 prog = orig_prog; in bpf_int_jit_compile() 1940 prog = orig_prog; in bpf_int_jit_compile() 1945 prog = orig_prog; in bpf_int_jit_compile() 1966 prog = orig_prog; in bpf_int_jit_compile() 1997 prog = orig_prog; in bpf_int_jit_compile() 2009 prog = orig_prog; in bpf_int_jit_compile() 2018 prog = orig_prog; in bpf_int_jit_compile() [all …]
|
| /linux-6.15/arch/arc/net/ |
| H A D | bpf_jit_core.c | 102 struct bpf_prog *orig_prog; member 164 ctx->orig_prog = prog; in jit_ctx_init() 170 ctx->blinded = (ctx->prog != ctx->orig_prog); in jit_ctx_init() 220 bpf_jit_prog_release_other(ctx->prog, ctx->orig_prog); in jit_ctx_cleanup() 222 bpf_jit_prog_release_other(ctx->orig_prog, ctx->prog); in jit_ctx_cleanup()
|
| /linux-6.15/arch/arm/net/ |
| H A D | bpf_jit_32.c | 2147 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 2159 return orig_prog; in bpf_int_jit_compile() 2168 return orig_prog; in bpf_int_jit_compile() 2183 prog = orig_prog; in bpf_int_jit_compile() 2198 prog = orig_prog; in bpf_int_jit_compile() 2217 prog = orig_prog; in bpf_int_jit_compile() 2242 prog = orig_prog; in bpf_int_jit_compile() 2283 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 2284 tmp : orig_prog); in bpf_int_jit_compile() 2290 prog = orig_prog; in bpf_int_jit_compile()
|
| /linux-6.15/arch/x86/net/ |
| H A D | bpf_jit_comp32.c | 2524 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() 2608 prog = orig_prog; in bpf_int_jit_compile() 2615 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 2616 tmp : orig_prog); in bpf_int_jit_compile()
|
| H A D | bpf_jit_comp.c | 3556 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 3572 return orig_prog; in bpf_int_jit_compile() 3580 return orig_prog; in bpf_int_jit_compile() 3590 prog = orig_prog; in bpf_int_jit_compile() 3605 prog = orig_prog; in bpf_int_jit_compile() 3626 prog = orig_prog; in bpf_int_jit_compile() 3660 prog = orig_prog; in bpf_int_jit_compile() 3692 prog = orig_prog; in bpf_int_jit_compile() 3739 prog = orig_prog; in bpf_int_jit_compile() 3757 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
| /linux-6.15/net/core/ |
| H A D | sock_diag.c | 95 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
|
| H A D | filter.c | 1156 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter() 1157 if (!fp->orig_prog) in bpf_prog_store_orig_filter() 1160 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter() 1166 kfree(fp->orig_prog); in bpf_prog_store_orig_filter() 1175 struct sock_fprog_kern *fprog = fp->orig_prog; in bpf_release_orig_filter() 1398 fp->orig_prog = NULL; in bpf_prog_create() 1444 fp->orig_prog = NULL; in bpf_prog_create_from_user() 11261 fprog = filter->prog->orig_prog; in sk_get_filter()
|
| /linux-6.15/kernel/ |
| H A D | seccomp.c | 836 struct sock_fprog_kern *fprog = sfilter->prog->orig_prog; in seccomp_cache_prepare_bitmap() 2213 fprog = filter->prog->orig_prog; in seccomp_get_filter()
|
| /linux-6.15/include/linux/ |
| H A D | bpf.h | 1658 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
|
| /linux-6.15/kernel/bpf/ |
| H A D | syscall.c | 2921 prog->orig_prog = NULL; in bpf_prog_load()
|