Lines Matching refs:timeout
109 sm_io_open(type, timeout, info, flags, rpool) in sm_io_open() argument
111 int SM_NONVOLATILE timeout; /* this is not the file type timeout */
129 if (timeout == SM_TIME_DEFAULT)
130 timeout = SM_TIME_FOREVER;
131 if (timeout == SM_TIME_IMMEDIATE)
140 if (timeout != SM_TIME_FOREVER)
147 evt = sm_seteventm(timeout, openalrm, 0);
223 sm_io_reopen(type, timeout, info, flags, rpool, fp) in sm_io_reopen() argument
225 int SM_NONVOLATILE timeout;
237 (void) sm_io_close(fp, timeout);
244 if (timeout == SM_TIME_DEFAULT)
245 timeout = SM_TIME_FOREVER;
246 if (timeout == SM_TIME_IMMEDIATE)
257 if (timeout != SM_TIME_FOREVER)
265 evt = sm_seteventm(timeout, reopenalrm, 0);