Searched defs:timeout (Results 276 - 300 of 446) sorted by relevance

<<1112131415161718

/illumos-gate/usr/src/uts/common/os/
H A Dcallout.c42 * Callout tables. See timeout(9F) for details.
1187 "timeout:%K(%p) in %llx expiration, cp %p", func, arg, expiration,
1194 timeout(void (*func)(void *), void *arg, clock_t delta) function
1364 * The timeout handler called untimeout() on itself.
1365 * Stupid, but legal. We can't wait for the timeout
1403 panic("untimeout: impossible timeout id %llx",
1429 * Convenience function to untimeout a timeout with a full ID with default
2152 * timeout() fast.
H A Dtaskq.c1000 * complete before one second timeout expires then
1481 callb_cpr_t *cprinfo, clock_t timeout)
1488 if (timeout < 0)
1491 ret = cv_reltimedwait(cv, mx, timeout, TR_CLOCK_TICK);
1480 taskq_thread_wait(taskq_t *tq, kmutex_t *mx, kcondvar_t *cv, callb_cpr_t *cprinfo, clock_t timeout) argument
/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss.c169 * which point ``zoneid'' will be ALL_ZONES. We don't honor the cache timeout
629 struct timeval timeout = {30, 0}; local
649 timeout);
1281 struct timeval timeout;
1293 timeout.tv_sec = 10;
1294 timeout.tv_usec = 0;
1298 xdr_void, NULL, timeout);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_mbx.c113 /* Set timeout after command that is running. */
114 timer = (mcp->timeout + 20) * drv_usectohz(1000000);
119 * The timeout time 'timer' was
169 timer = mcp->timeout * drv_usectohz(1000000);
176 * The timeout time 'timer' was
196 for (timer = mcp->timeout * 100; timer; timer--) {
223 /* Mailbox command timeout? */
232 EL(vha, "command timeout, isp_abort_needed\n");
466 mcp->timeout = MAILBOX_TOV;
511 mcp->timeout
3561 ql_get_fw_version(ql_adapter_state_t *ha, ql_mbx_data_t *mr, uint16_t timeout) argument
[all...]
H A Dql_nx.c476 uint32_t done = 0, timeout = 0; local
484 if (timeout >= CRB_WIN_LOCK_TIMEOUT) {
485 EL(ha, "timeout\n");
488 timeout++;
1036 uint32_t done = 0, timeout = 0; local
1044 if (timeout >= timer) {
1045 EL(ha, "timeout\n");
1048 timeout++;
1068 uint32_t done = 0, timeout = 0; local
1076 if (timeout >
1101 uint32_t timeout = 0, done = 0; local
[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/common/io/ntxn/
H A Dunm_nic_hw.c310 int done = 0, timeout = 0; local
318 if (timeout >= CRB_WIN_LOCK_TIMEOUT) {
323 timeout++;
/illumos-gate/usr/src/uts/common/io/tpm/
H A Dtpm.c71 * time errors such as GetCapability command from TPM reporting the timeout
379 * TPM commands to get the TPM's properties, e.g.,timeout
406 uint32_t timeout; /* in milliseconds */ local
409 /* The buffer size (30) needs room for 4 timeout values (uint32_t) */
432 * Make sure that there are 4 timeout values returned
446 /* Get the four timeout's: a,b,c,d (they are 4 bytes long each) */
447 timeout = load32(buf, TPM_CAP_TIMEOUT_A_OFFSET);
448 if (timeout == 0) {
449 timeout = DEFAULT_TIMEOUT_A;
450 } else if (timeout < TEN_MILLISECOND
1135 clock_t timeout; local
1177 tpm_wait_for_stat(tpm_state_t *tpm, uint8_t mask, clock_t timeout) argument
1977 clock_t timeout; local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/
H A Dusbprn.c2179 * Return timeout
2198 * Set write timeout and prn timeout
2277 int timeout; local
2286 timeout = usbprnp->usbprn_setparms.write_timeout;
2296 req->bulk_timeout = timeout;
2304 "max_bulk_xfer_size=%lu mp=0x%p xfer_cnt=%lu timeout=%x",
2305 (void *)req, max_xfer_count, (void *)mp, xfer_count, timeout);
2357 * The pipe could be closed, or a timeout could have
2432 "usbprn_bulk_xfer_exc_cb: timeout erro
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c1093 uftdi_fifo_drain(ds_hdl_t hdl, uint_t portno, int timeout) argument
1955 * 'timeout' is in seconds, zero means wait forever
1958 uftdi_wait_tx_drain(uftdi_state_t *uf, int timeout) argument
1963 until = ddi_get_lbolt() + drv_usectohz(1000 * 1000 * timeout);
1966 if (timeout > 0) {
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/
H A Dkeyspan_dsd.c690 /* blow away bulkin requests or pipe close will wait until timeout */
1481 keyspan_fifo_drain(ds_hdl_t hdl, uint_t port_num, int timeout) argument
1489 "keyspan_fifo_drain, timeout = %d", timeout);
2306 * pipe close will wait until timeout.
2523 * 'timeout' is in seconds, zero means wait forever
2526 keyspan_wait_tx_drain(keyspan_port_t *kp, int timeout) argument
2532 "timeout = %d", timeout);
2533 until = ddi_get_lbolt() + drv_usectohz(1000000 * timeout);
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsprl/
H A Dpl2303_dsd.c1034 pl2303_fifo_drain(ds_hdl_t hdl, uint_t port_num, int timeout) argument
1045 * for the reason of hardware, set timeout 0
1813 * 'timeout' is in seconds, zero means wait forever
1816 pl2303_wait_tx_drain(pl2303_state_t *plp, int timeout) argument
1821 until = ddi_get_lbolt() + drv_usectohz(1000 * 1000 * timeout);
1824 if (timeout > 0) {
/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/lib/libadutils/common/
H A Dadutils.c1317 get_adobject_batch(adutils_host_t *adh, struct timeval *timeout) argument
1333 rc = ldap_result(adh->ld, LDAP_RES_ANY, 0, timeout, &res);
1334 if ((timeout != NULL && timeout->tv_sec > 0 && rc == LDAP_SUCCESS) ||
1445 /* timeout or error; treat the same */
1560 /* Process results until done or until timeout, if given */
/illumos-gate/usr/src/uts/common/io/kb8042/
H A Dkb8042.c298 int timeout, int *error, uint8_t *got)
307 if (kb8042_is_input_avail(kb8042, timeout, B_TRUE)) {
297 kb8042_send_and_expect(struct kb8042 *kb8042, uint8_t send, uint8_t expect, int timeout, int *error, uint8_t *got) argument
/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/uts/sun4u/starfire/sys/
H A Didn_sigb.h74 * timeout field must be first.
77 int32_t timeout; /* seconds */ member in struct:__anon10106
86 * timeout field must be first.
102 int32_t timeout; /* seconds */ member in struct:__anon10107
/illumos-gate/usr/src/uts/sun4/sys/
H A Dfcode.h552 timeout_id_t timeout; /* Timeout identifier */ member in struct:fc_request
/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/uts/intel/io/amd8111s/
H A Damd8111s_hw.c1663 unsigned int timeout, event_count; local
1669 timeout = pLayerPointers->pMdl->rx_intrcoalesc_time;
1672 if (timeout > 0x7ff) {
1673 timeout = 0x7ff;
1681 DLY_INT_A_R0 | event_count | timeout);
/illumos-gate/usr/src/uts/intel/io/drm/
H A Di915_gem.c654 worktimer_id = timeout(i915_gem_retire_work_handler, (void *) dev, DRM_HZ);
787 worktimer_id = timeout(i915_gem_retire_work_handler, (void *) dev, DRM_HZ);
811 int timeout = 0; local
836 } while ((gdrst & 2) && (timeout++ < 5));
/illumos-gate/usr/src/cmd/luxadm/
H A Dhotplug.c1729 int tid, slot, f_r, al_pa, timeout = 0; local
1905 (timeout >
1921 timeout++;
1950 if (timeout > PHOTON_SPINUP_TIMEOUT) {
1966 timeout++;
1993 if (timeout > PHOTON_SPINUP_TIMEOUT) {
2010 timeout++;
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_vc.c48 * the rpc timeout value is zero (see clnt.h, rpc).
229 * clnt_create_vers_timed, clnt_tp_create_timed to pass down the timeout
233 * If tp is NULL, use default timeout to set up the connection.
386 * Set tcp connection timeout value.
420 * Get current tcp connection timeout value.
421 * Retun the timeout in milliseconds, or -1 for failure.
467 hrtime_t tout; /* timeout in nanoseconds (from tp) */
508 * If there is a timeout value specified, we will try to
509 * reset the tcp connection timeout. If the transport does
511 * for other reason, default timeout wil
643 clnt_vc_call(CLIENT *cl, rpcproc_t proc, xdrproc_t xdr_args, caddr_t args_ptr, xdrproc_t xdr_results, caddr_t results_ptr, struct timeval timeout) argument
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc.c83 * polling timeout.
227 * Default polling timeout for service threads.
600 uint_t qsize, uint_t timeout, uint_t stksize, uint_t max_same_xprt)
612 if (timeout == 0)
613 timeout = svc_default_timeout;
641 pool->p_timeout = timeout * hz;
699 args->qsize, args->timeout, args->stksize, args->max_same_xprt);
1838 * b) timeout waiting for a new request
2496 * on timeout, or by new request. There is no reason to hurry
599 svc_pool_init(SVCPOOL *pool, uint_t maxthreads, uint_t redline, uint_t qsize, uint_t timeout, uint_t stksize, uint_t max_same_xprt) argument
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_common_transact.c272 uint32_t timeout; local
276 &tpscnt, &tdscnt, &mprcnt, &mdrcnt, &timeout, &pscnt,

Completed in 265 milliseconds

<<1112131415161718