Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c117 while (tk->tkr_mono.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_mono.shift)) { in tk_normalize_xtime()
118 tk->tkr_mono.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_mono.shift; in tk_normalize_xtime()
121 while (tk->tkr_raw.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_raw.shift)) { in tk_normalize_xtime()
122 tk->tkr_raw.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_raw.shift; in tk_normalize_xtime()
132 ts.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in tk_xtime()
139 tk->tkr_mono.xtime_nsec = (u64)ts->tv_nsec << tk->tkr_mono.shift; in tk_set_xtime()
145 tk->tkr_mono.xtime_nsec += (u64)ts->tv_nsec << tk->tkr_mono.shift; in tk_xtime_add()
344 tk->tkr_mono.xtime_nsec >>= -shift_change; in tk_setup_internals()
345 tk->tkr_raw.xtime_nsec >>= -shift_change; in tk_setup_internals()
347 tk->tkr_mono.xtime_nsec <<= shift_change; in tk_setup_internals()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/nds32/kernel/
Dvdso.c219 vdso_data->xtime_clock_nsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
221 vdso_data->xtime_coarse_nsec = tk->tkr_mono.xtime_nsec >> in update_vsyscall()
/kernel/linux/linux-5.10/include/linux/
Dtimekeeper_internal.h40 u64 xtime_nsec; member
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dtime.c438 fsyscall_gtod_data.wall_time.snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
442 fsyscall_gtod_data.monotonic_time.snsec = tk->tkr_mono.xtime_nsec in update_vsyscall()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dtime.c847 xt.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in update_vsyscall()
883 frac_sec = tk->tkr_mono.xtime_nsec << (32 - shift); in update_vsyscall()
/kernel/linux/linux-5.10/arch/arm/xen/
Denlighten.c104 now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in xen_pvclock_gtod_notify()
/kernel/linux/linux-5.10/arch/x86/xen/
Dtime.c102 now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in xen_pvclock_gtod_notify()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.c1935 vdata->clock.base_cycles = tk->tkr_mono.xtime_nsec; in update_pvclock_gtod()
1943 vdata->raw_clock.base_cycles = tk->tkr_raw.xtime_nsec; in update_pvclock_gtod()