Lines Matching refs:cur_task
2501 tset->cur_task = NULL; in cgroup_taskset_first()
2518 struct task_struct *task = tset->cur_task; in cgroup_taskset_next()
2529 tset->cur_task = task; in cgroup_taskset_next()
4944 if (it->cur_task) { in css_task_iter_next()
4945 put_task_struct(it->cur_task); in css_task_iter_next()
4946 it->cur_task = NULL; in css_task_iter_next()
4956 it->cur_task = list_entry(it->task_pos, struct task_struct, in css_task_iter_next()
4958 get_task_struct(it->cur_task); in css_task_iter_next()
4964 return it->cur_task; in css_task_iter_next()
4985 if (it->cur_task) in css_task_iter_end()
4986 put_task_struct(it->cur_task); in css_task_iter_end()
5029 return it->cur_task; in __cgroup_procs_start()