Lines Matching refs:tv
25 extern int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz);
49 notrace static long vdso_fallback_gtod(struct timeval *tv, struct timezone *tz) in vdso_fallback_gtod() argument
53 asm ("syscall" : "=a" (ret), "=m" (*tv), "=m" (*tz) : in vdso_fallback_gtod()
54 "0" (__NR_gettimeofday), "D" (tv), "S" (tz) : in vdso_fallback_gtod()
148 notrace static long vdso_fallback_gtod(struct timeval *tv, struct timezone *tz) in vdso_fallback_gtod() argument
157 : "=a" (ret), "=m" (*tv), "=m" (*tz) in vdso_fallback_gtod()
158 : "0" (__NR_gettimeofday), [tv] "g" (tv), "c" (tz) in vdso_fallback_gtod()
302 notrace int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday() argument
304 if (likely(tv != NULL)) { in __vdso_gettimeofday()
305 if (unlikely(do_realtime((struct timespec *)tv) == VCLOCK_NONE)) in __vdso_gettimeofday()
306 return vdso_fallback_gtod(tv, tz); in __vdso_gettimeofday()
307 tv->tv_usec /= 1000; in __vdso_gettimeofday()