Lines Matching +full:1000 +full:ns
170 u64 ns; in do_realtime() local
175 ns = vvar->wall_time_snsec; in do_realtime()
176 ns += vgetsns(vvar); in do_realtime()
177 ns = __shr64(ns, vvar->clock.shift); in do_realtime()
180 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns); in do_realtime()
181 ts->tv_nsec = ns; in do_realtime()
190 u64 ns; in do_realtime_stick() local
195 ns = vvar->wall_time_snsec; in do_realtime_stick()
196 ns += vgetsns_stick(vvar); in do_realtime_stick()
197 ns = __shr64(ns, vvar->clock.shift); in do_realtime_stick()
200 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns); in do_realtime_stick()
201 ts->tv_nsec = ns; in do_realtime_stick()
210 u64 ns; in do_monotonic() local
215 ns = vvar->monotonic_time_snsec; in do_monotonic()
216 ns += vgetsns(vvar); in do_monotonic()
217 ns = __shr64(ns, vvar->clock.shift); in do_monotonic()
220 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns); in do_monotonic()
221 ts->tv_nsec = ns; in do_monotonic()
230 u64 ns; in do_monotonic_stick() local
235 ns = vvar->monotonic_time_snsec; in do_monotonic_stick()
236 ns += vgetsns_stick(vvar); in do_monotonic_stick()
237 ns = __shr64(ns, vvar->clock.shift); in do_monotonic_stick()
240 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns); in do_monotonic_stick()
241 ts->tv_nsec = ns; in do_monotonic_stick()
347 tstv->tv.tv_usec /= 1000; in __vdso_gettimeofday()
383 tstv->tv.tv_usec /= 1000; in __vdso_gettimeofday_stick()