Lines Matching refs:tk
27 void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
34 vdata->vclock_mode = tk->tkr_mono.clock->archdata.vclock_mode; in update_vsyscall()
35 vdata->cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
36 vdata->mask = tk->tkr_mono.mask; in update_vsyscall()
37 vdata->mult = tk->tkr_mono.mult; in update_vsyscall()
38 vdata->shift = tk->tkr_mono.shift; in update_vsyscall()
40 vdata->wall_time_sec = tk->xtime_sec; in update_vsyscall()
41 vdata->wall_time_snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
43 vdata->monotonic_time_sec = tk->xtime_sec in update_vsyscall()
44 + tk->wall_to_monotonic.tv_sec; in update_vsyscall()
45 vdata->monotonic_time_snsec = tk->tkr_mono.xtime_nsec in update_vsyscall()
46 + ((u64)tk->wall_to_monotonic.tv_nsec in update_vsyscall()
47 << tk->tkr_mono.shift); in update_vsyscall()
49 (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vsyscall()
51 ((u64)NSEC_PER_SEC) << tk->tkr_mono.shift; in update_vsyscall()
55 vdata->wall_time_coarse_sec = tk->xtime_sec; in update_vsyscall()
56 vdata->wall_time_coarse_nsec = (long)(tk->tkr_mono.xtime_nsec >> in update_vsyscall()
57 tk->tkr_mono.shift); in update_vsyscall()
60 vdata->wall_time_coarse_sec + tk->wall_to_monotonic.tv_sec; in update_vsyscall()
62 vdata->wall_time_coarse_nsec + tk->wall_to_monotonic.tv_nsec; in update_vsyscall()