/Linux-v6.1/arch/riscv/net/ |
D | bpf_jit_core.c | 46 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/ |
D | bpf_jit.c | 1032 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/ |
D | bpf_jit_comp.c | 910 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/ |
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() 1625 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
/Linux-v6.1/arch/arm64/net/ |
D | bpf_jit_comp.c | 1456 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/ |
D | bpf_jit_32.c | 1877 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/ |
D | bpf_jit_comp.c | 2354 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()
|
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() 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/ |
D | sock_diag.c | 91 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
|
D | filter.c | 1138 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/ |
D | seccomp.c | 797 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/ |
D | bpf.h | 1241 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
|
/Linux-v6.1/kernel/bpf/ |
D | syscall.c | 2581 prog->orig_prog = NULL; in bpf_prog_load()
|