Lines Matching defs:test_group
97 char *test_group = (char *)arg;
102 old_current = cg_read_long(test_group, "memory.current");
104 current = cg_read_long(test_group, "memory.current");
117 current = cg_read_long(test_group, "memory.current");
128 current = cg_read_long(test_group, "memory.current");
139 current = cg_read_long(test_group, "memory.current");
151 current = cg_read_long(test_group, "memory.current");
172 char *test_group;
174 test_group = cg_name(root, "hugetlb_memcg_test");
175 if (!test_group || cg_create(test_group)) {
180 if (cg_write(test_group, "memory.max", "100M")) {
186 if (cg_write(test_group, "memory.swap.max", "0")) {
191 if (!cg_run(test_group, hugetlb_test_program, (void *)test_group))
194 cg_destroy(test_group);
195 free(test_group);