Lines Matching full:now
61 static void loadtimer(sbintime_t now, int first);
69 static int handleevents(sbintime_t now, int fake);
116 sbintime_t now; /* Last tick time. */ member
137 sbintime_t now; in hardclockintr() local
144 now = state->now; in hardclockintr()
145 CTR2(KTR_SPARE2, "ipi: now %d.%08x", in hardclockintr()
146 (int)(now >> 32), (u_int)(now & 0xffffffff)); in hardclockintr()
147 done = handleevents(now, 0); in hardclockintr()
155 handleevents(sbintime_t now, int fake) in handleevents() argument
163 CTR2(KTR_SPARE2, "handle: now %d.%08x", in handleevents()
164 (int)(now >> 32), (u_int)(now & 0xffffffff)); in handleevents()
177 while (now >= state->nexthard) { in handleevents()
190 while (now >= state->nextstat) { in handleevents()
200 while (now >= state->nextprof) { in handleevents()
210 if (now >= state->nextcallopt || now >= state->nextcall) { in handleevents()
212 callout_process(now); in handleevents()
220 loadtimer(now, (fake == 2) && in handleevents()
300 sbintime_t now; local
316 now = sbinuptime();
318 *next = now + timerperiod;
321 state->now = now;
322 CTR2(KTR_SPARE2, "intr: now %d.%08x",
323 (int)(now >> 32), (u_int)(now & 0xffffffff));
339 state->now = now;
340 if (now >= state->nextevent) {
353 handleevents(now, 0);
375 loadtimer(sbintime_t now, int start) argument
394 tmp = now % timerperiod;
398 CTR4(KTR_SPARE2, "load p: now %d.%08x first in %d.%08x",
399 (int)(now >> 32), (u_int)(now & 0xffffffff),
401 *next = new + now;
411 et_start(timer, new - now, 0);
442 sbintime_t now; local
448 now = sbinuptime();
450 loadtimer(now, 1);
464 now = sbinuptime();
465 handleevents(now, 0);
478 sbintime_t now, next; local
484 now = sbinuptime();
486 now = 0;
491 next = now + timerperiod;
501 state->now = now;
521 loadtimer(now, 1);
684 state->now = sbinuptime();
690 handleevents(state->now, 2);
757 sbintime_t now, t; local
770 now = state->now;
772 now = sbinuptime();
773 CTR2(KTR_SPARE2, "idle: now %d.%08x",
774 (int)(now >> 32), (u_int)(now & 0xffffffff));
779 loadtimer(now, 0);
781 return (MAX(t - now, 0));
790 sbintime_t now; local
799 now = state->now;
801 now = sbinuptime();
802 CTR2(KTR_SPARE2, "active: now %d.%08x",
803 (int)(now >> 32), (u_int)(now & 0xffffffff));
806 handleevents(now, 1);
961 " now %#jx nevent %#jx (%jd)\n"
966 (uintmax_t)st->now,
968 (uintmax_t)(st->nextevent - st->now) / tick_sbt,
970 (uintmax_t)(st->nexttick - st->now) / tick_sbt,
972 (uintmax_t)(st->nexthard - st->now) / tick_sbt,
974 (uintmax_t)(st->nextstat - st->now) / tick_sbt,
976 (uintmax_t)(st->nextprof - st->now) / tick_sbt,
978 (uintmax_t)(st->nextcall - st->now) / tick_sbt,
980 (uintmax_t)(st->nextcallopt - st->now) / tick_sbt);