Searched refs:parent2 (Results 1 – 2 of 2) sorted by relevance
42 char *parent = NULL, *child = NULL, *parent2 = NULL, *child2 = NULL; in test_cpucg_subtree_control() local67 parent2 = cg_name(root, "cpucg_test_1"); in test_cpucg_subtree_control()68 if (!parent2) in test_cpucg_subtree_control()71 if (cg_create(parent2)) in test_cpucg_subtree_control()74 child2 = cg_name(parent2, "cpucg_test_child"); in test_cpucg_subtree_control()93 cg_destroy(parent2); in test_cpucg_subtree_control()94 free(parent2); in test_cpucg_subtree_control()
111 char *parent, *child, *parent2 = NULL, *child2 = NULL; in test_memcg_subtree_control() local134 parent2 = cg_name(root, "memcg_test_1"); in test_memcg_subtree_control()136 if (!parent2 || !child2) in test_memcg_subtree_control()139 if (cg_create(parent2)) in test_memcg_subtree_control()156 cg_destroy(parent2); in test_memcg_subtree_control()158 free(parent2); in test_memcg_subtree_control()