Lines Matching refs:cg_list
910 WARN_ON_ONCE(list_empty(&task->cg_list)); in css_set_move_task()
913 list_del_init(&task->cg_list); in css_set_move_task()
917 WARN_ON_ONCE(!list_empty(&task->cg_list)); in css_set_move_task()
929 list_add_tail(&task->cg_list, use_mg_tasks ? &to_cset->mg_tasks : in css_set_move_task()
2467 WARN_ON_ONCE(list_empty(&task->cg_list)); in cgroup_migrate_add_task()
2475 list_move_tail(&task->cg_list, &cset->mg_tasks); in cgroup_migrate_add_task()
2517 struct task_struct, cg_list); in cgroup_taskset_next()
2519 task = list_next_entry(task, cg_list); in cgroup_taskset_next()
2521 if (&task->cg_list != &cset->mg_tasks) { in cgroup_taskset_next()
2584 list_for_each_entry_safe(task, tmp_task, &cset->mg_tasks, cg_list) { in cgroup_migrate_execute()
3081 list_for_each_entry_safe(task, ntask, &src_cset->tasks, cg_list) in cgroup_update_dfl_csses()
4838 if (it->task_pos == &task->cg_list) { in css_task_iter_skip()
4879 task = list_entry(it->task_pos, struct task_struct, cg_list); in css_task_iter_advance()
4953 cg_list); in css_task_iter_next()
6310 INIT_LIST_HEAD(&child->cg_list); in cgroup_fork()
6587 WARN_ON_ONCE(!list_empty(&child->cg_list)); in cgroup_post_fork()
6665 WARN_ON_ONCE(list_empty(&tsk->cg_list)); in cgroup_exit()
6668 list_add_tail(&tsk->cg_list, &cset->dying_tasks); in cgroup_exit()
6695 list_del_init(&task->cg_list); in cgroup_release()