Searched refs:orig_prog (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.15/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() 165 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
/Linux-v5.15/arch/arm64/net/ |
D | bpf_jit_comp.c | 996 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1006 return orig_prog; in bpf_int_jit_compile() 1013 return orig_prog; in bpf_int_jit_compile() 1023 prog = orig_prog; in bpf_int_jit_compile() 1041 prog = orig_prog; in bpf_int_jit_compile() 1049 prog = orig_prog; in bpf_int_jit_compile() 1054 prog = orig_prog; in bpf_int_jit_compile() 1070 prog = orig_prog; in bpf_int_jit_compile() 1087 prog = orig_prog; in bpf_int_jit_compile() 1096 prog = orig_prog; in bpf_int_jit_compile() [all …]
|
/Linux-v5.15/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-v5.15/arch/arm/net/ |
D | bpf_jit_32.c | 1897 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1909 return orig_prog; in bpf_int_jit_compile() 1918 return orig_prog; in bpf_int_jit_compile() 1933 prog = orig_prog; in bpf_int_jit_compile() 1948 prog = orig_prog; in bpf_int_jit_compile() 1967 prog = orig_prog; in bpf_int_jit_compile() 1992 prog = orig_prog; in bpf_int_jit_compile() 2008 prog = orig_prog; in bpf_int_jit_compile() 2017 prog = orig_prog; in bpf_int_jit_compile() 2040 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
/Linux-v5.15/arch/x86/net/ |
D | bpf_jit_comp.c | 2249 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 2262 return orig_prog; in bpf_int_jit_compile() 2270 return orig_prog; in bpf_int_jit_compile() 2280 prog = orig_prog; in bpf_int_jit_compile() 2297 prog = orig_prog; in bpf_int_jit_compile() 2327 prog = orig_prog; in bpf_int_jit_compile() 2353 prog = orig_prog; in bpf_int_jit_compile() 2380 prog = orig_prog; in bpf_int_jit_compile() 2393 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 2394 tmp : orig_prog); in bpf_int_jit_compile()
|
D | bpf_jit_comp32.c | 2508 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 2518 return orig_prog; in bpf_int_jit_compile() 2526 return orig_prog; in bpf_int_jit_compile() 2534 prog = orig_prog; in bpf_int_jit_compile() 2561 prog = orig_prog; in bpf_int_jit_compile() 2576 prog = orig_prog; in bpf_int_jit_compile() 2593 prog = orig_prog; in bpf_int_jit_compile() 2600 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 2601 tmp : orig_prog); in bpf_int_jit_compile()
|
/Linux-v5.15/net/core/ |
D | sock_diag.c | 90 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
|
D | filter.c | 1136 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter() 1137 if (!fp->orig_prog) in bpf_prog_store_orig_filter() 1140 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter() 1146 kfree(fp->orig_prog); in bpf_prog_store_orig_filter() 1155 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() 10100 fprog = filter->prog->orig_prog; in sk_get_filter()
|
/Linux-v5.15/arch/mips/net/ |
D | ebpf_jit.c | 1807 struct bpf_prog *orig_prog = prog; in bpf_int_jit_compile() local 1823 return orig_prog; in bpf_int_jit_compile() 1926 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 1927 tmp : orig_prog); in bpf_int_jit_compile() 1934 prog = orig_prog; in bpf_int_jit_compile()
|
/Linux-v5.15/kernel/ |
D | seccomp.c | 792 struct sock_fprog_kern *fprog = sfilter->prog->orig_prog; in seccomp_cache_prepare_bitmap() 2063 fprog = filter->prog->orig_prog; in seccomp_get_filter()
|
/Linux-v5.15/include/linux/ |
D | filter.h | 587 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
|
/Linux-v5.15/kernel/bpf/ |
D | syscall.c | 2280 prog->orig_prog = NULL; in bpf_prog_load()
|