Lines Matching refs:deadline
319 zerolag_time = dl_se->deadline - in task_non_contending()
532 dl_rq->earliest_dl.next = p->dl.deadline; in enqueue_pushable_dl_task()
552 struct task_struct, pushable_dl_tasks)->dl.deadline; in dequeue_pushable_dl_task()
725 WARN_ON(dl_time_before(rq_clock(rq), dl_se->deadline)); in setup_new_dl_entity()
740 dl_se->deadline = rq_clock(rq) + dl_se->dl_deadline; in setup_new_dl_entity()
774 dl_se->deadline = rq_clock(rq) + pi_of(dl_se)->dl_deadline; in replenish_dl_entity()
788 dl_se->deadline += pi_of(dl_se)->dl_period; in replenish_dl_entity()
801 if (dl_time_before(dl_se->deadline, rq_clock(rq))) { in replenish_dl_entity()
803 dl_se->deadline = rq_clock(rq) + pi_of(dl_se)->dl_deadline; in replenish_dl_entity()
860 right = ((dl_se->deadline - t) >> DL_SCALE) * in dl_entity_overflow()
887 u64 laxity = dl_se->deadline - rq_clock(rq); in update_dl_revised_wakeup()
895 WARN_ON(dl_time_before(dl_se->deadline, rq_clock(rq))); in update_dl_revised_wakeup()
951 if (dl_time_before(dl_se->deadline, rq_clock(rq)) || in update_dl_entity()
955 !dl_time_before(dl_se->deadline, rq_clock(rq)) && in update_dl_entity()
961 dl_se->deadline = rq_clock(rq) + pi_of(dl_se)->dl_deadline; in update_dl_entity()
968 return dl_se->deadline - dl_se->dl_deadline + dl_se->dl_period; in dl_next_period()
1177 if (dl_time_before(dl_se->deadline, rq_clock(rq)) && in dl_check_constrained_dl()
1395 static void inc_dl_deadline(struct dl_rq *dl_rq, u64 deadline) in inc_dl_deadline() argument
1400 dl_time_before(deadline, dl_rq->earliest_dl.curr)) { in inc_dl_deadline()
1401 dl_rq->earliest_dl.curr = deadline; in inc_dl_deadline()
1402 cpudl_set(&rq->rd->cpudl, rq->cpu, deadline); in inc_dl_deadline()
1406 static void dec_dl_deadline(struct dl_rq *dl_rq, u64 deadline) in dec_dl_deadline() argument
1423 dl_rq->earliest_dl.curr = entry->deadline; in dec_dl_deadline()
1424 cpudl_set(&rq->rd->cpudl, rq->cpu, entry->deadline); in dec_dl_deadline()
1430 static inline void inc_dl_deadline(struct dl_rq *dl_rq, u64 deadline) {} in inc_dl_deadline() argument
1431 static inline void dec_dl_deadline(struct dl_rq *dl_rq, u64 deadline) {} in dec_dl_deadline() argument
1439 u64 deadline = dl_se->deadline; in inc_dl_tasks() local
1445 inc_dl_deadline(dl_rq, deadline); in inc_dl_tasks()
1459 dec_dl_deadline(dl_rq, dl_se->deadline); in dec_dl_tasks()
1476 if (dl_time_before(dl_se->deadline, entry->deadline)) in __enqueue_dl_entity()
1519 dl_time_before(dl_se->deadline, in enqueue_dl_entity()
1716 (dl_time_before(p->dl.deadline, in select_task_rq_dl()
1815 if ((p->dl.deadline == rq->curr->dl.deadline) && in check_preempt_curr_dl()
2061 !dl_time_before(task->dl.deadline, in find_lock_later_rq()
2091 dl_time_before(task->dl.deadline, in find_lock_later_rq()
2151 dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && in push_dl_task()
2265 if (p && dl_time_before(p->dl.deadline, dmin) && in pull_dl_task()
2267 dl_time_before(p->dl.deadline, in pull_dl_task()
2276 if (dl_time_before(p->dl.deadline, in pull_dl_task()
2277 src_rq->curr->dl.deadline)) in pull_dl_task()
2285 dmin = p->dl.deadline; in pull_dl_task()
2520 if (dl_time_before(rq->dl.earliest_dl.curr, p->dl.deadline)) in prio_changed_dl()