Searched refs:dst_cgrp (Results 1 – 1 of 1) sorted by relevance
2619 static bool cgroup_may_migrate_to(struct cgroup *dst_cgrp) in cgroup_may_migrate_to() argument2621 return !cgroup_on_dfl(dst_cgrp) || !cgroup_parent(dst_cgrp) || in cgroup_may_migrate_to()2622 !dst_cgrp->subtree_control; in cgroup_may_migrate_to()2666 struct cgroup *dst_cgrp, in cgroup_migrate_add_src() argument2682 src_cgrp = cset_cgroup_from_root(src_cset, dst_cgrp->root); in cgroup_migrate_add_src()2693 src_cset->mg_dst_cgrp = dst_cgrp; in cgroup_migrate_add_src()2809 static int cgroup_attach_task(struct cgroup *dst_cgrp, in cgroup_attach_task() argument2816 if (!cgroup_may_migrate_to(dst_cgrp)) in cgroup_attach_task()2824 cgroup_migrate_add_src(task_css_set(task), dst_cgrp, in cgroup_attach_task()2835 ret = cgroup_migrate(leader, threadgroup, dst_cgrp->root); in cgroup_attach_task()[all …]