Lines Matching refs:prio
266 return rq->rt.highest_prio.curr > prev->prio; in need_pull_rt_task()
377 plist_node_init(&p->pushable_tasks, p->prio); in enqueue_pushable_task()
381 if (p->prio < rq->rt.highest_prio.next) in enqueue_pushable_task()
382 rq->rt.highest_prio.next = p->prio; in enqueue_pushable_task()
393 rq->rt.highest_prio.next = p->prio; in dequeue_pushable_task()
541 if (rt_rq->highest_prio.curr < curr->prio) in sched_rt_rq_enqueue()
576 return p->prio != p->normal_prio; in rt_se_boosted()
944 return rt_task_of(rt_se)->prio; in rt_se_prio()
1076 inc_rt_prio_smp(struct rt_rq *rt_rq, int prio, int prev_prio) in inc_rt_prio_smp() argument
1087 if (rq->online && prio < prev_prio) in inc_rt_prio_smp()
1088 cpupri_set(&rq->rd->cpupri, rq->cpu, prio); in inc_rt_prio_smp()
1092 dec_rt_prio_smp(struct rt_rq *rt_rq, int prio, int prev_prio) in dec_rt_prio_smp() argument
1110 void inc_rt_prio_smp(struct rt_rq *rt_rq, int prio, int prev_prio) {} in inc_rt_prio_smp() argument
1112 void dec_rt_prio_smp(struct rt_rq *rt_rq, int prio, int prev_prio) {} in dec_rt_prio_smp() argument
1118 inc_rt_prio(struct rt_rq *rt_rq, int prio) in inc_rt_prio() argument
1122 if (prio < prev_prio) in inc_rt_prio()
1123 rt_rq->highest_prio.curr = prio; in inc_rt_prio()
1125 inc_rt_prio_smp(rt_rq, prio, prev_prio); in inc_rt_prio()
1129 dec_rt_prio(struct rt_rq *rt_rq, int prio) in dec_rt_prio() argument
1135 WARN_ON(prio < prev_prio); in dec_rt_prio()
1141 if (prio == prev_prio) { in dec_rt_prio()
1151 dec_rt_prio_smp(rt_rq, prio, prev_prio); in dec_rt_prio()
1156 static inline void inc_rt_prio(struct rt_rq *rt_rq, int prio) {} in inc_rt_prio() argument
1157 static inline void dec_rt_prio(struct rt_rq *rt_rq, int prio) {} in dec_rt_prio() argument
1223 int prio = rt_se_prio(rt_se); in inc_rt_tasks() local
1225 WARN_ON(!rt_prio(prio)); in inc_rt_tasks()
1229 inc_rt_prio(rt_rq, prio); in inc_rt_tasks()
1472 (curr->nr_cpus_allowed < 2 || curr->prio <= p->prio); in select_task_rq_rt()
1482 p->prio < cpu_rq(target)->rt.highest_prio.curr) in select_task_rq_rt()
1541 if (p->prio < rq->curr->prio) { in check_preempt_curr_rt()
1559 if (p->prio == rq->curr->prio && !test_tsk_need_resched(rq->curr)) in check_preempt_curr_rt()
1773 if (lowest_rq->rt.highest_prio.curr <= task->prio) { in find_lock_lowest_rq()
1804 if (lowest_rq->rt.highest_prio.curr > task->prio) in find_lock_lowest_rq()
1862 if (unlikely(next_task->prio < rq->curr->prio)) { in push_rt_task()
2160 if (p && (p->prio < this_rq->rt.highest_prio.curr)) { in pull_rt_task()
2172 if (p->prio < src_rq->curr->prio) in pull_rt_task()
2206 rq->curr->prio <= p->prio); in task_woken_rt()
2286 if (p->prio < rq->curr->prio && cpu_online(cpu_of(rq))) in switched_to_rt()
2307 if (oldprio < p->prio) in prio_changed_rt()
2314 if (p->prio > rq->rt.highest_prio.curr) in prio_changed_rt()
2318 if (oldprio < p->prio) in prio_changed_rt()
2327 if (p->prio < rq->curr->prio) in prio_changed_rt()