Home
last modified time | relevance | path

Searched refs:cgrp_dfl_root (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/kernel/cgroup/
Dcgroup.c161 struct cgroup_root cgrp_dfl_root = { .cgrp.rstat_cpu = &cgrp_dfl_root_rstat_cpu }; variable
162 EXPORT_SYMBOL_GPL(cgrp_dfl_root);
300 return cgrp->root == &cgrp_dfl_root; in cgroup_on_dfl()
755 .dfl_cgrp = &cgrp_dfl_root.cgrp,
1325 cgroup_lock_and_drain_offline(&cgrp_dfl_root.cgrp); in cgroup_destroy_root()
1331 WARN_ON(rebind_subsystems(&cgrp_dfl_root, root->subsys_mask)); in cgroup_destroy_root()
1406 } else if (root == &cgrp_dfl_root) { in cset_cgroup_from_root()
1738 if (ss->root != &cgrp_dfl_root && dst_root != &cgrp_dfl_root) in rebind_subsystems()
1769 if (dst_root == &cgrp_dfl_root) { in rebind_subsystems()
1858 cgrp_dfl_root.flags |= CGRP_ROOT_NS_DELEGATE; in apply_cgroup_root_flags()
[all …]
Dcgroup-v1.c69 if (root == &cgrp_dfl_root) in cgroup_attach_task_all()
1048 cgroup_lock_and_drain_offline(&cgrp_dfl_root.cgrp); in cgroup1_reconfigure()
1081 WARN_ON(rebind_subsystems(&cgrp_dfl_root, removed_mask)); in cgroup1_reconfigure()
1133 ss->root == &cgrp_dfl_root) in cgroup1_root_to_use()
1144 if (root == &cgrp_dfl_root) in cgroup1_root_to_use()
1210 cgroup_lock_and_drain_offline(&cgrp_dfl_root.cgrp); in cgroup1_get_tree()
Drstat.c300 BUG_ON(cgroup_rstat_init(&cgrp_dfl_root.cgrp)); in cgroup_rstat_boot()
/Linux-v5.4/include/linux/
Dcgroup.h71 extern struct cgroup_root cgrp_dfl_root;
838 return &cgrp_dfl_root.cgrp; in sock_cgroup_ptr()
840 return (struct cgroup *)(unsigned long)v ?: &cgrp_dfl_root.cgrp; in sock_cgroup_ptr()
Dmemcontrol.h795 if (cgrp_dfl_root.flags & CGRP_ROOT_MEMORY_LOCAL_EVENTS) in memcg_memory_event()