Searched refs:atv (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/kern/ |
H A D | kern_ntptime.c | 258 struct timespec atv; /* nanosecond time */ in ntp_gettime1() local 262 nanotime(&atv); in ntp_gettime1() 263 ntvp->time.tv_sec = atv.tv_sec; in ntp_gettime1() 264 ntvp->time.tv_nsec = atv.tv_nsec; in ntp_gettime1() 957 struct timeval atv; in kern_adjtime() local 973 atv.tv_sec = ltr / 1000000; in kern_adjtime() 974 atv.tv_usec = ltr % 1000000; in kern_adjtime() 975 if (atv.tv_usec < 0) { in kern_adjtime() 976 atv.tv_usec += 1000000; in kern_adjtime() 977 atv.tv_sec--; in kern_adjtime() [all …]
|
H A D | kern_time.c | 405 struct timeval atv; in kern_clock_settime() 419 TIMESPEC_TO_TIMEVAL(&atv, ats); in kern_clock_settime() 420 error = settime(td, &atv); in kern_clock_settime() 647 struct timeval atv; in sys_gettimeofday() 652 microtime(&atv); in sys_gettimeofday() 653 error = copyout(&atv, uap->tp, sizeof (atv)); in sys_gettimeofday() 673 struct timeval atv, *tvp; in sys_settimeofday() 678 error = copyin(uap->tv, &atv, sizeof(atv)); in sys_settimeofday() 404 struct timeval atv; kern_clock_settime() local 646 struct timeval atv; sys_gettimeofday() local 672 struct timeval atv, *tvp; sys_settimeofday() local [all...] |
H A D | vfs_aio.c | 1934 struct timeval atv; in kern_aio_suspend() local 1944 TIMESPEC_TO_TIMEVAL(&atv, ts); in kern_aio_suspend() 1945 if (itimerfix(&atv)) in kern_aio_suspend() 1947 timo = tvtohz(&atv); in kern_aio_suspend() 2485 struct timeval atv; in kern_aio_waitcomplete() local 2502 TIMESPEC_TO_TIMEVAL(&atv, ts); in kern_aio_waitcomplete() 2503 if (itimerfix(&atv)) in kern_aio_waitcomplete() 2505 timo = tvtohz(&atv); in kern_aio_waitcomplete()
|
/freebsd/sys/amd64/linux32/ |
H A D | linux32_machdep.c | 405 struct timeval atv; in linux_gettimeofday() local 411 microtime(&atv); in linux_gettimeofday() 412 atv32.tv_sec = atv.tv_sec; in linux_gettimeofday() 413 atv32.tv_usec = atv.tv_usec; in linux_gettimeofday() 428 struct timeval atv, *tvp; in linux_settimeofday() local 436 atv.tv_sec = atv32.tv_sec; in linux_settimeofday() 437 atv.tv_usec = atv32.tv_usec; in linux_settimeofday() 438 tvp = &atv; in linux_settimeofday()
|
/freebsd/sys/netinet/ |
H A D | ip_icmp.c | 1037 struct timeval atv; in iptime() local 1040 getmicrotime(&atv); in iptime() 1041 t = (atv.tv_sec % (24*60*60)) * 1000 + atv.tv_usec / 1000; in iptime()
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_misc.c | 912 struct timeval atv; in freebsd32_gettimeofday() local 918 microtime(&atv); in freebsd32_gettimeofday() 919 CP(atv, atv32, tv_sec); in freebsd32_gettimeofday() 920 CP(atv, atv32, tv_usec); in freebsd32_gettimeofday()
|
/freebsd/sys/dev/ocs_fc/ |
H A D | sli4.h | 2589 atv:1, member
|
H A D | ocs_hw.c | 6350 param.atv = (hw->config.auto_xfer_rdy_app_tag_valid ? 1 : 0); in ocs_hw_config_auto_xfer_rdy_t10pi() 6379 param.rtc, param.atv, param.p_type, in ocs_hw_config_auto_xfer_rdy_t10pi()
|