Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/cgroup/
H A Dtest_core.c152 char *cg_test_c = NULL, *cg_test_d = NULL; in test_cgcore_populated() local
161 cg_test_c = cg_name(root, "cg_test_a/cg_test_b/cg_test_c"); in test_cgcore_populated()
164 if (!cg_test_a || !cg_test_b || !cg_test_c || !cg_test_d) in test_cgcore_populated()
173 if (cg_create(cg_test_c)) in test_cgcore_populated()
179 if (cg_enter_current(cg_test_c)) in test_cgcore_populated()
188 if (cg_read_strcmp(cg_test_c, "cgroup.events", "populated 1\n")) in test_cgcore_populated()
203 if (cg_read_strcmp(cg_test_c, "cgroup.events", "populated 0\n")) in test_cgcore_populated()
260 if (cg_test_c) in test_cgcore_populated()
261 cg_destroy(cg_test_c); in test_cgcore_populated()
267 free(cg_test_c); in test_cgcore_populated()