Lines Matching defs:wait
48 cond_t _aio_waitn_cv = DEFAULTCV; /* wait for end of aio_waitn */
352 timespec_t *wait = NULL;
390 /* timeout pointer = NULL : wait indefinitely */
491 wait = &twait;
494 wait = &twait;
558 wait->tv_sec = hrtres / (hrtime_t)NANOSEC;
559 wait->tv_nsec = hrtres % (hrtime_t)NANOSEC;
569 list, nent, wait, -1);
597 wait->tv_sec = hrtres / (hrtime_t)NANOSEC;
598 wait->tv_nsec = hrtres % (hrtime_t)NANOSEC;
611 &__aio_mutex, wait);
615 /* wait indefinitely */
952 timespec_t *wait = NULL;
996 wait = &twait;
1015 &kwaitcnt, wait);
1025 error = _aio_get_timedelta(&end, wait);
1060 wait = &twait;
1089 &kwaitcnt, wait);
1101 /* don't wait for kernel I/Os */
1142 (error = _aio_get_timedelta(&end, wait)) == -1) {
1149 * If some I/Os are outstanding and we have to wait for them,
1169 if (wait)
1171 &__aio_mutex, wait);
1255 * AIO_TIMEOUT_INDEF : wait indefinitely
1282 *timedwait = AIO_TIMEOUT_INDEF; /* wait indefinitely */