Searched refs:cg_nr (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | cgroup_link.c | 38 int last_cg = ARRAY_SIZE(cgs) - 1, cg_nr = ARRAY_SIZE(cgs); in test_cgroup_link() local 55 for (i = 0; i < cg_nr; i++) { in test_cgroup_link() 65 for (i = 0; i < cg_nr; i++) { in test_cgroup_link() 73 ping_and_check(cg_nr, 0); in test_cgroup_link() 90 if (CHECK(prog_cnt != cg_nr, "effect_cnt", "exp %d, got %d\n", in test_cgroup_link() 91 cg_nr, prog_cnt)) in test_cgroup_link() 100 if (CHECK(prog_cnt != cg_nr, "effect_cnt", "exp %d, got %d\n", in test_cgroup_link() 101 cg_nr, prog_cnt)) in test_cgroup_link() 113 ping_and_check(cg_nr - 1, 0); in test_cgroup_link() 128 ping_and_check(cg_nr + 1, 0); in test_cgroup_link() [all …]
|