Searched refs:tkr_mono (Results 1 – 8 of 8) sorted by relevance
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()39 vdata->wall_time_snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()43 vdata->monotonic_time_snsec = tk->tkr_mono.xtime_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()[all …]
24 vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_data()25 vdata[CS_HRES_COARSE].mask = tk->tkr_mono.mask; in update_vdso_data()26 vdata[CS_HRES_COARSE].mult = tk->tkr_mono.mult; in update_vdso_data()27 vdata[CS_HRES_COARSE].shift = tk->tkr_mono.shift; in update_vdso_data()37 nsec = tk->tkr_mono.xtime_nsec; in update_vdso_data()38 nsec += ((u64)tk->wall_to_monotonic.tv_nsec << tk->tkr_mono.shift); in update_vdso_data()39 while (nsec >= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vdso_data()40 nsec -= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift); in update_vdso_data()49 nsec += (u64)tk->monotonic_to_boot.tv_nsec << tk->tkr_mono.shift; in update_vdso_data()55 while (nsec >= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vdso_data()[all …]
119 while (tk->tkr_mono.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_mono.shift)) { in tk_normalize_xtime()120 tk->tkr_mono.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_mono.shift; in tk_normalize_xtime()134 ts.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in tk_xtime()141 tk->tkr_mono.xtime_nsec = (u64)ts->tv_nsec << tk->tkr_mono.shift; in tk_set_xtime()147 tk->tkr_mono.xtime_nsec += (u64)ts->tv_nsec << tk->tkr_mono.shift; in tk_xtime_add()204 u64 max_cycles = tk->tkr_mono.clock->max_cycles; in timekeeping_check_update()205 const char *name = tk->tkr_mono.clock->name; in timekeeping_check_update()316 old_clock = tk->tkr_mono.clock; in tk_setup_internals()317 tk->tkr_mono.clock = clock; in tk_setup_internals()318 tk->tkr_mono.mask = clock->mask; in tk_setup_internals()[all …]
438 fsyscall_gtod_data.clk_mask = tk->tkr_mono.mask; in update_vsyscall()439 fsyscall_gtod_data.clk_mult = tk->tkr_mono.mult; in update_vsyscall()440 fsyscall_gtod_data.clk_shift = tk->tkr_mono.shift; in update_vsyscall()441 fsyscall_gtod_data.clk_fsys_mmio = tk->tkr_mono.clock->archdata.fsys_mmio; in update_vsyscall()442 fsyscall_gtod_data.clk_cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()445 fsyscall_gtod_data.wall_time.snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()449 fsyscall_gtod_data.monotonic_time.snsec = tk->tkr_mono.xtime_nsec in update_vsyscall()451 << tk->tkr_mono.shift); in update_vsyscall()455 (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vsyscall()457 ((u64)NSEC_PER_SEC) << tk->tkr_mono.shift; in update_vsyscall()
93 struct tk_read_base tkr_mono; member
110 now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in xen_pvclock_gtod_notify()
2275 vdata->clock.vclock_mode = tk->tkr_mono.clock->vdso_clock_mode; in update_pvclock_gtod()2276 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_pvclock_gtod()2277 vdata->clock.mask = tk->tkr_mono.mask; in update_pvclock_gtod()2278 vdata->clock.mult = tk->tkr_mono.mult; in update_pvclock_gtod()2279 vdata->clock.shift = tk->tkr_mono.shift; in update_pvclock_gtod()2280 vdata->clock.base_cycles = tk->tkr_mono.xtime_nsec; in update_pvclock_gtod()2281 vdata->clock.offset = tk->tkr_mono.base; in update_pvclock_gtod()