Searched refs:orig_prog (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.4/arch/arm64/net/ |
| D | bpf_jit_comp.c | 830 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 841 return orig_prog; in bpf_int_jit_compile() 848 return orig_prog; in bpf_int_jit_compile() 858 prog = orig_prog; in bpf_int_jit_compile() 876 prog = orig_prog; in bpf_int_jit_compile() 884 prog = orig_prog; in bpf_int_jit_compile() 889 prog = orig_prog; in bpf_int_jit_compile() 901 prog = orig_prog; in bpf_int_jit_compile() 915 prog = orig_prog; in bpf_int_jit_compile() 924 prog = orig_prog; in bpf_int_jit_compile() [all …]
|
| /Linux-v5.4/arch/x86/net/ |
| D | bpf_jit_comp.c | 1065 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1077 return orig_prog; in bpf_int_jit_compile() 1085 return orig_prog; in bpf_int_jit_compile() 1095 prog = orig_prog; in bpf_int_jit_compile() 1111 prog = orig_prog; in bpf_int_jit_compile() 1139 prog = orig_prog; in bpf_int_jit_compile() 1154 prog = orig_prog; in bpf_int_jit_compile() 1179 prog = orig_prog; in bpf_int_jit_compile() 1192 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 1193 tmp : orig_prog); in bpf_int_jit_compile()
|
| D | bpf_jit_comp32.c | 2284 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 2294 return orig_prog; in bpf_int_jit_compile() 2302 return orig_prog; in bpf_int_jit_compile() 2310 prog = orig_prog; in bpf_int_jit_compile() 2337 prog = orig_prog; in bpf_int_jit_compile() 2352 prog = orig_prog; in bpf_int_jit_compile() 2369 prog = orig_prog; in bpf_int_jit_compile() 2376 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 2377 tmp : orig_prog); in bpf_int_jit_compile()
|
| /Linux-v5.4/arch/sparc/net/ |
| D | bpf_jit_comp_64.c | 1468 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1479 return orig_prog; in bpf_int_jit_compile() 1486 return orig_prog; in bpf_int_jit_compile() 1496 prog = orig_prog; in bpf_int_jit_compile() 1517 prog = orig_prog; in bpf_int_jit_compile() 1533 prog = orig_prog; in bpf_int_jit_compile() 1559 prog = orig_prog; in bpf_int_jit_compile() 1571 prog = orig_prog; in bpf_int_jit_compile() 1581 prog = orig_prog; in bpf_int_jit_compile() 1611 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
| /Linux-v5.4/arch/arm/net/ |
| D | bpf_jit_32.c | 1860 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1872 return orig_prog; in bpf_int_jit_compile() 1881 return orig_prog; in bpf_int_jit_compile() 1896 prog = orig_prog; in bpf_int_jit_compile() 1911 prog = orig_prog; in bpf_int_jit_compile() 1930 prog = orig_prog; in bpf_int_jit_compile() 1955 prog = orig_prog; in bpf_int_jit_compile() 1971 prog = orig_prog; in bpf_int_jit_compile() 1980 prog = orig_prog; in bpf_int_jit_compile() 2003 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() [all …]
|
| /Linux-v5.4/arch/riscv/net/ |
| D | bpf_jit_comp.c | 1550 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile() local 1556 return orig_prog; in bpf_int_jit_compile() 1560 return orig_prog; in bpf_int_jit_compile() 1570 prog = orig_prog; in bpf_int_jit_compile() 1587 prog = orig_prog; in bpf_int_jit_compile() 1593 prog = orig_prog; in bpf_int_jit_compile() 1606 prog = orig_prog; in bpf_int_jit_compile() 1618 prog = orig_prog; in bpf_int_jit_compile() 1640 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 1641 tmp : orig_prog); in bpf_int_jit_compile()
|
| /Linux-v5.4/net/core/ |
| D | sock_diag.c | 89 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
|
| D | filter.c | 1116 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter() 1117 if (!fp->orig_prog) in bpf_prog_store_orig_filter() 1120 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter() 1126 kfree(fp->orig_prog); in bpf_prog_store_orig_filter() 1135 struct sock_fprog_kern *fprog = fp->orig_prog; in bpf_release_orig_filter() 1358 fp->orig_prog = NULL; in bpf_prog_create() 1404 fp->orig_prog = NULL; in bpf_prog_create_from_user() 8647 fprog = filter->prog->orig_prog; in sk_get_filter()
|
| /Linux-v5.4/arch/mips/net/ |
| D | ebpf_jit.c | 1798 struct bpf_prog *orig_prog = prog; in bpf_int_jit_compile() local 1814 return orig_prog; in bpf_int_jit_compile() 1917 bpf_jit_prog_release_other(prog, prog == orig_prog ? in bpf_int_jit_compile() 1918 tmp : orig_prog); in bpf_int_jit_compile() 1925 prog = orig_prog; in bpf_int_jit_compile()
|
| /Linux-v5.4/include/linux/ |
| D | filter.h | 538 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
|
| /Linux-v5.4/kernel/ |
| D | seccomp.c | 1508 fprog = filter->prog->orig_prog; in seccomp_get_filter()
|
| /Linux-v5.4/kernel/bpf/ |
| D | syscall.c | 1697 prog->orig_prog = NULL; in bpf_prog_load()
|