Home
last modified time | relevance | path

Searched refs:orig_prog (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/arch/arm64/net/
Dbpf_jit_comp.c830 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/
Dbpf_jit_comp.c1065 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()
Dbpf_jit_comp32.c2284 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/
Dbpf_jit_comp_64.c1468 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/
Dbpf_jit_32.c1860 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/
Dbpf_jit_comp.c1550 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/
Dsock_diag.c89 fprog = filter->prog->orig_prog; in sock_diag_put_filterinfo()
Dfilter.c1116 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/
Debpf_jit.c1798 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/
Dfilter.h538 struct sock_fprog_kern *orig_prog; /* Original BPF program */ member
/Linux-v5.4/kernel/
Dseccomp.c1508 fprog = filter->prog->orig_prog; in seccomp_get_filter()
/Linux-v5.4/kernel/bpf/
Dsyscall.c1697 prog->orig_prog = NULL; in bpf_prog_load()