Lines Matching refs:bpf_prog_attach
86 if (bpf_prog_attach(drop_prog, foo, BPF_CGROUP_INET_EGRESS, in test_foo_bar()
106 if (bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in test_foo_bar()
124 if (bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in test_foo_bar()
139 if (bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in test_foo_bar()
145 if (!bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, 0)) { in test_foo_bar()
162 if (bpf_prog_attach(allow_prog, foo, BPF_CGROUP_INET_EGRESS, 0)) { in test_foo_bar()
167 if (!bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, 0)) { in test_foo_bar()
173 if (!bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in test_foo_bar()
180 if (!bpf_prog_attach(allow_prog, foo, BPF_CGROUP_INET_EGRESS, in test_foo_bar()
187 if (bpf_prog_attach(drop_prog, foo, BPF_CGROUP_INET_EGRESS, 0)) { in test_foo_bar()
302 if (bpf_prog_attach(allow_prog[0], cg1, BPF_CGROUP_INET_EGRESS, in test_multiprog()
307 if (!bpf_prog_attach(allow_prog[0], cg1, BPF_CGROUP_INET_EGRESS, in test_multiprog()
312 if (bpf_prog_attach(allow_prog[1], cg1, BPF_CGROUP_INET_EGRESS, in test_multiprog()
317 if (bpf_prog_attach(allow_prog[2], cg2, BPF_CGROUP_INET_EGRESS, in test_multiprog()
322 if (bpf_prog_attach(allow_prog[3], cg3, BPF_CGROUP_INET_EGRESS, in test_multiprog()
327 if (bpf_prog_attach(allow_prog[4], cg4, BPF_CGROUP_INET_EGRESS, in test_multiprog()
332 if (bpf_prog_attach(allow_prog[5], cg5, BPF_CGROUP_INET_EGRESS, 0)) { in test_multiprog()