Searched refs:tkr_mono (Results 1 – 7 of 7) sorted by relevance
24 vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_data()26 vdata[CS_HRES_COARSE].max_cycles = tk->tkr_mono.clock->max_cycles; in update_vdso_data()28 vdata[CS_HRES_COARSE].mask = tk->tkr_mono.mask; in update_vdso_data()29 vdata[CS_HRES_COARSE].mult = tk->tkr_mono.mult; in update_vdso_data()30 vdata[CS_HRES_COARSE].shift = tk->tkr_mono.shift; in update_vdso_data()43 nsec = tk->tkr_mono.xtime_nsec; in update_vdso_data()44 nsec += ((u64)tk->wall_to_monotonic.tv_nsec << tk->tkr_mono.shift); in update_vdso_data()45 while (nsec >= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vdso_data()46 nsec -= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift); in update_vdso_data()55 nsec += (u64)tk->monotonic_to_boot.tv_nsec << 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()307 old_clock = tk->tkr_mono.clock; in tk_setup_internals()308 tk->tkr_mono.clock = clock; in tk_setup_internals()309 tk->tkr_mono.mask = clock->mask; in tk_setup_internals()[all …]
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 …]
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()
2276 vdata->clock.vclock_mode = tk->tkr_mono.clock->vdso_clock_mode; in update_pvclock_gtod()2277 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_pvclock_gtod()2278 vdata->clock.mask = tk->tkr_mono.mask; in update_pvclock_gtod()2279 vdata->clock.mult = tk->tkr_mono.mult; in update_pvclock_gtod()2280 vdata->clock.shift = tk->tkr_mono.shift; in update_pvclock_gtod()2281 vdata->clock.base_cycles = tk->tkr_mono.xtime_nsec; in update_pvclock_gtod()2282 vdata->clock.offset = tk->tkr_mono.base; in update_pvclock_gtod()