Searched refs:timeout (Results 26 - 50 of 853) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/boot/sys/boot/usb/
H A Dbsd_usbloader_test.c61 pause(const char *what, int timeout) argument
63 if (timeout == 0)
64 timeout = 1;
66 usleep((1000000 / hz) * timeout);
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtimeout.c32 * timeout.c
42 static char rcsID[] = "$Header: /rd/src/libc/xcurses/rcs/timeout.c 1.1 "
59 #undef timeout macro
62 timeout(int delay) function
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfpos.c33 ** TELLALRM -- handler when timeout activated for sm_io_tell()
64 ** timeout -- time to complete the tell (milliseconds)
72 sm_io_tell(fp, timeout)
74 int SM_NONVOLATILE timeout;
86 if (timeout == SM_TIME_DEFAULT)
87 timeout = fp->f_timeout;
88 if (timeout == SM_TIME_IMMEDIATE)
104 (void) sm_flush(fp, (int *) &timeout);
106 /* This is where we start the timeout */
107 if (timeout !
[all...]
H A Drefill.c35 ** SM_IO_RD_TIMEOUT -- measured timeout for reads
41 ** BSD-based/like systems the timeout for a select() is updated for the
52 ** to -- struct timeval of the timeout
53 ** timeout -- the original timeout value
60 #define SM_IO_RD_TIMEOUT(fp, fd, to, timeout, sel_ret) \
65 if (timeout == SM_TIME_IMMEDIATE) \
95 /* timeout */ \
111 ** timeout -- original timeout valu
[all...]
H A Dfput.c31 ** timeout -- time to complete the put-string
40 sm_io_fputs(fp, timeout, s)
42 int timeout;
53 return sm_fvwrite(fp, timeout, &uio);
H A Dwbuf.c34 ** timeout -- time to complete operation (milliseconds)
43 sm_wbuf(fp, timeout, c)
45 int timeout;
74 ** Note for the timeout, only one of the sm_io_flush's will get called.
80 if (sm_io_flush(fp, timeout))
87 if (sm_io_flush(fp, timeout))
H A Dfclose.c35 ** 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 !
[all...]
H A Dfflush.c39 ** timeout -- time to complete the flush
47 sm_io_flush(fp, timeout)
49 int SM_NONVOLATILE timeout;
67 SM_CONVERT_TIME(fp, fd, timeout, &to);
70 return sm_flush(fp, (int *) &timeout);
80 ** timeout -- max time allowed for flush (milliseconds)
87 ** timeout will get updated with the time remaining (if any)
91 sm_flush(fp, timeout)
93 int *timeout;
142 if (IS_IO_ERROR(fd, t, *timeout))
[all...]
H A Dfopen.c36 ** OPENALRM -- handler when timeout activated for sm_io_open()
62 ** REOPENALRM -- handler when timeout activated for sm_io_reopen()
93 ** timeout -- time to complete the open
109 sm_io_open(type, timeout, info, flags, rpool)
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)
139 /* Okay, this is where we set the timeout
[all...]
H A Dsem.c104 ** timeout -- how long to wait for operation to succeed.
112 sm_sem_acq(semid, semnum, timeout)
115 int timeout;
123 (timeout != SM_TIME_FOREVER ? 0 : IPC_NOWAIT);
124 if (timeout == SM_TIME_IMMEDIATE || timeout == SM_TIME_FOREVER)
132 --timeout;
133 } while (timeout > 0);
143 ** timeout -- how long to wait for operation to succeed.
151 sm_sem_rel(semid, semnum, timeout)
[all...]
H A Dfwrite.c30 ** timeout -- time to complete the write
41 sm_io_write(fp, timeout, buf, size)
43 int timeout;
64 if (sm_fvwrite(fp, timeout, &uio) == 0)
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_cto.c41 * Interpose socket(3SOCKET), so that we can set the connect timeout.
50 int timeout = 1000 * proxyInfo.bind_timeout.tv_sec + local
65 if (ret >= 0 && timeout > 0) {
67 &timeout, sizeof (timeout)) != 0)
70 timeout, errno);
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dnet.c134 int timeout; local
143 timeout = seed = seed ? seed : 10;
148 syslog(LOG_DEBUG, "xfer_file: timeout = %d", timeout);
156 if (timeout < (seed * 4)) {
157 (void) sleep(timeout);
158 timeout *= 2;
159 } else if (timeout == (seed * 4)) {
160 (void) sleep(timeout);
161 timeout *
200 int timeout; local
322 int timeout = 1; local
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/sdt/
H A Dtst.sdtargs.d36 timeout = timestamp + 5000000000;
63 /timestamp > timeout/
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/usdt/
H A Dtst.argmap.d36 timeout = timestamp + 5000000000;
61 /timestamp > timeout/
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/pid/
H A Dtst.embedded.d64 timeout = timestamp + 5000000000;
68 /timestamp > timeout/
/illumos-gate/usr/src/cmd/dtrace/test/tst/sparc/pid/
H A Dtst.embedded.d64 timeout = timestamp + 5000000000;
68 /timestamp > timeout/
/illumos-gate/usr/src/cmd/make/include/vroot/
H A Dreport.h34 extern int file_lock(char *name, char *lockname, int *file_locked, int timeout);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.args1.d42 timeout = timestamp + 1000000000;
53 timeout = timestamp + 500000000;
71 /timestamp > timeout/
H A Dtst.weak1.d42 timeout = timestamp + 1000000000;
53 timeout = timestamp + 500000000;
79 /timestamp > timeout/
H A Dtst.weak2.d42 timeout = timestamp + 1000000000;
53 timeout = timestamp + 500000000;
79 /timestamp > timeout/
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/
H A Dsca1000.esc62 event error.io.sca1000.hw.timeout@P; /* Device hang */
68 event ereport.io.sca1000.hw.timeout@P;
75 error.io.sca1000.hw.timeout@P;
79 prop error.io.sca1000.hw.timeout@P
80 -> ereport.io.sca1000.hw.timeout@P;
H A Dsca500.esc63 event error.io.sca500.hw.timeout@P; /* Device hang */
69 event ereport.io.sca500.hw.timeout@P;
76 error.io.sca500.hw.timeout@P;
80 prop error.io.sca500.hw.timeout@P
81 -> ereport.io.sca500.hw.timeout@P;
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_timeout.c30 * Simple implementation of timeout functionality. The granuality is a sec
39 typedef struct timeout { struct
40 struct timeout *sip_timeout_next;
67 sip_timeout_t *timeout = NULL; local
71 timeout = timeout_current_start;
75 timeout_current_start = timeout->sip_timeout_next;
77 timeout->sip_timeout_callback_func(
78 timeout->sip_timeout_callback_func_arg);
79 free(timeout);
169 * Add a new timeout
242 sip_timeout_t *timeout = NULL; local
[all...]
/illumos-gate/usr/src/test/os-tests/tests/poll/
H A Dpoll_test.c44 * but well before the specified timeout expired. The
50 * The DP_POLL ioctl arguments include a relative timeout in milliseconds,
52 * the timeout expires, or a signal was received. In this case we noticed
53 * that DP_POLL was returning before the timeout expired despite no events
70 * relative timeout rather then an absolute timeout, so we avoid the
81 * the specified timeout expires.
163 poll_wrapper(pollfd_t *fds, nfds_t nfds, int timeout, time_t *elapsed) argument
168 debug_log("POLL start: (0x%p, %d, %d)\n", fds, nfds, timeout);
170 ret = poll(fds, nfds, timeout);
181 dppoll(int pollfd, pollfd_t *fds, nfds_t nfds, int timeout, time_t *elapsed) argument
234 int timeout = 10; local
262 int timeout = 10; local
295 int timeout = 10; local
323 int timeout = 10; local
[all...]

Completed in 127 milliseconds

1234567891011>>