Lines Matching refs:nsec

33 	u64 nsec, sec;  in update_vdso_time_data()  local
42 nsec = tk->tkr_mono.xtime_nsec; in update_vdso_time_data()
43 nsec += ((u64)tk->wall_to_monotonic.tv_nsec << tk->tkr_mono.shift); in update_vdso_time_data()
44 while (nsec >= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vdso_time_data()
45 nsec -= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift); in update_vdso_time_data()
48 vdso_ts->nsec = nsec; in update_vdso_time_data()
54 nsec += (u64)tk->monotonic_to_boot.tv_nsec << tk->tkr_mono.shift; in update_vdso_time_data()
60 while (nsec >= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vdso_time_data()
61 nsec -= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift); in update_vdso_time_data()
64 vdso_ts->nsec = nsec; in update_vdso_time_data()
69 vdso_ts->nsec = tk->tkr_raw.xtime_nsec; in update_vdso_time_data()
74 vdso_ts->nsec = tk->tkr_mono.xtime_nsec; in update_vdso_time_data()
83 u64 nsec; in update_vsyscall() local
95 vdso_ts->nsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
100 vdso_ts->nsec = tk->coarse_nsec; in update_vsyscall()
105 nsec = tk->coarse_nsec; in update_vsyscall()
106 nsec = nsec + tk->wall_to_monotonic.tv_nsec; in update_vsyscall()
107 vdso_ts->sec += __iter_div_u64_rem(nsec, NSEC_PER_SEC, &vdso_ts->nsec); in update_vsyscall()
146 u64 nsec; in vdso_time_update_aux() local
164 nsec = tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift; in vdso_time_update_aux()
165 nsec += tk->monotonic_to_aux.tv_nsec; in vdso_time_update_aux()
166 vdso_ts->sec += __iter_div_u64_rem(nsec, NSEC_PER_SEC, &nsec); in vdso_time_update_aux()
167 nsec = nsec << tk->tkr_mono.shift; in vdso_time_update_aux()
168 vdso_ts->nsec = nsec; in vdso_time_update_aux()