Lines Matching refs:cg_child
2123 static struct tst_cgroup_group *cg_child;
2130 cg_child = tst_cgroup_group_mk(cg, "child");
2131 SAFE_CGROUP_PRINTF(cg_child, "cgroup.procs", "%d", getpid());
2139 SAFE_CGROUP_PRINTF(cg_child, "cgroup.procs", "%d", getpid());
2141 if (SAFE_CGROUP_HAS(cg_child, "memory.swap"))
2142 SAFE_CGROUP_SCANF(cg_child, "memory.swap.current", "%zu", &mem);
2143 SAFE_CGROUP_READ(cg_child, "cpuset.mems", buf, sizeof(buf));
2153 cg_child = tst_cgroup_group_rm(cg_child);
2167 if (cg_child) {
2169 cg_child = tst_cgroup_group_rm(cg_child);
2201 test CGroup's descendants (i.e. 'cg_child'). This allows each child to