Lines Matching refs:next_task
2003 struct task_struct *next_task;
2010 next_task = pick_next_pushable_task(rq);
2011 if (!next_task)
2016 * It's possible that the next_task slipped in of
2020 if (unlikely(next_task->prio < rq->curr->prio)) {
2025 if (is_migration_disabled(next_task)) {
2035 * be of higher priority than next_task, so no need to
2049 * Given we found a CPU with lower priority than @next_task,
2067 if (WARN_ON(next_task == rq->curr))
2071 get_task_struct(next_task);
2074 lowest_rq = find_lock_lowest_rq(next_task, rq);
2079 * so it is possible that next_task has migrated.
2086 if (task == next_task) {
2103 put_task_struct(next_task);
2104 next_task = task;
2108 deactivate_task(rq, next_task, 0);
2109 set_task_cpu(next_task, lowest_rq->cpu);
2110 activate_task(lowest_rq, next_task, 0);
2116 put_task_struct(next_task);