Lines Matching refs:tk
24 void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
32 vdata->vclock_mode = tk->tkr_mono.clock->archdata.vclock_mode; in update_vsyscall()
33 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
34 vdata->clock.mask = tk->tkr_mono.mask; in update_vsyscall()
35 vdata->clock.mult = tk->tkr_mono.mult; in update_vsyscall()
36 vdata->clock.shift = tk->tkr_mono.shift; in update_vsyscall()
38 vdata->wall_time_sec = tk->xtime_sec; in update_vsyscall()
39 vdata->wall_time_snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
41 vdata->monotonic_time_sec = tk->xtime_sec + in update_vsyscall()
42 tk->wall_to_monotonic.tv_sec; in update_vsyscall()
43 vdata->monotonic_time_snsec = tk->tkr_mono.xtime_nsec + in update_vsyscall()
44 (tk->wall_to_monotonic.tv_nsec << in update_vsyscall()
45 tk->tkr_mono.shift); in update_vsyscall()
48 (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vsyscall()
50 ((u64)NSEC_PER_SEC) << tk->tkr_mono.shift; in update_vsyscall()
54 vdata->wall_time_coarse_sec = tk->xtime_sec; in update_vsyscall()
56 (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in update_vsyscall()
59 vdata->wall_time_coarse_sec + tk->wall_to_monotonic.tv_sec; in update_vsyscall()
61 vdata->wall_time_coarse_nsec + tk->wall_to_monotonic.tv_nsec; in update_vsyscall()