Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_core.c147 char *cg_test_c = NULL, *cg_test_d = NULL; in test_cgcore_populated() local
153 cg_test_c = cg_name(root, "cg_test_a/cg_test_b/cg_test_c"); in test_cgcore_populated()
156 if (!cg_test_a || !cg_test_b || !cg_test_c || !cg_test_d) in test_cgcore_populated()
165 if (cg_create(cg_test_c)) in test_cgcore_populated()
171 if (cg_enter_current(cg_test_c)) in test_cgcore_populated()
180 if (cg_read_strcmp(cg_test_c, "cgroup.events", "populated 1\n")) in test_cgcore_populated()
195 if (cg_read_strcmp(cg_test_c, "cgroup.events", "populated 0\n")) in test_cgcore_populated()
252 if (cg_test_c) in test_cgcore_populated()
253 cg_destroy(cg_test_c); in test_cgcore_populated()
259 free(cg_test_c); in test_cgcore_populated()