Lines Matching refs:children
23 LIST_HEAD(struct CGroupInfo, children);
82 LIST_PREPEND(siblings, parent->children, cg); in add_cgroup()
114 while (cg->children) in remove_cgroup()
115 remove_cgroup(cgroups, cg->children); in remove_cgroup()
125 LIST_REMOVE(siblings, cg->parent->children, cg); in remove_cgroup()
188 more = i+1 < n || cg->children; in dump_processes()
201 if (cg->children) { in dump_processes()
202 struct CGroupInfo **children; in dump_processes() local
206 children = newa(struct CGroupInfo*, cg->n_children); in dump_processes()
207 LIST_FOREACH(siblings, child, cg->children) in dump_processes()
208 children[n++] = child; in dump_processes()
210 typesafe_qsort(children, n, cgroup_info_compare_func); in dump_processes()
220 name = strrchr(children[i]->cgroup_path, '/'); in dump_processes()
239 r = dump_processes(cgroups, children[i]->cgroup_path, pp, n_columns, flags); in dump_processes()