Lines Matching refs:timeout
59 #define SM_IO_RD_TIMEOUT(fp, fd, to, timeout, sel_ret) \ argument
64 if (timeout == SM_TIME_IMMEDIATE) \
118 sm_lflush(fp, timeout) in sm_lflush() argument
120 int *timeout;
124 return sm_flush(fp, timeout);
141 sm_refill(fp, timeout) in sm_refill() argument
143 int timeout;
149 if (timeout == SM_TIME_DEFAULT)
150 timeout = fp->f_timeout;
151 if (timeout == SM_TIME_IMMEDIATE)
173 SM_CONVERT_TIME(fp, fd, timeout, &to);
188 if (sm_flush(fp, &timeout))
227 (void) sm_fwalk(sm_lflush, &timeout);
236 sm_flush(fp->f_flushfp, &timeout);
255 if (IS_IO_ERROR(fd, r, timeout))
259 SM_IO_RD_TIMEOUT(fp, fd, &to, timeout, ret);
293 sm_rget(fp, timeout) in sm_rget() argument
295 int timeout;
297 if (sm_refill(fp, timeout) == 0)