Lines Matching refs:mg_tasks
762 .mg_tasks = LIST_HEAD_INIT(init_css_set.mg_tasks),
799 return !list_empty(&cset->tasks) || !list_empty(&cset->mg_tasks); in css_set_populated()
928 list_add_tail(&task->cg_list, use_mg_tasks ? &to_cset->mg_tasks : in css_set_move_task()
1236 INIT_LIST_HEAD(&cset->mg_tasks); in find_css_set()
2375 list_move_tail(&task->cg_list, &cset->mg_tasks); in cgroup_migrate_add_task()
2416 task = list_first_entry(&cset->mg_tasks, in cgroup_taskset_next()
2421 if (&task->cg_list != &cset->mg_tasks) { in cgroup_taskset_next()
2484 list_for_each_entry_safe(task, tmp_task, &cset->mg_tasks, cg_list) { in cgroup_migrate_execute()
2538 list_splice_tail_init(&cset->mg_tasks, &cset->tasks); in cgroup_migrate_execute()
2660 WARN_ON(!list_empty(&src_cset->mg_tasks)); in cgroup_migrate_add_src()
4586 } else if (!list_empty(&cset->mg_tasks)) { in css_task_iter_advance_css_set()
4587 it->cur_tasks_head = &cset->mg_tasks; in css_task_iter_advance_css_set()
4653 it->cur_tasks_head = &it->cur_cset->mg_tasks; in css_task_iter_advance()
4656 if (it->task_pos == &it->cur_cset->mg_tasks) { in css_task_iter_advance()