Lines Matching defs:leaf_cg
48 static struct tst_cg_group *leaf_cg[4];
61 enum leaf_cg {
72 for (i = ARRAY_SIZE(leaf_cg); i > 0; i--) {
73 if (!leaf_cg[i - 1])
76 leaf_cg[i - 1] = tst_cg_group_rm(leaf_cg[i - 1]);
150 for (i = 0; i < ARRAY_SIZE(leaf_cg); i++) {
151 leaf_cg[i] = tst_cg_group_mk(trunk_cg[B],
157 alloc_pagecache_in_child(leaf_cg[i], MB(50));
162 SAFE_CG_PRINT(leaf_cg[C], "memory.low", "75M");
163 SAFE_CG_PRINT(leaf_cg[D], "memory.low", "25M");
164 SAFE_CG_PRINT(leaf_cg[E], "memory.low", "500M");
165 SAFE_CG_PRINT(leaf_cg[F], "memory.low", "0");
173 for (i = 0; i < ARRAY_SIZE(leaf_cg); i++)
174 SAFE_CG_SCANF(leaf_cg[i], "memory.current", "%ld", c + i);
199 for (i = 0; i < ARRAY_SIZE(leaf_cg); i++) {
203 SAFE_CG_LINES_SCANF(leaf_cg[i], "memory.events",
205 SAFE_CG_LINES_SCANF(leaf_cg[i], "memory.events",