Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/aio/
H A Dposix_aio.c357 hrtime_t hrtres; in __aio_suspend() local
480 hrtres = hrtend - gethrtime(); in __aio_suspend()
481 if (hrtres <= 0) in __aio_suspend()
482 hrtres = 1; in __aio_suspend()
483 twait.tv_sec = hrtres / (hrtime_t)NANOSEC; in __aio_suspend()
484 twait.tv_nsec = hrtres % (hrtime_t)NANOSEC; in __aio_suspend()
545 hrtres = hrtend - gethrtime(); in __aio_suspend()
546 if (hrtres <= 0) { in __aio_suspend()
552 wait->tv_sec = hrtres / (hrtime_t)NANOSEC; in __aio_suspend()
553 wait->tv_nsec = hrtres % (hrtime_t)NANOSEC; in __aio_suspend()
[all …]