allow_prog 74 tools/testing/selftests/bpf/test_cgroup_attach.c int drop_prog, allow_prog, foo = 0, bar = 0, rc = 0; allow_prog 76 tools/testing/selftests/bpf/test_cgroup_attach.c allow_prog = prog_load(1); allow_prog 77 tools/testing/selftests/bpf/test_cgroup_attach.c if (!allow_prog) allow_prog 115 tools/testing/selftests/bpf/test_cgroup_attach.c if (bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, allow_prog 133 tools/testing/selftests/bpf/test_cgroup_attach.c if (bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, allow_prog 148 tools/testing/selftests/bpf/test_cgroup_attach.c if (bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, allow_prog 154 tools/testing/selftests/bpf/test_cgroup_attach.c if (!bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, 0)) { allow_prog 171 tools/testing/selftests/bpf/test_cgroup_attach.c if (bpf_prog_attach(allow_prog, foo, BPF_CGROUP_INET_EGRESS, 0)) { allow_prog 176 tools/testing/selftests/bpf/test_cgroup_attach.c if (!bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, 0)) { allow_prog 182 tools/testing/selftests/bpf/test_cgroup_attach.c if (!bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, allow_prog 189 tools/testing/selftests/bpf/test_cgroup_attach.c if (!bpf_prog_attach(allow_prog, foo, BPF_CGROUP_INET_EGRESS, allow_prog 293 tools/testing/selftests/bpf/test_cgroup_attach.c int drop_prog, allow_prog[6] = {}, rc = 0; allow_prog 298 tools/testing/selftests/bpf/test_cgroup_attach.c allow_prog[i] = prog_load_cnt(1, 1 << i); allow_prog 299 tools/testing/selftests/bpf/test_cgroup_attach.c if (!allow_prog[i]) allow_prog 328 tools/testing/selftests/bpf/test_cgroup_attach.c if (bpf_prog_attach(allow_prog[0], cg1, BPF_CGROUP_INET_EGRESS, allow_prog 333 tools/testing/selftests/bpf/test_cgroup_attach.c if (!bpf_prog_attach(allow_prog[0], cg1, BPF_CGROUP_INET_EGRESS, allow_prog 338 tools/testing/selftests/bpf/test_cgroup_attach.c if (bpf_prog_attach(allow_prog[1], cg1, BPF_CGROUP_INET_EGRESS, allow_prog 343 tools/testing/selftests/bpf/test_cgroup_attach.c if (bpf_prog_attach(allow_prog[2], cg2, BPF_CGROUP_INET_EGRESS, allow_prog 348 tools/testing/selftests/bpf/test_cgroup_attach.c if (bpf_prog_attach(allow_prog[3], cg3, BPF_CGROUP_INET_EGRESS, allow_prog 353 tools/testing/selftests/bpf/test_cgroup_attach.c if (bpf_prog_attach(allow_prog[4], cg4, BPF_CGROUP_INET_EGRESS, allow_prog 358 tools/testing/selftests/bpf/test_cgroup_attach.c if (bpf_prog_attach(allow_prog[5], cg5, BPF_CGROUP_INET_EGRESS, 0)) { allow_prog 409 tools/testing/selftests/bpf/test_cgroup_attach.c if (bpf_prog_detach2(allow_prog[3], cg3, BPF_CGROUP_INET_EGRESS)) { allow_prog 444 tools/testing/selftests/bpf/test_cgroup_attach.c if (allow_prog[i] > 0) allow_prog 445 tools/testing/selftests/bpf/test_cgroup_attach.c close(allow_prog[i]); allow_prog 462 tools/testing/selftests/bpf/test_cgroup_attach.c int allow_prog[2] = {0}; allow_prog 468 tools/testing/selftests/bpf/test_cgroup_attach.c for (i = 0; i < ARRAY_SIZE(allow_prog); i++) { allow_prog 469 tools/testing/selftests/bpf/test_cgroup_attach.c allow_prog[i] = prog_load_cnt(1, 1 << i); allow_prog 470 tools/testing/selftests/bpf/test_cgroup_attach.c if (!allow_prog[i]) allow_prog 485 tools/testing/selftests/bpf/test_cgroup_attach.c for (i = 0; i < ARRAY_SIZE(allow_prog); i++) { allow_prog 486 tools/testing/selftests/bpf/test_cgroup_attach.c if (bpf_prog_attach(allow_prog[i], cg, BPF_CGROUP_INET_EGRESS, allow_prog 504 tools/testing/selftests/bpf/test_cgroup_attach.c for (i = 0; i < ARRAY_SIZE(allow_prog); i++) { allow_prog 505 tools/testing/selftests/bpf/test_cgroup_attach.c close(allow_prog[i]); allow_prog 506 tools/testing/selftests/bpf/test_cgroup_attach.c allow_prog[i] = 0; allow_prog 537 tools/testing/selftests/bpf/test_cgroup_attach.c for (i = 0; i < ARRAY_SIZE(allow_prog); i++) allow_prog 538 tools/testing/selftests/bpf/test_cgroup_attach.c if (allow_prog[i] > 0) allow_prog 539 tools/testing/selftests/bpf/test_cgroup_attach.c close(allow_prog[i]); allow_prog 2913 tools/testing/selftests/seccomp/seccomp_bpf.c struct sock_fprog allow_prog = { allow_prog 2929 tools/testing/selftests/seccomp/seccomp_bpf.c &allow_prog); allow_prog 2941 tools/testing/selftests/seccomp/seccomp_bpf.c ret = seccomp(SECCOMP_SET_MODE_FILTER, 0, &allow_prog); allow_prog 2946 tools/testing/selftests/seccomp/seccomp_bpf.c &allow_prog);