Home
last modified time | relevance | path

Searched refs:xtime_nsec (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/kernel/time/
Dvsyscall.c37 nsec = tk->tkr_mono.xtime_nsec; in update_vdso_data()
64 vdso_ts->nsec = tk->tkr_raw.xtime_nsec; in update_vdso_data()
69 vdso_ts->nsec = tk->tkr_mono.xtime_nsec; in update_vdso_data()
89 vdso_ts->nsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
94 vdso_ts->nsec = tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift; in update_vsyscall()
99 nsec = tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift; in update_vsyscall()
Dtimekeeping.c119 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()
123 while (tk->tkr_raw.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_raw.shift)) { in tk_normalize_xtime()
124 tk->tkr_raw.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_raw.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()
346 tk->tkr_mono.xtime_nsec >>= -shift_change; in tk_setup_internals()
347 tk->tkr_raw.xtime_nsec >>= -shift_change; in tk_setup_internals()
349 tk->tkr_mono.xtime_nsec <<= shift_change; in tk_setup_internals()
[all …]
/linux-6.6.21/arch/sparc/kernel/
Dvdso.c39 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()
56 (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in update_vsyscall()
/linux-6.6.21/include/linux/
Dtimekeeper_internal.h40 u64 xtime_nsec; member
/linux-6.6.21/arch/ia64/kernel/
Dtime.c445 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()
/linux-6.6.21/arch/x86/xen/
Dtime.c110 now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in xen_pvclock_gtod_notify()
/linux-6.6.21/arch/arm/xen/
Denlighten.c110 now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in xen_pvclock_gtod_notify()
/linux-6.6.21/arch/x86/kvm/
Dx86.c2280 vdata->clock.base_cycles = tk->tkr_mono.xtime_nsec; in update_pvclock_gtod()
2288 vdata->raw_clock.base_cycles = tk->tkr_raw.xtime_nsec; in update_pvclock_gtod()