Lines Matching refs:curr
81 rt_rq->highest_prio.curr = MAX_RT_PRIO-1; in init_rt_rq()
232 rt_rq->highest_prio.curr = MAX_RT_PRIO-1; in init_tg_rt_entry()
336 return rq->online && rq->rt.highest_prio.curr > prev->prio; in need_pull_rt_task()
543 if (rt_rq->highest_prio.curr < donor->prio) in sched_rt_rq_enqueue()
838 if (rt_rq->rt_nr_running && rq->curr == rq->idle) in do_sched_rt_period_timer()
964 return rt_rq->highest_prio.curr; in rt_se_prio()
1075 if (rq->online && rt_rq->highest_prio.curr != prev_prio) in dec_rt_prio_smp()
1076 cpupri_set(&rq->rd->cpupri, rq->cpu, rt_rq->highest_prio.curr); in dec_rt_prio_smp()
1082 int prev_prio = rt_rq->highest_prio.curr; in inc_rt_prio()
1085 rt_rq->highest_prio.curr = prio; in inc_rt_prio()
1093 int prev_prio = rt_rq->highest_prio.curr; in dec_rt_prio()
1106 rt_rq->highest_prio.curr = in dec_rt_prio()
1111 rt_rq->highest_prio.curr = MAX_RT_PRIO-1; in dec_rt_prio()
1493 requeue_task_rt(rq, rq->curr, 0); in yield_task_rt()
1501 struct task_struct *curr, *donor; in select_task_rq_rt() local
1512 curr = READ_ONCE(rq->curr); /* unlocked access */ in select_task_rq_rt()
1541 test = curr && in select_task_rq_rt()
1543 (curr->nr_cpus_allowed < 2 || donor->prio <= p->prio); in select_task_rq_rt()
1560 p->prio < cpu_rq(target)->rt.highest_prio.curr) in select_task_rq_rt()
1573 if (rq->curr->nr_cpus_allowed == 1 || in check_preempt_equal_prio()
1635 if (p->prio == donor->prio && !test_tsk_need_resched(rq->curr)) in wakeup_preempt_rt()
1884 if (lowest_rq->rt.highest_prio.curr <= task->prio) { in find_lock_lowest_rq()
1917 if (lowest_rq->rt.highest_prio.curr > task->prio) in find_lock_lowest_rq()
1976 cpu = find_lowest_rq(rq->curr); in push_rt_task()
1999 if (WARN_ON(next_task == rq->curr)) in push_rt_task()
2272 this_rq->rt.highest_prio.curr) in pull_rt_task()
2293 if (p && (p->prio < this_rq->rt.highest_prio.curr)) { in pull_rt_task()
2294 WARN_ON(p == src_rq->curr); in pull_rt_task()
2345 !test_tsk_need_resched(rq->curr) && in task_woken_rt()
2348 (rq->curr->nr_cpus_allowed < 2 || in task_woken_rt()
2363 cpupri_set(&rq->rd->cpupri, rq->cpu, rq->rt.highest_prio.curr); in rq_online_rt()
2457 if (p->prio > rq->rt.highest_prio.curr) in prio_changed_rt()