Lines Matching refs:root_cgrp

1326 	struct cgroup *root_cgrp = kernfs_root_to_node(kf_root)->priv;  in cgroup_root_from_kf()  local
1328 return root_cgrp->root; in cgroup_root_from_kf()
2156 struct cgroup *root_cgrp = &root->cgrp; in cgroup_setup_root() local
2163 ret = percpu_ref_init(&root_cgrp->self.refcnt, css_release, in cgroup_setup_root()
2191 root_cgrp); in cgroup_setup_root()
2196 root_cgrp->kn = kernfs_root_to_node(root->kf_root); in cgroup_setup_root()
2197 WARN_ON_ONCE(cgroup_ino(root_cgrp) != 1); in cgroup_setup_root()
2198 root_cgrp->ancestors[0] = root_cgrp; in cgroup_setup_root()
2200 ret = css_populate_dir(&root_cgrp->self); in cgroup_setup_root()
2204 ret = css_rstat_init(&root_cgrp->self); in cgroup_setup_root()
2213 CGROUP_LIFETIME_ONLINE, root_cgrp); in cgroup_setup_root()
2232 link_css_set(&tmp_links, cset, root_cgrp); in cgroup_setup_root()
2234 cgroup_update_populated(root_cgrp, true); in cgroup_setup_root()
2238 BUG_ON(!list_empty(&root_cgrp->self.children)); in cgroup_setup_root()
2245 css_rstat_exit(&root_cgrp->self); in cgroup_setup_root()
2252 percpu_ref_exit(&root_cgrp->self.refcnt); in cgroup_setup_root()
6605 struct cgroup *cgrp, *root_cgrp; in cgroup_get_from_id() local
6611 root_cgrp = current_cgns_cgroup_dfl(); in cgroup_get_from_id()
6612 if (!cgroup_is_descendant(cgrp, root_cgrp)) { in cgroup_get_from_id()
7295 struct cgroup *root_cgrp; in cgroup_get_from_path() local
7297 root_cgrp = current_cgns_cgroup_dfl(); in cgroup_get_from_path()
7298 kn = kernfs_walk_and_get(root_cgrp->kn, path); in cgroup_get_from_path()