Lines Matching refs:timeout
35 ** SM_IO_RD_TIMEOUT -- measured timeout for reads
41 ** BSD-based/like systems the timeout for a select() is updated for the
52 ** to -- struct timeval of the timeout
53 ** timeout -- the original timeout value
60 #define SM_IO_RD_TIMEOUT(fp, fd, to, timeout, sel_ret) \
65 if (timeout == SM_TIME_IMMEDIATE) \
95 /* timeout */ \
111 ** timeout -- original timeout value (in milliseconds)
119 sm_lflush(fp, timeout)
121 int *timeout;
125 return sm_flush(fp, timeout);
134 ** timeout -- time to complete filling the buffer in milliseconds
142 sm_refill(fp, timeout)
144 int timeout;
150 if (timeout == SM_TIME_DEFAULT)
151 timeout = fp->f_timeout;
152 if (timeout == SM_TIME_IMMEDIATE)
174 SM_CONVERT_TIME(fp, fd, timeout, &to);
189 if (sm_flush(fp, &timeout))
228 (void) sm_fwalk(sm_lflush, &timeout);
237 sm_flush(fp->f_flushfp, &timeout);
243 ** or it appears that the timeout has expired before finding
256 if (IS_IO_ERROR(fd, r, timeout))
260 SM_IO_RD_TIMEOUT(fp, fd, &to, timeout, ret);
286 ** timeout -- time to complete refill
294 sm_rget(fp, timeout)
296 int timeout;
298 if (sm_refill(fp, timeout) == 0)