Searched refs:timeout (Results 376 - 400 of 853) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/common/syscall/
H A Dsem.c758 timespec_t *timeout)
763 if (copyin(timeout, ts, sizeof (timespec_t)))
768 if (copyin(timeout, &ts32, sizeof (timespec32_t)))
863 semop(int semid, struct sembuf *sops, size_t nsops, timespec_t *timeout) argument
883 * To avoid the cost of copying in 'timeout' in the common
895 * we can legally not validate 'timeout' if it is unused.
897 if (timeout != NULL) {
900 if (error = compute_timeout(&tsp, &ts, &now, timeout))
757 compute_timeout(timespec_t **tsp, timespec_t *ts, timespec_t *now, timespec_t *timeout) argument
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dntwdt.c57 * is larger than the current AWDT timeout.
98 * the number of seconds in the watchdog timeout (and
124 * than the currently specified timeout (which is
137 * or specifies a new timeout value (DOGTIME).
150 * will compute a timeout at t(x), and ScApp will
151 * compute a timeout at t(2x), where 'x' is the
152 * current timeout value. When ntwdt computes
169 * set the watchdog timeout to the value specified
261 * This specifies the watchdog timeout value (in seconds) to
264 * ntwdt will update ScApp by setting the watchdog timeout
1302 int timeout; local
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_table.cc248 m->retrieveErrorRetry.timeout =
249 ldapDBTableMapping.retrieveErrorRetry.timeout;
253 m->storeErrorRetry.timeout =
254 ldapDBTableMapping.storeErrorRetry.timeout;
259 m->refreshErrorRetry.timeout =
260 ldapDBTableMapping.refreshErrorRetry.timeout;
798 /* Set the timeout values */
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dmboxsc.c484 uint32_t length, void *datap, clock_t timeout)
510 DPRINTF1(DBG_ARGS, DBGACT_DEFAULT, "timeout = %ld\n", timeout);
523 (timeout < MBOXSC_PUTMSG_MIN_TIMEOUT_MSECS) ||
524 (timeout > MBOXSC_PUTMSG_MAX_TIMEOUT_MSECS)) {
585 * longer than the caller's timeout.
588 drv_usectohz(timeout * MBOXSC_USECS_PER_MSEC);
790 * timeout milliseconds. If a message matching the caller's request is
792 * if the caller's timeout hasn't expired.
796 uint32_t *lengthp, void *datap, clock_t timeout)
483 mboxsc_putmsg(uint32_t key, uint32_t type, uint32_t cmd, uint64_t *transidp, uint32_t length, void *datap, clock_t timeout) argument
795 mboxsc_getmsg(uint32_t key, uint32_t *typep, uint32_t *cmdp, uint64_t *transidp, uint32_t *lengthp, void *datap, clock_t timeout) argument
[all...]
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_getldap.c70 /* TCP connection timeout (in milliseconds) */
795 /* Get the bind timeout value */
1430 * set to REFRESHTTL_MIN, which is the TCP connection timeout
1433 * This accounts for the maximum possible timeout value for an
1628 static struct timespec timeout; local
1830 timeout.tv_sec = time(NULL) +
1841 timeout.tv_sec = time(NULL) + sec_to_refresh;
1844 timeout.tv_nsec = 0;
1847 next_refresh = timeout.tv_sec;
1857 &info_mutex, &timeout);
2534 struct timespec timeout; local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dwinlockio.c32 * A waiter for a lock after a set timeout can "break" the lock and
102 * Set lock timeout for a context. This ioctl accepts the ident
103 * of a lock context and a timeout value in milliseconds.
105 * broken after the timeout expires. If timeout value is zero, lock does
106 * not timeout. This value will be rounded to the nearest clock
110 * Get lock timeout from a context.
167 * timeout on the lock. The owner's mapping to the unlock page
325 clock_t timeout; /* sleep time in ticks */ member in struct:seglock
345 #define LOCKTIME 3 /* Default lock timeout i
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_ioctl.c142 /* Patchable timeout values for flash operations */
1049 * Compute the timeout duration in usec per the formula:
1060 * timeout failure.
1715 "timeout: addr: 0x%x, data: 0x%x\n",
1750 "timeout: addr: %x, data: %x\n",
1873 "ACS erase timeout\n");
1908 "ICS erase timeout\n");
2031 "hermon_flash_erase_chip: erase timeout\n");
2204 int timeout = 0; local
2213 timeout
2226 int timeout, status = 0; local
2316 int timeout; local
[all...]
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl.c227 * (used both for interrupt retry timeout and polling function)
243 /* overtemp polling routine timeout delay */
246 /* key switch polling routine timeout delay */
260 * This timeout ID is for board remove polling routine. It is
435 /* First set all of the timeout values */
686 * Set up a board remove timeout call.
1538 /* and kick off the timeout */
1555 * determine if we should log a message and if we need another timeout
1567 /* NOTE: this is == because we want one message per long timeout */
1598 /* do we need to start the short timeout
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c91 static ssize_t timedread(int fd, void *buf, size_t maxlen, int timeout);
123 bufcnt = timedread(fd, buf, bufsize, timeout);
145 * timedread - read buffer (like "read"), but with timeout (in seconds)
149 timedread(int fd, void *buf, size_t size, int timeout) argument
155 if (!timeout)
158 tv.tv_sec = (time_t)timeout;
265 if (timeout && setsockopt(s, IPPROTO_TCP, TCP_ABORT_THRESHOLD,
1233 while ((c = timedread(infd, buf, FTPBUFSIZ, timeout)) > 0) {
1483 if (timeout && setsockopt(data, IPPROTO_TCP,
1612 if (timeout
[all...]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dmain.c864 ** again until a timeout value is reached. The timeout value is
879 int timeout = (int)(long)Timeout; local
889 if( prior + delay > timeout ){
890 delay = timeout - prior;
896 int timeout = (int)(long)Timeout;
897 if( (count+1)*1000 > timeout ){
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetaclust.c95 uint_t timeout = 0; /* disable timeout by default */ variable
134 * See what the child was actually doing when the timeout expired.
177 * exited immediately after the timeout occured.
630 "\t%s [-V version] [-t timeout] [-d level] start localnodeid\n"
631 "\t%s [-V version] [-t timeout] [-d level] step nodelist...\n"
632 "\t%s [-V version] [-t timeout] [-d level] abort | stop\n"
745 if (sscanf(optarg, "%u", &timeout) != 1) {
746 md_eprintf(gettext("Invalid timeout value\n"));
814 /* set timeout alar
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Duucico.c91 extern void intrEXIT(), onintr(), timeout();
319 (void) signal(SIGALRM, timeout);
581 (void) signal(SIGALRM, timeout);
705 DEBUG(4, "%s - timeout\n", "startup");
731 (void) signal(SIGALRM, timeout);
864 timeout() function
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dtxg.c458 uint64_t timeout = zfs_txg_timeout * hz; local
465 * us, or we have reached our timeout.
467 timer = (delta >= timeout ? 0 : timeout - delta);
477 timer = (delta > timeout ? 0 : timeout - delta);
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_frag.c22 # include <sys/timeout.h>
100 # include <sys/timeout.h>
101 extern struct timeout fr_slowtimer_ch;
924 fr_slowtimer_ch = timeout(fr_slowtimer, NULL, hz/2);
929 timeout(fr_slowtimer, NULL, hz/2);
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_evd_util.c1296 * timeout
1308 DAT_TIMEOUT timeout)
1341 if (evd_ptr->threshold == 0 && timeout == 0)
1352 if (timeout == 0) {
1355 } else if (timeout == DAT_TIMEOUT_INFINITE) {
1378 final_time = curr_time + (uint64_t)(timeout&0x7fffffff)*1000;
1306 dapls_evd_copy_events( DAPL_EVD *evd_ptr, DAT_TIMEOUT timeout) argument
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dnvfile.c141 static clock_t nvf_thread_ticks; /* timeout tick value */
306 nvf_thread_id = timeout(nvf_thread, NULL, NVF_FLUSH_DELAY);
318 nvf_thread_id = timeout(nvf_thread, NULL,
856 nvf_thread_id = timeout(nvf_thread, NULL, nticks);
898 nvf_thread_id = timeout(nvf_thread, NULL, nticks);
900 nvf_thread_id = timeout(nvf_thread, NULL,
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_82598.c71 * ixgbe_set_pcie_completion_timeout - set pci-e completion timeout
85 /* only take action if timeout value is defaulted to 0 */
91 * timeout of 10ms to 250ms through the GCR register
100 * directly in order to set the completion timeout value for
107 /* disable completion timeout resend */
251 * Disables relaxed ordering Then set pcie completion timeout
282 /* set the completion timeout for interface */
606 u32 timeout; local
612 for (timeout = 0;
613 timeout < IXGBE_VALIDATE_LINK_READY_TIMEOU
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/
H A Dwificonfig.c203 static char *select_profile(int fd, int readonly, int timeout);
1731 int timeout = LOADPROFILE_TIMEOUT; local
1789 while (timeout > 0) {
1797 timeout--;
1813 select_profile(int fd, int readonly, int timeout) argument
1903 if ((selected == NULL) && (timeout == 0)) {
1938 int timeout = LOADPROFILE_TIMEOUT, forever = 0, len = 0; local
1967 if (sscanf(pequal, "%d", &timeout) != 1) {
1971 if (timeout == -1) {
1984 while ((forever == 1) || (timeout >
2165 int timeout = LOADPROFILE_TIMEOUT, forever = 0; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mbox.c231 mb4->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0;
288 mb4->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0;
329 hdr_req->timeout = 0;
365 mb4->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0;
419 mb4->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0;
451 mb4->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0;
507 mb4->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0;
548 mb4->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0;
579 mb4->un.varSLIConfig.be.un_hdr.hdr_req2.timeout = 0;
618 mb4->un.varSLIConfig.be.un_hdr.hdr_req2.timeout
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dldap-int.h401 /* connect timeout value (milliseconds) */
690 int nsldapi_iostatus_poll( LDAP *ld, struct timeval *timeout );
711 struct timeval *timeout, LDAPMessage **result );
712 int nsldapi_wait_result( LDAP *ld, int msgid, int all, struct timeval *timeout,
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyppush.c74 #define TIMEOUT INTER_TRY*4 /* Total time for timeout */
76 #define MIN_GRACE 25 /* select timeout and minimum grace */
107 static struct timeval timeout = { variable in typeref:struct:timeval
830 (void) printf("timeout in main loop select.\n");
1041 xdr_void, 0, timeout);
1056 xdr_void, 0, timeout);
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dlistener.c654 ** timeout -- timeout for reads/writes
712 mi_listener(conn, dbg, smfi, timeout, backlog)
716 time_t timeout;
767 if (r == 0) /* timeout */
915 ctx->ctx_timeout = timeout;
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsfsasl.c354 ** tmo -- timeout
566 ** timeout -- timeout for TLS operation
572 ** 0 on timeout
577 tls_retry(ssl, rfd, wfd, tlsstart, timeout, err, where)
582 int timeout;
608 left = timeout - (now - tlsstart);
610 return 0; /* timeout */
681 ** rd_tmo -- read timeout
792 "STARTTLS: read error=timeout");
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dfork.c1087 * A local variation on system(3c) which accepts a timeout argument. This
1095 fork_with_timeout(const char *cmd, uint_t gracetime, uint_t timeout) argument
1109 msec_timeout = timeout * 1000;
1178 timeout);
/illumos-gate/usr/src/cmd/listen/
H A Dnlps_serv.c216 * returns: -1 = timeout or other error.
227 extern void timeout();
233 oldhanp = signal(SIGALRM, timeout);
423 * timeout: SIGALRM signal handler. Invoked if t_rcv timed out.
429 timeout() function

Completed in 213 milliseconds

<<11121314151617181920>>