Lines Matching refs:dst_root
188 static int rebind_subsystems(struct cgroup_root *dst_root,
1218 static int rebind_subsystems(struct cgroup_root *dst_root, unsigned int ss_mask) in rebind_subsystems() argument
1235 if (ss->root != &cgrp_dfl_root && dst_root != &cgrp_dfl_root) in rebind_subsystems()
1241 if (dst_root == &cgrp_dfl_root) in rebind_subsystems()
1244 ret = cgroup_populate_dir(&dst_root->cgrp, tmp_ss_mask); in rebind_subsystems()
1246 if (dst_root != &cgrp_dfl_root) in rebind_subsystems()
1281 WARN_ON(!css || cgroup_css(&dst_root->cgrp, ss)); in rebind_subsystems()
1284 rcu_assign_pointer(dst_root->cgrp.subsys[ssid], css); in rebind_subsystems()
1285 ss->root = dst_root; in rebind_subsystems()
1286 css->cgroup = &dst_root->cgrp; in rebind_subsystems()
1291 &dst_root->cgrp.e_csets[ss->id]); in rebind_subsystems()
1299 dst_root->subsys_mask |= 1 << ssid; in rebind_subsystems()
1300 if (dst_root != &cgrp_dfl_root) { in rebind_subsystems()
1301 dst_root->cgrp.subtree_control |= 1 << ssid; in rebind_subsystems()
1302 cgroup_refresh_child_subsys_mask(&dst_root->cgrp); in rebind_subsystems()
1309 kernfs_activate(dst_root->cgrp.kn); in rebind_subsystems()