Lines Matching defs:next_task
3137 struct task_struct *next_task;
3141 next_task = pick_next_pushable_dl_task(rq);
3142 if (!next_task)
3147 * If next_task preempts rq->curr, and rq->curr
3149 * without going further in pushing next_task.
3152 dl_time_before(next_task->dl.deadline, rq->donor->dl.deadline) &&
3158 if (is_migration_disabled(next_task))
3161 if (WARN_ON(next_task == rq->curr))
3165 get_task_struct(next_task);
3168 later_rq = find_lock_later_rq(next_task, rq);
3175 * then possible that next_task has migrated.
3178 if (task == next_task) {
3190 put_task_struct(next_task);
3191 next_task = task;
3195 move_queued_task_locked(rq, later_rq, next_task);
3203 put_task_struct(next_task);