Lines Matching refs:ts

66 notrace static long vdso_fallback_gettime(long clock, struct __kernel_old_timespec *ts)
70 register long o1 __asm__("o1") = (long) ts;
147 struct __kernel_old_timespec *ts)
154 ts->tv_sec = vvar->wall_time_sec;
160 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns);
161 ts->tv_nsec = ns;
167 struct __kernel_old_timespec *ts)
174 ts->tv_sec = vvar->wall_time_sec;
180 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns);
181 ts->tv_nsec = ns;
187 struct __kernel_old_timespec *ts)
194 ts->tv_sec = vvar->monotonic_time_sec;
200 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns);
201 ts->tv_nsec = ns;
207 struct __kernel_old_timespec *ts)
214 ts->tv_sec = vvar->monotonic_time_sec;
220 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns);
221 ts->tv_nsec = ns;
227 struct __kernel_old_timespec *ts)
233 ts->tv_sec = vvar->wall_time_coarse_sec;
234 ts->tv_nsec = vvar->wall_time_coarse_nsec;
240 struct __kernel_old_timespec *ts)
246 ts->tv_sec = vvar->monotonic_time_coarse_sec;
247 ts->tv_nsec = vvar->monotonic_time_coarse_nsec;
254 __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts)
262 return do_realtime(vvd, ts);
266 return do_monotonic(vvd, ts);
268 return do_realtime_coarse(vvd, ts);
270 return do_monotonic_coarse(vvd, ts);
275 return vdso_fallback_gettime(clock, ts);
282 __vdso_clock_gettime_stick(clockid_t clock, struct __kernel_old_timespec *ts)
290 return do_realtime_stick(vvd, ts);
294 return do_monotonic_stick(vvd, ts);
296 return do_realtime_coarse(vvd, ts);
298 return do_monotonic_coarse(vvd, ts);
303 return vdso_fallback_gettime(clock, ts);
314 struct __kernel_old_timespec ts;
317 do_realtime(vvd, &tstv->ts);
326 tstv->tv.tv_usec = tstv->ts.tv_nsec;
350 struct __kernel_old_timespec ts;
353 do_realtime_stick(vvd, &tstv->ts);
362 tstv->tv.tv_usec = tstv->ts.tv_nsec;