Lines Matching refs:tk
276 void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
280 if (tk->tkr_mono.clock != &clocksource_tod) in update_vsyscall()
286 vdso_data->xtime_tod_stamp = tk->tkr_mono.cycle_last; in update_vsyscall()
287 vdso_data->xtime_clock_sec = tk->xtime_sec; in update_vsyscall()
288 vdso_data->xtime_clock_nsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
290 tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vsyscall()
291 vdso_data->wtom_clock_nsec = tk->tkr_mono.xtime_nsec + in update_vsyscall()
292 + ((u64) tk->wall_to_monotonic.tv_nsec << tk->tkr_mono.shift); in update_vsyscall()
293 nsecps = (u64) NSEC_PER_SEC << tk->tkr_mono.shift; in update_vsyscall()
299 vdso_data->xtime_coarse_sec = tk->xtime_sec; in update_vsyscall()
301 (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in update_vsyscall()
303 vdso_data->xtime_coarse_sec + tk->wall_to_monotonic.tv_sec; in update_vsyscall()
305 vdso_data->xtime_coarse_nsec + tk->wall_to_monotonic.tv_nsec; in update_vsyscall()
311 vdso_data->tk_mult = tk->tkr_mono.mult; in update_vsyscall()
312 vdso_data->tk_shift = tk->tkr_mono.shift; in update_vsyscall()