Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/cgroup/
Dcgroup.c157 struct cgroup_root cgrp_dfl_root = { .cgrp.rstat_cpu = &cgrp_dfl_root_rstat_cpu }; variable
158 EXPORT_SYMBOL_GPL(cgrp_dfl_root);
293 return cgrp->root == &cgrp_dfl_root; in cgroup_on_dfl()
748 .dfl_cgrp = &cgrp_dfl_root.cgrp,
1314 cgroup_lock_and_drain_offline(&cgrp_dfl_root.cgrp); in cgroup_destroy_root()
1320 WARN_ON(rebind_subsystems(&cgrp_dfl_root, root->subsys_mask)); in cgroup_destroy_root()
1366 } else if (root == &cgrp_dfl_root) { in current_cgns_cgroup_from_root()
1397 } else if (root == &cgrp_dfl_root) { in cset_cgroup_from_root()
1728 if (ss->root != &cgrp_dfl_root && dst_root != &cgrp_dfl_root) in rebind_subsystems()
1759 if (dst_root == &cgrp_dfl_root) { in rebind_subsystems()
[all …]
Dcgroup-v1.c64 if (root == &cgrp_dfl_root) in cgroup_attach_task_all()
1043 cgroup_lock_and_drain_offline(&cgrp_dfl_root.cgrp); in cgroup1_reconfigure()
1076 WARN_ON(rebind_subsystems(&cgrp_dfl_root, removed_mask)); in cgroup1_reconfigure()
1128 ss->root == &cgrp_dfl_root) in cgroup1_root_to_use()
1139 if (root == &cgrp_dfl_root) in cgroup1_root_to_use()
1205 cgroup_lock_and_drain_offline(&cgrp_dfl_root.cgrp); in cgroup1_get_tree()
Drstat.c289 BUG_ON(cgroup_rstat_init(&cgrp_dfl_root.cgrp)); in cgroup_rstat_boot()
/Linux-v5.10/include/linux/
Dcgroup.h71 extern struct cgroup_root cgrp_dfl_root;
840 return &cgrp_dfl_root.cgrp; in sock_cgroup_ptr()
842 return (struct cgroup *)(unsigned long)v ?: &cgrp_dfl_root.cgrp; in sock_cgroup_ptr()
Dmemcontrol.h919 if (cgrp_dfl_root.flags & CGRP_ROOT_MEMORY_LOCAL_EVENTS) in memcg_memory_event()
/Linux-v5.10/mm/
Dmemcontrol.c6680 if (!(cgrp_dfl_root.flags & CGRP_ROOT_MEMORY_RECURSIVE_PROT)) in effective_protection()