Lines Matching full:now
112 * This always puts next_tb beyond now, so the clock event will never fire
171 unsigned long now, unsigned long stime) in vtime_delta_scaled() argument
178 nowscaled = read_spurr(now); in vtime_delta_scaled()
214 unsigned long now, stime; in vtime_delta() local
218 now = mftb(); in vtime_delta()
219 stime = now - acct->starttime; in vtime_delta()
220 acct->starttime = now; in vtime_delta()
222 *stime_scaled = vtime_delta_scaled(acct, now, stime); in vtime_delta()
226 *steal_time = pseries_calculate_stolen_time(now); in vtime_delta()
413 * now.
543 void timer_rearm_host_dec(u64 now) in timer_rearm_host_dec() argument
550 if (now >= *next_tb) { in timer_rearm_host_dec()
553 now = *next_tb - now; in timer_rearm_host_dec()
554 if (now > decrementer_max) in timer_rearm_host_dec()
555 now = decrementer_max; in timer_rearm_host_dec()
556 set_dec_or_work(now); in timer_rearm_host_dec()
571 u64 now; in DEFINE_INTERRUPT_HANDLER_ASYNC() local
615 now = get_tb(); in DEFINE_INTERRUPT_HANDLER_ASYNC()
616 if (now >= *next_tb) { in DEFINE_INTERRUPT_HANDLER_ASYNC()
620 now = *next_tb - now; in DEFINE_INTERRUPT_HANDLER_ASYNC()
621 if (now > decrementer_max) in DEFINE_INTERRUPT_HANDLER_ASYNC()
622 now = decrementer_max; in DEFINE_INTERRUPT_HANDLER_ASYNC()
623 set_dec_or_work(now); in DEFINE_INTERRUPT_HANDLER_ASYNC()
785 int update_persistent_clock64(struct timespec64 now) in update_persistent_clock64() argument
792 rtc_time64_to_tm(now.tv_sec + 1 + timezone_offset, &tm); in update_persistent_clock64()