/linux-6.6.21/arch/riscv/net/ |
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() 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/ |
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() 185 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
/linux-6.6.21/arch/loongarch/net/ |
D | bpf_jit.c | 1101 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/ |
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() 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/ |
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-6.6.21/arch/arm64/net/ |
D | bpf_jit_comp.c | 1521 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/ |
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-6.6.21/arch/x86/net/ |
D | bpf_jit_comp.c | 2715 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()
|
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-6.6.21/net/core/ |
D | sock_diag.c | 94 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
|
D | filter.c | 1141 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/ |
D | seccomp.c | 806 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/ |
D | bpf.h | 1505 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
|
/linux-6.6.21/kernel/bpf/ |
D | syscall.c | 2710 prog->orig_prog = NULL; in bpf_prog_load()
|