Searched refs:orig_prog (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/arch/riscv/net/ |
D | bpf_jit_core.c | 45 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() 113 prog = orig_prog; in bpf_int_jit_compile() 130 prog = orig_prog; in bpf_int_jit_compile() 141 prog = orig_prog; in bpf_int_jit_compile() 164 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/net/ |
D | bpf_jit_comp.c | 994 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1004 return orig_prog; in bpf_int_jit_compile() 1011 return orig_prog; in bpf_int_jit_compile() 1021 prog = orig_prog; in bpf_int_jit_compile() 1039 prog = orig_prog; in bpf_int_jit_compile() 1050 prog = orig_prog; in bpf_int_jit_compile() 1055 prog = orig_prog; in bpf_int_jit_compile() 1071 prog = orig_prog; in bpf_int_jit_compile() 1088 prog = orig_prog; in bpf_int_jit_compile() 1097 prog = orig_prog; in bpf_int_jit_compile() [all …]
|
/kernel/linux/linux-5.10/arch/sparc/net/ |
D | bpf_jit_comp_64.c | 1471 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1482 return orig_prog; in bpf_int_jit_compile() 1489 return orig_prog; in bpf_int_jit_compile() 1499 prog = orig_prog; in bpf_int_jit_compile() 1520 prog = orig_prog; in bpf_int_jit_compile() 1536 prog = orig_prog; in bpf_int_jit_compile() 1562 prog = orig_prog; in bpf_int_jit_compile() 1574 prog = orig_prog; in bpf_int_jit_compile() 1584 prog = orig_prog; in bpf_int_jit_compile() 1614 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
/kernel/linux/linux-5.10/arch/x86/net/ |
D | bpf_jit_comp.c | 2015 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 2027 return orig_prog; in bpf_int_jit_compile() 2035 return orig_prog; in bpf_int_jit_compile() 2045 prog = orig_prog; in bpf_int_jit_compile() 2061 prog = orig_prog; in bpf_int_jit_compile() 2089 prog = orig_prog; in bpf_int_jit_compile() 2115 prog = orig_prog; in bpf_int_jit_compile() 2142 prog = orig_prog; in bpf_int_jit_compile() 2155 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 2156 tmp : orig_prog); in bpf_int_jit_compile()
|
D | bpf_jit_comp32.c | 2333 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 2343 return orig_prog; in bpf_int_jit_compile() 2351 return orig_prog; in bpf_int_jit_compile() 2359 prog = orig_prog; in bpf_int_jit_compile() 2386 prog = orig_prog; in bpf_int_jit_compile() 2401 prog = orig_prog; in bpf_int_jit_compile() 2418 prog = orig_prog; in bpf_int_jit_compile() 2425 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 2426 tmp : orig_prog); in bpf_int_jit_compile()
|
/kernel/linux/linux-5.10/arch/arm/net/ |
D | bpf_jit_32.c | 1898 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1910 return orig_prog; in bpf_int_jit_compile() 1919 return orig_prog; in bpf_int_jit_compile() 1934 prog = orig_prog; in bpf_int_jit_compile() 1949 prog = orig_prog; in bpf_int_jit_compile() 1968 prog = orig_prog; in bpf_int_jit_compile() 1993 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() 2041 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
/kernel/linux/linux-5.10/net/core/ |
D | sock_diag.c | 90 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
|
D | filter.c | 1135 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter() 1136 if (!fp->orig_prog) in bpf_prog_store_orig_filter() 1139 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter() 1145 kfree(fp->orig_prog); in bpf_prog_store_orig_filter() 1154 struct sock_fprog_kern *fprog = fp->orig_prog; in bpf_release_orig_filter() 1378 fp->orig_prog = NULL; in bpf_prog_create() 1424 fp->orig_prog = NULL; in bpf_prog_create_from_user() 9903 fprog = filter->prog->orig_prog; in sk_get_filter()
|
/kernel/linux/linux-5.10/arch/mips/net/ |
D | ebpf_jit.c | 1802 struct bpf_prog *orig_prog = prog; in bpf_int_jit_compile() local 1818 return orig_prog; in bpf_int_jit_compile() 1921 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 1922 tmp : orig_prog); in bpf_int_jit_compile() 1929 prog = orig_prog; in bpf_int_jit_compile()
|
/kernel/linux/linux-5.10/include/linux/ |
D | filter.h | 559 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
|
/kernel/linux/linux-5.10/kernel/ |
D | seccomp.c | 1811 fprog = filter->prog->orig_prog; in seccomp_get_filter()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | syscall.c | 2207 prog->orig_prog = NULL; in bpf_prog_load()
|