Home
last modified time | relevance | path

Searched refs:atv (Results 1 – 6 of 6) sorted by relevance

/dragonfly/sys/netinet6/
H A Din6_rmx.c365 struct timeval atv; in in6_rtqtimo_dispatch() local
407 atv.tv_usec = 0; in in6_rtqtimo_dispatch()
408 atv.tv_sec = arg.nextstop - time_uptime; in in6_rtqtimo_dispatch()
410 atv.tv_sec = 1; in in6_rtqtimo_dispatch()
411 arg.nextstop = time_uptime + atv.tv_sec; in in6_rtqtimo_dispatch()
414 atv.tv_sec = rtq_timeout; in in6_rtqtimo_dispatch()
470 struct timeval atv; in in6_mtutimo_dispatch() local
483 atv.tv_usec = 0; in in6_mtutimo_dispatch()
484 atv.tv_sec = arg.nextstop - time_uptime; in in6_mtutimo_dispatch()
486 atv.tv_sec = 1; in in6_mtutimo_dispatch()
[all …]
/dragonfly/sys/kern/
H A Dkern_time.c287 struct timeval atv; in kern_clock_settime() local
299 error = settime(&atv); in kern_clock_settime()
656 struct timeval atv; in sys_gettimeofday() local
663 microtime(&atv); in sys_gettimeofday()
665 sizeof (atv)))) in sys_gettimeofday()
680 struct timeval atv; in sys_settimeofday() local
694 sizeof(atv)))) in sys_settimeofday()
696 if (atv.tv_usec < 0 || atv.tv_usec >= 1000000) in sys_settimeofday()
698 if (atv.tv_sec == 0 && atv.tv_usec == 0) in sys_settimeofday()
775 struct timeval atv; in sys_adjtime() local
[all …]
H A Dkern_threads.c83 struct timeval atv;
99 TIMESPEC_TO_TIMEVAL(&atv, &ts);
100 if (itimerfix(&atv)) {
104 timo = tvtohz_high(&atv);
H A Dkern_ntptime.c209 struct timespec atv; /* nanosecond time */ in ntp_sysctl() local
214 nanotime(&atv); in ntp_sysctl()
215 ntv.time.tv_sec = atv.tv_sec; in ntp_sysctl()
216 ntv.time.tv_nsec = atv.tv_nsec; in ntp_sysctl()
/dragonfly/sys/netinet/
H A Din_rmx.c330 struct timeval atv; in in_rtqtimo_dispatch() local
374 atv.tv_usec = 0; in in_rtqtimo_dispatch()
375 atv.tv_sec = arg.nextstop - time_uptime; in in_rtqtimo_dispatch()
376 if ((int)atv.tv_sec < 1) { /* time shift safety */ in in_rtqtimo_dispatch()
377 atv.tv_sec = 1; in in_rtqtimo_dispatch()
378 arg.nextstop = time_uptime + atv.tv_sec; in in_rtqtimo_dispatch()
380 if ((int)atv.tv_sec > rtq_timeout) { /* time shift safety */ in in_rtqtimo_dispatch()
381 atv.tv_sec = rtq_timeout; in in_rtqtimo_dispatch()
382 arg.nextstop = time_uptime + atv.tv_sec; in in_rtqtimo_dispatch()
384 callout_reset(&pcpu->timo_ch, tvtohz_high(&atv), in_rtqtimo, NULL); in in_rtqtimo_dispatch()
H A Dip_icmp.c1144 struct timeval atv; in iptime() local
1147 getmicrotime(&atv); in iptime()
1148 t = (atv.tv_sec % (24*60*60)) * 1000 + atv.tv_usec / 1000; in iptime()