Lines Matching refs:next_task
2055 struct task_struct *next_task; in push_rt_task() local
2062 next_task = pick_next_pushable_task(rq); in push_rt_task()
2063 if (!next_task) in push_rt_task()
2072 if (unlikely(next_task->prio < rq->curr->prio)) { in push_rt_task()
2077 if (is_migration_disabled(next_task)) { in push_rt_task()
2117 if (WARN_ON(next_task == rq->curr)) in push_rt_task()
2121 get_task_struct(next_task); in push_rt_task()
2124 lowest_rq = find_lock_lowest_rq(next_task, rq); in push_rt_task()
2136 if (task == next_task) { in push_rt_task()
2153 put_task_struct(next_task); in push_rt_task()
2154 next_task = task; in push_rt_task()
2158 deactivate_task(rq, next_task, 0); in push_rt_task()
2159 set_task_cpu(next_task, lowest_rq->cpu); in push_rt_task()
2160 activate_task(lowest_rq, next_task, 0); in push_rt_task()
2166 put_task_struct(next_task); in push_rt_task()