Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/cgroup/
Dtest_core.c145 char *cg_test_c = NULL, *cg_test_d = NULL; in test_cgcore_populated() local
151 cg_test_c = cg_name(root, "cg_test_a/cg_test_b/cg_test_c"); in test_cgcore_populated()
154 if (!cg_test_a || !cg_test_b || !cg_test_c || !cg_test_d) in test_cgcore_populated()
163 if (cg_create(cg_test_c)) in test_cgcore_populated()
169 if (cg_enter_current(cg_test_c)) in test_cgcore_populated()
178 if (cg_read_strcmp(cg_test_c, "cgroup.events", "populated 1\n")) in test_cgcore_populated()
193 if (cg_read_strcmp(cg_test_c, "cgroup.events", "populated 0\n")) in test_cgcore_populated()
250 if (cg_test_c) in test_cgcore_populated()
251 cg_destroy(cg_test_c); in test_cgcore_populated()
257 free(cg_test_c); in test_cgcore_populated()