Searched refs:atv (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.0-release/sys/kern/
H A Dkern_ntptime.c248 struct timespec atv; /* nanosecond time */ local
252 nanotime(&atv);
253 ntvp->time.tv_sec = atv.tv_sec;
254 ntvp->time.tv_nsec = atv.tv_nsec;
967 struct timeval atv; local
972 atv.tv_sec = time_adjtime / 1000000;
973 atv.tv_usec = time_adjtime % 1000000;
974 if (atv.tv_usec < 0) {
975 atv.tv_usec += 1000000;
976 atv
[all...]
H A Dkern_time.c397 struct timeval atv; local
407 TIMESPEC_TO_TIMEVAL(&atv, ats);
408 error = settime(td, &atv);
567 struct timeval atv; local
572 microtime(&atv);
573 error = copyout(&atv, uap->tp, sizeof (atv));
593 struct timeval atv, *tvp; local
598 error = copyin(uap->tv, &atv, sizeof(atv));
[all...]
H A Dvfs_aio.c1954 struct timeval atv; local
1964 TIMESPEC_TO_TIMEVAL(&atv, ts);
1965 if (itimerfix(&atv))
1967 timo = tvtohz(&atv);
2484 struct timeval atv; local
2497 TIMESPEC_TO_TIMEVAL(&atv, ts);
2498 if (itimerfix(&atv))
2500 timo = tvtohz(&atv);
/freebsd-10.0-release/sys/netinet6/
H A Din6_rmx.c240 struct timeval atv; local
249 atv.tv_sec = MTUTIMO_DEFAULT;
250 atv.tv_usec = 0;
251 callout_reset(&V_rtq_mtutimer, tvtohz(&atv), in6_mtutimo, rock);
/freebsd-10.0-release/sys/netinet/
H A Din_rmx.c246 struct timeval atv; local
253 atv.tv_usec = 0;
254 atv.tv_sec = V_rtq_timeout;
255 callout_reset(&V_rtq_timer, tvtohz(&atv), in_rtqtimo, rock);
H A Dip_icmp.c912 struct timeval atv; local
915 getmicrotime(&atv);
916 t = (atv.tv_sec % (24*60*60)) * 1000 + atv.tv_usec / 1000;
/freebsd-10.0-release/sys/amd64/linux32/
H A Dlinux32_machdep.c856 struct timeval atv; local
862 microtime(&atv);
863 atv32.tv_sec = atv.tv_sec;
864 atv32.tv_usec = atv.tv_usec;
879 struct timeval atv, *tvp; local
887 atv.tv_sec = atv32.tv_sec;
888 atv.tv_usec = atv32.tv_usec;
889 tvp = &atv;
/freebsd-10.0-release/sys/compat/svr4/
H A Dsvr4_misc.c1524 struct timeval atv; local
1526 microtime(&atv);
1527 return copyout(&atv, uap->tp, sizeof (atv));
/freebsd-10.0-release/sys/compat/freebsd32/
H A Dfreebsd32_misc.c788 struct timeval atv; local
794 microtime(&atv);
795 CP(atv, atv32, tv_sec);
796 CP(atv, atv32, tv_usec);

Completed in 112 milliseconds