Lines Matching refs:now
175 cycle_t now, last, mask, max, delta; in timekeeping_get_delta() local
187 now = tkr->read(tkr->clock); in timekeeping_get_delta()
193 delta = clocksource_delta(now, last, mask); in timekeeping_get_delta()
417 u64 now; in __ktime_get_fast_ns() local
422 now = ktime_to_ns(tkr->base) + timekeeping_get_ns(tkr); in __ktime_get_fast_ns()
425 return now; in __ktime_get_fast_ns()
894 struct timespec64 now; in do_gettimeofday() local
896 getnstimeofday64(&now); in do_gettimeofday()
897 tv->tv_sec = now.tv_sec; in do_gettimeofday()
898 tv->tv_usec = now.tv_nsec/1000; in do_gettimeofday()
1217 struct timespec64 now, boot, tmp; in timekeeping_init() local
1219 read_persistent_clock64(&now); in timekeeping_init()
1220 if (!timespec64_valid_strict(&now)) { in timekeeping_init()
1223 now.tv_sec = 0; in timekeeping_init()
1224 now.tv_nsec = 0; in timekeeping_init()
1225 } else if (now.tv_sec || now.tv_nsec) in timekeeping_init()
1245 tk_set_xtime(tk, &now); in timekeeping_init()
1886 struct timespec64 now; in current_kernel_time() local
1892 now = tk_xtime(tk); in current_kernel_time()
1895 return timespec64_to_timespec(now); in current_kernel_time()
1902 struct timespec64 now, mono; in get_monotonic_coarse64() local
1908 now = tk_xtime(tk); in get_monotonic_coarse64()
1912 set_normalized_timespec64(&now, now.tv_sec + mono.tv_sec, in get_monotonic_coarse64()
1913 now.tv_nsec + mono.tv_nsec); in get_monotonic_coarse64()
1915 return now; in get_monotonic_coarse64()