Lines Matching refs:deadline
430 zerolag_time = dl_se->deadline - in task_non_contending()
609 rq->dl.earliest_dl.next = p->dl.deadline; in enqueue_pushable_dl_task()
628 dl_rq->earliest_dl.next = __node_2_pdl(leftmost)->dl.deadline; in dequeue_pushable_dl_task()
777 dl_se->deadline = rq_clock(rq) + pi_of(dl_se)->dl_deadline; in replenish_dl_new_period()
808 WARN_ON(dl_time_before(rq_clock(rq), dl_se->deadline)); in setup_new_dl_entity()
866 dl_se->deadline = rq_clock(rq) + pi_of(dl_se)->dl_deadline; in replenish_dl_entity()
880 dl_se->deadline += pi_of(dl_se)->dl_period; in replenish_dl_entity()
893 if (dl_time_before(dl_se->deadline, rq_clock(rq))) { in replenish_dl_entity()
918 dl_time_before(rq_clock(dl_se->rq), dl_se->deadline - dl_se->runtime)) { in replenish_dl_entity()
989 right = ((dl_se->deadline - t) >> DL_SCALE) * in dl_entity_overflow()
1016 u64 laxity = dl_se->deadline - rq_clock(rq); in update_dl_revised_wakeup()
1024 WARN_ON(dl_time_before(dl_se->deadline, rq_clock(rq))); in update_dl_revised_wakeup()
1079 if (dl_time_before(dl_se->deadline, rq_clock(rq)) || in update_dl_entity()
1083 !dl_time_before(dl_se->deadline, rq_clock(rq)) && in update_dl_entity()
1104 return dl_se->deadline - dl_se->dl_deadline + dl_se->dl_period; in dl_next_period()
1140 act = ns_to_ktime(dl_se->deadline - dl_se->runtime); in start_dl_timer()
1228 (dl_se->deadline - dl_se->runtime - dl_server_min_res))) { in dl_server_timer()
1231 fw = dl_se->deadline - rq_clock(dl_se->rq) - dl_se->runtime; in dl_server_timer()
1391 if (dl_time_before(dl_se->deadline, rq_clock(rq)) && in dl_check_constrained_dl()
1725 dl_se->deadline = 0; in dl_server_apply_params()
1829 static void inc_dl_deadline(struct dl_rq *dl_rq, u64 deadline) in inc_dl_deadline() argument
1834 dl_time_before(deadline, dl_rq->earliest_dl.curr)) { in inc_dl_deadline()
1837 dl_rq->earliest_dl.curr = deadline; in inc_dl_deadline()
1838 cpudl_set(&rq->rd->cpudl, rq->cpu, deadline); in inc_dl_deadline()
1842 static void dec_dl_deadline(struct dl_rq *dl_rq, u64 deadline) in dec_dl_deadline() argument
1859 dl_rq->earliest_dl.curr = entry->deadline; in dec_dl_deadline()
1860 cpudl_set(&rq->rd->cpudl, rq->cpu, entry->deadline); in dec_dl_deadline()
1866 static inline void inc_dl_deadline(struct dl_rq *dl_rq, u64 deadline) {} in inc_dl_deadline() argument
1867 static inline void dec_dl_deadline(struct dl_rq *dl_rq, u64 deadline) {} in dec_dl_deadline() argument
1874 u64 deadline = dl_se->deadline; in inc_dl_tasks() local
1879 inc_dl_deadline(dl_rq, deadline); in inc_dl_tasks()
1889 dec_dl_deadline(dl_rq, dl_se->deadline); in dec_dl_tasks()
1894 return dl_time_before(__node_2_dle(a)->deadline, __node_2_dle(b)->deadline); in __dl_less()
2045 dl_time_before(dl_se->deadline, rq_clock(rq_of_dl_se(dl_se)))) { in enqueue_dl_entity()
2207 dl_time_before(p->dl.deadline, in dl_task_is_earliest_deadline()
2351 if ((p->dl.deadline == rq->curr->dl.deadline) && in wakeup_preempt_dl()
2711 dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && in push_dl_task()
2826 if (p && dl_time_before(p->dl.deadline, dmin) && in pull_dl_task()
2835 if (dl_time_before(p->dl.deadline, in pull_dl_task()
2836 src_rq->curr->dl.deadline)) in pull_dl_task()
2845 dmin = p->dl.deadline; in pull_dl_task()
3094 if (dl_time_before(rq->dl.earliest_dl.curr, p->dl.deadline)) in prio_changed_dl()
3104 dl_time_before(p->dl.deadline, rq->curr->dl.deadline)) in prio_changed_dl()