Lines Matching refs:rqtime
414 timeval2reltime(struct timeval *timout, timestruc_t *rqtime, in timeval2reltime() argument
468 rqtime->tv_sec = wait_time.tv_sec; in timeval2reltime()
469 rqtime->tv_nsec = wait_time.tv_usec * 1000; in timeval2reltime()
470 *rqtp = rqtime; in timeval2reltime()
477 timespec2reltime(timespec_t *timout, timestruc_t *rqtime, in timespec2reltime() argument
492 if (copyin(timout, rqtime, sizeof (*rqtime))) in timespec2reltime()
499 TIMESPEC32_TO_TIMESPEC(rqtime, &wait_time_32); in timespec2reltime()
503 if (rqtime->tv_sec == 0 && rqtime->tv_nsec == 0) { in timespec2reltime()
508 if (rqtime->tv_sec < 0 || in timespec2reltime()
509 rqtime->tv_nsec < 0 || rqtime->tv_nsec >= NANOSEC) in timespec2reltime()
512 *rqtp = rqtime; in timespec2reltime()
531 timestruc_t rqtime; in aiowait() local
541 error = timeval2reltime(timout, &rqtime, &rqtp, &blocking); in aiowait()
621 timestruc_t rqtime; in aiowaitn() local
643 error = timespec2reltime(timout, &rqtime, &rqtp, &blocking); in aiowaitn()
917 timestruc_t rqtime; in aiosuspend() local
927 error = timespec2reltime(timout, &rqtime, &rqtp, &blocking); in aiosuspend()