• Home
  • Raw
  • Download

Lines Matching refs:src_cset

2657 void cgroup_migrate_add_src(struct css_set *src_cset,  in cgroup_migrate_add_src()  argument
2671 if (src_cset->dead) in cgroup_migrate_add_src()
2674 src_cgrp = cset_cgroup_from_root(src_cset, dst_cgrp->root); in cgroup_migrate_add_src()
2676 if (!list_empty(&src_cset->mg_src_preload_node)) in cgroup_migrate_add_src()
2679 WARN_ON(src_cset->mg_src_cgrp); in cgroup_migrate_add_src()
2680 WARN_ON(src_cset->mg_dst_cgrp); in cgroup_migrate_add_src()
2681 WARN_ON(!list_empty(&src_cset->mg_tasks)); in cgroup_migrate_add_src()
2682 WARN_ON(!list_empty(&src_cset->mg_node)); in cgroup_migrate_add_src()
2684 src_cset->mg_src_cgrp = src_cgrp; in cgroup_migrate_add_src()
2685 src_cset->mg_dst_cgrp = dst_cgrp; in cgroup_migrate_add_src()
2686 get_css_set(src_cset); in cgroup_migrate_add_src()
2687 list_add_tail(&src_cset->mg_src_preload_node, &mgctx->preloaded_src_csets); in cgroup_migrate_add_src()
2706 struct css_set *src_cset, *tmp_cset; in cgroup_migrate_prepare_dst() local
2711 list_for_each_entry_safe(src_cset, tmp_cset, &mgctx->preloaded_src_csets, in cgroup_migrate_prepare_dst()
2717 dst_cset = find_css_set(src_cset, src_cset->mg_dst_cgrp); in cgroup_migrate_prepare_dst()
2721 WARN_ON_ONCE(src_cset->mg_dst_cset || dst_cset->mg_dst_cset); in cgroup_migrate_prepare_dst()
2728 if (src_cset == dst_cset) { in cgroup_migrate_prepare_dst()
2729 src_cset->mg_src_cgrp = NULL; in cgroup_migrate_prepare_dst()
2730 src_cset->mg_dst_cgrp = NULL; in cgroup_migrate_prepare_dst()
2731 list_del_init(&src_cset->mg_src_preload_node); in cgroup_migrate_prepare_dst()
2732 put_css_set(src_cset); in cgroup_migrate_prepare_dst()
2737 src_cset->mg_dst_cset = dst_cset; in cgroup_migrate_prepare_dst()
2746 if (src_cset->subsys[ssid] != dst_cset->subsys[ssid]) in cgroup_migrate_prepare_dst()
2959 struct css_set *src_cset; in cgroup_update_dfl_csses() local
2990 list_for_each_entry(src_cset, &mgctx.preloaded_src_csets, in cgroup_update_dfl_csses()
2995 list_for_each_entry_safe(task, ntask, &src_cset->tasks, cg_list) in cgroup_update_dfl_csses()