Searched refs:cg1 (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/samples/bpf/ |
D | test_cgrp2_attach2.c | 266 int cg1 = 0, cg2 = 0, cg3 = 0, cg4 = 0, cg5 = 0, key = 0; in test_multiprog() local 283 cg1 = create_and_get_cgroup("/cg1"); in test_multiprog() 284 if (!cg1) in test_multiprog() 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() 420 close(cg1); in test_multiprog()
|