Lines Matching refs:timeout
107 sm_io_open(type, timeout, info, flags, rpool) in sm_io_open() argument
109 int SM_NONVOLATILE timeout; /* this is not the file type timeout */
127 if (timeout == SM_TIME_DEFAULT)
128 timeout = SM_TIME_FOREVER;
129 if (timeout == SM_TIME_IMMEDIATE)
138 if (timeout != SM_TIME_FOREVER)
145 evt = sm_seteventm(timeout, openalrm, 0);
221 sm_io_reopen(type, timeout, info, flags, rpool, fp) in sm_io_reopen() argument
223 int SM_NONVOLATILE timeout;
235 (void) sm_io_close(fp, timeout);
242 if (timeout == SM_TIME_DEFAULT)
243 timeout = SM_TIME_FOREVER;
244 if (timeout == SM_TIME_IMMEDIATE)
255 if (timeout != SM_TIME_FOREVER)
263 evt = sm_seteventm(timeout, reopenalrm, 0);