Lines Matching refs:timeout
35 ** CLOSEALRM -- handler when timeout activated for sm_io_close()
66 ** timeout -- maximum time allowed to perform the close (millisecs)
77 sm_io_close(fp, timeout)
79 int SM_NONVOLATILE timeout;
112 /* Okay, this is where we set the timeout. */
113 if (timeout == SM_TIME_DEFAULT)
114 timeout = fp->f_timeout;
115 if (timeout == SM_TIME_IMMEDIATE)
122 r = fp->f_flags & SMWR ? sm_flush(fp, (int *) &timeout) : 0;
125 if (timeout != SM_TIME_FOREVER)
132 evt = sm_seteventm(timeout, closealrm, 0);
137 /* We're back. So undo our timeout and handler */