Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/
Dtest_cgroup_attach.c292 int cg1 = 0, cg2 = 0, cg3 = 0, cg4 = 0, cg5 = 0, key = 0; in test_multiprog() local
321 cg5 = create_and_get_cgroup("/cg1/cg2/cg3/cg4/cg5"); in test_multiprog()
322 if (cg5 < 0) in test_multiprog()
358 if (bpf_prog_attach(allow_prog[5], cg5, BPF_CGROUP_INET_EGRESS, 0)) { in test_multiprog()
367 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, BPF_F_QUERY_EFFECTIVE, in test_multiprog()
371 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, BPF_F_QUERY_EFFECTIVE, in test_multiprog()
379 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, BPF_F_QUERY_EFFECTIVE, in test_multiprog()
387 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, 0, in test_multiprog()
393 if (bpf_prog_detach2(-1, cg5, BPF_CGROUP_INET_EGRESS)) { in test_multiprog()
431 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, BPF_F_QUERY_EFFECTIVE, in test_multiprog()
[all …]