Searched refs:orig_prog (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/arch/arm64/net/ |
D | bpf_jit_comp.c | 808 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 819 return orig_prog; in bpf_int_jit_compile() 826 return orig_prog; in bpf_int_jit_compile() 836 prog = orig_prog; in bpf_int_jit_compile() 854 prog = orig_prog; in bpf_int_jit_compile() 862 prog = orig_prog; in bpf_int_jit_compile() 867 prog = orig_prog; in bpf_int_jit_compile() 879 prog = orig_prog; in bpf_int_jit_compile() 893 prog = orig_prog; in bpf_int_jit_compile() 902 prog = orig_prog; in bpf_int_jit_compile() [all …]
|
/Linux-v4.19/arch/x86/net/ |
D | bpf_jit_comp.c | 1066 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1078 return orig_prog; in bpf_int_jit_compile() 1086 return orig_prog; in bpf_int_jit_compile() 1096 prog = orig_prog; in bpf_int_jit_compile() 1112 prog = orig_prog; in bpf_int_jit_compile() 1140 prog = orig_prog; in bpf_int_jit_compile() 1155 prog = orig_prog; in bpf_int_jit_compile() 1180 prog = orig_prog; in bpf_int_jit_compile() 1191 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 1192 tmp : orig_prog); in bpf_int_jit_compile()
|
D | bpf_jit_comp32.c | 2324 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 2334 return orig_prog; in bpf_int_jit_compile() 2342 return orig_prog; in bpf_int_jit_compile() 2350 prog = orig_prog; in bpf_int_jit_compile() 2377 prog = orig_prog; in bpf_int_jit_compile() 2392 prog = orig_prog; in bpf_int_jit_compile() 2409 prog = orig_prog; in bpf_int_jit_compile() 2416 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 2417 tmp : orig_prog); in bpf_int_jit_compile()
|
/Linux-v4.19/arch/sparc/net/ |
D | bpf_jit_comp_64.c | 1425 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1436 return orig_prog; in bpf_int_jit_compile() 1443 return orig_prog; in bpf_int_jit_compile() 1453 prog = orig_prog; in bpf_int_jit_compile() 1472 prog = orig_prog; in bpf_int_jit_compile() 1480 prog = orig_prog; in bpf_int_jit_compile() 1491 prog = orig_prog; in bpf_int_jit_compile() 1504 prog = orig_prog; in bpf_int_jit_compile() 1546 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 1547 tmp : orig_prog); in bpf_int_jit_compile()
|
/Linux-v4.19/arch/arm/net/ |
D | bpf_jit_32.c | 1808 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1820 return orig_prog; in bpf_int_jit_compile() 1829 return orig_prog; in bpf_int_jit_compile() 1844 prog = orig_prog; in bpf_int_jit_compile() 1859 prog = orig_prog; in bpf_int_jit_compile() 1878 prog = orig_prog; in bpf_int_jit_compile() 1903 prog = orig_prog; in bpf_int_jit_compile() 1919 prog = orig_prog; in bpf_int_jit_compile() 1928 prog = orig_prog; in bpf_int_jit_compile() 1951 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
/Linux-v4.19/arch/mips/net/ |
D | ebpf_jit.c | 1711 struct bpf_prog *orig_prog = prog; in bpf_int_jit_compile() local 1727 return orig_prog; in bpf_int_jit_compile() 1830 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 1831 tmp : orig_prog); in bpf_int_jit_compile() 1838 prog = orig_prog; in bpf_int_jit_compile()
|
/Linux-v4.19/net/core/ |
D | sock_diag.c | 88 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
|
D | filter.c | 1114 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter() 1115 if (!fp->orig_prog) in bpf_prog_store_orig_filter() 1118 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter() 1124 kfree(fp->orig_prog); in bpf_prog_store_orig_filter() 1133 struct sock_fprog_kern *fprog = fp->orig_prog; in bpf_release_orig_filter() 1356 fp->orig_prog = NULL; in bpf_prog_create() 1402 fp->orig_prog = NULL; in bpf_prog_create_from_user() 7034 fprog = filter->prog->orig_prog; in sk_get_filter()
|
/Linux-v4.19/kernel/ |
D | seccomp.c | 1049 fprog = filter->prog->orig_prog; in seccomp_get_filter()
|
/Linux-v4.19/include/linux/ |
D | filter.h | 497 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
|
/Linux-v4.19/kernel/bpf/ |
D | syscall.c | 1396 prog->orig_prog = NULL; in bpf_prog_load()
|