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

/freebsd-9.3-release/sys/kern/
H A Dsys_generic.c910 struct timeval atv, rtv, ttv; local
1003 atv = *tvp;
1004 if (itimerfix(&atv)) {
1009 timevaladd(&atv, &rtv);
1011 atv.tv_sec = 0;
1012 atv.tv_usec = 0;
1021 if (atv.tv_sec || atv.tv_usec) {
1023 if (timevalcmp(&rtv, &atv, >=))
1025 ttv = atv;
1262 struct timeval atv, rtv, ttv; local
1490 struct timeval atv, rtv, ttv; local
[all...]
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;
956 struct timeval atv; local
961 atv.tv_sec = time_adjtime / 1000000;
962 atv.tv_usec = time_adjtime % 1000000;
963 if (atv.tv_usec < 0) {
964 atv.tv_usec += 1000000;
965 atv
[all...]
H A Dkern_time.c396 struct timeval atv; local
406 TIMESPEC_TO_TIMEVAL(&atv, ats);
407 error = settime(td, &atv);
559 struct timeval atv; local
564 microtime(&atv);
565 error = copyout(&atv, uap->tp, sizeof (atv));
585 struct timeval atv, *tvp; local
590 error = copyin(uap->tv, &atv, sizeof(atv));
[all...]
H A Dkern_event.c1338 struct timeval atv, rtv, ttv; local
1352 TIMESPEC_TO_TIMEVAL(&atv, tsp);
1353 if (itimerfix(&atv)) {
1360 timeout = atv.tv_sec > 24 * 60 * 60 ?
1361 24 * 60 * 60 * hz : tvtohz(&atv);
1363 timevaladd(&atv, &rtv);
1365 atv.tv_sec = 0;
1366 atv.tv_usec = 0;
1379 if (atv.tv_sec || atv
[all...]
H A Dvfs_aio.c1901 struct timeval atv; local
1911 TIMESPEC_TO_TIMEVAL(&atv, ts);
1912 if (itimerfix(&atv))
1914 timo = tvtohz(&atv);
2424 struct timeval atv; local
2437 TIMESPEC_TO_TIMEVAL(&atv, ts);
2438 if (itimerfix(&atv))
2440 timo = tvtohz(&atv);
/freebsd-9.3-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-9.3-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.c925 struct timeval atv; local
928 getmicrotime(&atv);
929 t = (atv.tv_sec % (24*60*60)) * 1000 + atv.tv_usec / 1000;
/freebsd-9.3-release/sys/amd64/linux32/
H A Dlinux32_machdep.c853 struct timeval atv; local
859 microtime(&atv);
860 atv32.tv_sec = atv.tv_sec;
861 atv32.tv_usec = atv.tv_usec;
876 struct timeval atv, *tvp; local
884 atv.tv_sec = atv32.tv_sec;
885 atv.tv_usec = atv32.tv_usec;
886 tvp = &atv;
/freebsd-9.3-release/sys/compat/svr4/
H A Dsvr4_misc.c1530 struct timeval atv; local
1532 microtime(&atv);
1533 return copyout(&atv, uap->tp, sizeof (atv));
/freebsd-9.3-release/sys/compat/freebsd32/
H A Dfreebsd32_misc.c790 struct timeval atv; local
796 microtime(&atv);
797 CP(atv, atv32, tv_sec);
798 CP(atv, atv32, tv_usec);

Completed in 300 milliseconds