• Home
  • Raw
  • Download

Lines Matching refs:now

188 	cycle_t now, last, mask, max, delta;  in timekeeping_get_delta()  local
200 now = tk_clock_read(tkr); in timekeeping_get_delta()
206 delta = clocksource_delta(now, last, mask); in timekeeping_get_delta()
422 u64 now; in __ktime_get_fast_ns() local
427 now = ktime_to_ns(tkr->base); in __ktime_get_fast_ns()
429 now += timekeeping_delta_to_ns(tkr, in __ktime_get_fast_ns()
436 return now; in __ktime_get_fast_ns()
955 cycle_t now; in ktime_get_snapshot() local
961 now = tk_clock_read(&tk->tkr_mono); in ktime_get_snapshot()
967 nsec_real = timekeeping_cycles_to_ns(&tk->tkr_mono, now); in ktime_get_snapshot()
968 nsec_raw = timekeeping_cycles_to_ns(&tk->tkr_raw, now); in ktime_get_snapshot()
971 systime_snapshot->cycles = now; in ktime_get_snapshot()
1108 cycle_t cycles, now, interval_start; in get_device_system_crosststamp() local
1140 now = tk_clock_read(&tk->tkr_mono); in get_device_system_crosststamp()
1142 if (!cycle_between(interval_start, cycles, now)) { in get_device_system_crosststamp()
1207 struct timespec64 now; in do_gettimeofday() local
1209 getnstimeofday64(&now); in do_gettimeofday()
1210 tv->tv_sec = now.tv_sec; in do_gettimeofday()
1211 tv->tv_usec = now.tv_nsec/1000; in do_gettimeofday()
1528 struct timespec64 now, boot, tmp; in timekeeping_init() local
1530 read_persistent_clock64(&now); in timekeeping_init()
1531 if (!timespec64_valid_strict(&now)) { in timekeeping_init()
1534 now.tv_sec = 0; in timekeeping_init()
1535 now.tv_nsec = 0; in timekeeping_init()
1536 } else if (now.tv_sec || now.tv_nsec) in timekeeping_init()
1556 tk_set_xtime(tk, &now); in timekeeping_init()
2218 struct timespec64 now; in current_kernel_time64() local
2224 now = tk_xtime(tk); in current_kernel_time64()
2227 return now; in current_kernel_time64()
2234 struct timespec64 now, mono; in get_monotonic_coarse64() local
2240 now = tk_xtime(tk); in get_monotonic_coarse64()
2244 set_normalized_timespec64(&now, now.tv_sec + mono.tv_sec, in get_monotonic_coarse64()
2245 now.tv_nsec + mono.tv_nsec); in get_monotonic_coarse64()
2247 return now; in get_monotonic_coarse64()