Lines Matching refs:next_task
1777 struct task_struct *next_task; in push_rt_task() local
1784 next_task = pick_next_pushable_task(rq); in push_rt_task()
1785 if (!next_task) in push_rt_task()
1789 if (unlikely(next_task == rq->curr)) { in push_rt_task()
1799 if (unlikely(next_task->prio < rq->curr->prio)) { in push_rt_task()
1805 get_task_struct(next_task); in push_rt_task()
1808 lowest_rq = find_lock_lowest_rq(next_task, rq); in push_rt_task()
1820 if (task_cpu(next_task) == rq->cpu && task == next_task) { in push_rt_task()
1837 put_task_struct(next_task); in push_rt_task()
1838 next_task = task; in push_rt_task()
1842 deactivate_task(rq, next_task, 0); in push_rt_task()
1843 set_task_cpu(next_task, lowest_rq->cpu); in push_rt_task()
1844 activate_task(lowest_rq, next_task, 0); in push_rt_task()
1852 put_task_struct(next_task); in push_rt_task()