Searched refs:orig_prog (Results 1 – 12 of 12) sorted by relevance
/linux/arch/riscv/net/ |
A 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() 116 prog = orig_prog; in bpf_int_jit_compile() 133 prog = orig_prog; in bpf_int_jit_compile() 148 prog = orig_prog; in bpf_int_jit_compile() 172 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
/linux/arch/arm64/net/ |
A D | bpf_jit_comp.c | 999 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1009 return orig_prog; in bpf_int_jit_compile() 1016 return orig_prog; in bpf_int_jit_compile() 1026 prog = orig_prog; in bpf_int_jit_compile() 1044 prog = orig_prog; in bpf_int_jit_compile() 1052 prog = orig_prog; in bpf_int_jit_compile() 1057 prog = orig_prog; in bpf_int_jit_compile() 1073 prog = orig_prog; in bpf_int_jit_compile() 1090 prog = orig_prog; in bpf_int_jit_compile() 1099 prog = orig_prog; in bpf_int_jit_compile() [all …]
|
/linux/arch/mips/net/ |
A 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/arch/sparc/net/ |
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() 1625 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
/linux/arch/arm/net/ |
A D | bpf_jit_32.c | 1892 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1904 return orig_prog; in bpf_int_jit_compile() 1913 return orig_prog; in bpf_int_jit_compile() 1928 prog = orig_prog; in bpf_int_jit_compile() 1943 prog = orig_prog; in bpf_int_jit_compile() 1962 prog = orig_prog; in bpf_int_jit_compile() 1987 prog = orig_prog; in bpf_int_jit_compile() 2003 prog = orig_prog; in bpf_int_jit_compile() 2012 prog = orig_prog; in bpf_int_jit_compile() 2035 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
/linux/arch/x86/net/ |
A D | bpf_jit_comp.c | 2236 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 2249 return orig_prog; in bpf_int_jit_compile() 2257 return orig_prog; in bpf_int_jit_compile() 2267 prog = orig_prog; in bpf_int_jit_compile() 2284 prog = orig_prog; in bpf_int_jit_compile() 2314 prog = orig_prog; in bpf_int_jit_compile() 2340 prog = orig_prog; in bpf_int_jit_compile() 2367 prog = orig_prog; in bpf_int_jit_compile() 2380 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 2381 tmp : orig_prog); in bpf_int_jit_compile()
|
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() 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/net/core/ |
A D | sock_diag.c | 90 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
|
A 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() 10169 fprog = filter->prog->orig_prog; in sk_get_filter()
|
/linux/kernel/ |
A 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/include/linux/ |
A D | filter.h | 586 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
|
/linux/kernel/bpf/ |
A D | syscall.c | 2319 prog->orig_prog = NULL; in bpf_prog_load()
|
Completed in 57 milliseconds