Lines Matching full:timeout
34 ** OPENALRM -- handler when timeout activated for sm_io_open()
60 ** REOPENALRM -- handler when timeout activated for sm_io_reopen()
91 ** timeout -- time to complete the open
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)
137 /* Okay, this is where we set the timeout. */
138 if (timeout != SM_TIME_FOREVER)
145 evt = sm_seteventm(timeout, openalrm, 0);
155 /* We're back. So undo our timeout and handler */
207 ** timeout -- time to complete the reopen
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)
254 /* Okay, this is where we set the timeout. */
255 if (timeout != SM_TIME_FOREVER)
263 evt = sm_seteventm(timeout, reopenalrm, 0);
290 /* We're back. So undo our timeout and handler */