• Home
  • Raw
  • Download

Lines Matching refs:now

153 	psched_time_t		now;		/* Cached timestamp */  member
349 psched_time_t now = psched_get_time(); in cbq_mark_toplevel() local
352 if (cl->undertime < now) { in cbq_mark_toplevel()
399 psched_tdiff_t delay = cl->undertime - q->now; in cbq_overlimit()
417 cl->undertime = q->now + delay; in cbq_overlimit()
434 delay = b->undertime - q->now; in cbq_overlimit()
447 psched_time_t now) in cbq_undelay_prio() argument
451 psched_time_t sched = now; in cbq_undelay_prio()
458 if (now - cl->penalized > 0) { in cbq_undelay_prio()
478 return sched - now; in cbq_undelay_prio()
486 psched_time_t now; in cbq_undelay() local
490 now = psched_get_time(); in cbq_undelay()
501 tmp = cbq_undelay_prio(q, prio, now); in cbq_undelay()
513 time = ktime_add_ns(time, PSCHED_TICKS2NS(now + delay)); in cbq_undelay()
558 psched_time_t now; in cbq_update() local
564 now = q->now + L2T(&q->link, len); in cbq_update()
580 idle = now - cl->last; in cbq_update()
624 cl->undertime = now + idle; in cbq_update()
634 if ((s64)(now - cl->last) > 0) in cbq_update()
635 cl->last = now; in cbq_update()
650 if (cl->undertime == PSCHED_PASTPERFECT || q->now >= cl->undertime) { in cbq_under_limit()
674 } while (cl->undertime != PSCHED_PASTPERFECT && q->now < cl->undertime); in cbq_under_limit()
806 psched_time_t now; in cbq_dequeue() local
808 now = psched_get_time(); in cbq_dequeue()
813 q->now = now; in cbq_dequeue()
859 now + q->wd_expires); in cbq_dequeue()
1042 q->now = psched_get_time(); in cbq_reset()
1179 q->now = psched_get_time(); in cbq_init()
1345 cl->xstats.undertime = cl->undertime - q->now; in cbq_dump_class_stats()