Lines Matching refs:cgrp_dfl_root

167 struct cgroup_root cgrp_dfl_root = { .cgrp.rstat_cpu = &cgrp_dfl_root_rstat_cpu };  variable
168 EXPORT_SYMBOL_GPL(cgrp_dfl_root);
319 return cgrp->root == &cgrp_dfl_root; in cgroup_on_dfl()
745 .dfl_cgrp = &cgrp_dfl_root.cgrp,
1326 cgroup_lock_and_drain_offline(&cgrp_dfl_root.cgrp); in cgroup_destroy_root()
1332 WARN_ON(rebind_subsystems(&cgrp_dfl_root, root->subsys_mask)); in cgroup_destroy_root()
1373 } else if (root == &cgrp_dfl_root) { in __cset_cgroup_from_root()
1432 return __cset_cgroup_from_root(cset, &cgrp_dfl_root); in current_cgns_cgroup_dfl()
1440 return &cgrp_dfl_root.cgrp; in current_cgns_cgroup_dfl()
1779 if (ss->root != &cgrp_dfl_root && dst_root != &cgrp_dfl_root) in rebind_subsystems()
1786 if (ss->root == &cgrp_dfl_root) in rebind_subsystems()
1792 struct cgroup *scgrp = &cgrp_dfl_root.cgrp; in rebind_subsystems()
1798 cgrp_dfl_root.subsys_mask &= ~dfl_disable_ss_mask; in rebind_subsystems()
1812 if (src_root != &cgrp_dfl_root) { in rebind_subsystems()
1853 if (dst_root == &cgrp_dfl_root) { in rebind_subsystems()
1947 cgrp_dfl_root.flags |= CGRP_ROOT_NS_DELEGATE; in apply_cgroup_root_flags()
1949 cgrp_dfl_root.flags &= ~CGRP_ROOT_NS_DELEGATE; in apply_cgroup_root_flags()
1951 cgroup_favor_dynmods(&cgrp_dfl_root, in apply_cgroup_root_flags()
1955 cgrp_dfl_root.flags |= CGRP_ROOT_MEMORY_LOCAL_EVENTS; in apply_cgroup_root_flags()
1957 cgrp_dfl_root.flags &= ~CGRP_ROOT_MEMORY_LOCAL_EVENTS; in apply_cgroup_root_flags()
1960 cgrp_dfl_root.flags |= CGRP_ROOT_MEMORY_RECURSIVE_PROT; in apply_cgroup_root_flags()
1962 cgrp_dfl_root.flags &= ~CGRP_ROOT_MEMORY_RECURSIVE_PROT; in apply_cgroup_root_flags()
1968 if (cgrp_dfl_root.flags & CGRP_ROOT_NS_DELEGATE) in cgroup_show_options()
1970 if (cgrp_dfl_root.flags & CGRP_ROOT_FAVOR_DYNMODS) in cgroup_show_options()
1972 if (cgrp_dfl_root.flags & CGRP_ROOT_MEMORY_LOCAL_EVENTS) in cgroup_show_options()
1974 if (cgrp_dfl_root.flags & CGRP_ROOT_MEMORY_RECURSIVE_PROT) in cgroup_show_options()
2062 kf_sops = root == &cgrp_dfl_root ? in cgroup_setup_root()
2200 cgroup_get_live(&cgrp_dfl_root.cgrp); in cgroup_get_tree()
2201 ctx->root = &cgrp_dfl_root; in cgroup_get_tree()
2263 if (list_empty(&root->cgrp.self.children) && root != &cgrp_dfl_root && in cgroup_kill_sb()
5093 if ((cgrp_dfl_root.flags & CGRP_ROOT_NS_DELEGATE) && in cgroup_procs_write_permission()
5143 src_cgrp = task_cgroup_from_root(task, &cgrp_dfl_root); in __cgroup_procs_write()
5976 ss->root = &cgrp_dfl_root; in cgroup_init_subsys()
5980 init_and_link_css(css, ss, &cgrp_dfl_root.cgrp); in cgroup_init_subsys()
6029 ctx.root = &cgrp_dfl_root; in cgroup_init_early()
6031 cgrp_dfl_root.cgrp.self.flags |= CSS_NO_REF; in cgroup_init_early()
6083 BUG_ON(cgroup_setup_root(&cgrp_dfl_root, 0)); in cgroup_init()
6100 &cgrp_dfl_root.cgrp.e_csets[ssid]); in cgroup_init()
6114 cgrp_dfl_root.subsys_mask |= 1 << ss->id; in cgroup_init()
6178 kn = kernfs_find_and_get_node_by_id(cgrp_dfl_root.kf_root, id); in cgroup_path_from_kernfs_id()
6196 kn = kernfs_find_and_get_node_by_id(cgrp_dfl_root.kf_root, id); in cgroup_get_from_id()
6252 if (root == &cgrp_dfl_root && !READ_ONCE(cgrp_dfl_visible)) in proc_cgroup_show()
6256 if (root != &cgrp_dfl_root) in proc_cgroup_show()
6945 cgroup = &cgrp_dfl_root.cgrp; in cgroup_sk_alloc()