Searched defs:timeout (Results 226 - 250 of 446) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport.c358 * can specify a timeout value.
599 struct timespec timeout; local
605 port_timer.pgt_timeout = &timeout;
606 timeout.tv_sec = (time_t)a2;
607 timeout.tv_nsec = (long)a3;
624 * timeout elapses.
1152 * The timeout argument of port_getn(3c) -which is embedded in the
1269 * the request, check timeout value and wait for
1533 /* no timeout checked */
1548 /* timeout alread
1749 port_get_timeout(timespec_t *timeout, timespec_t *rqtime, timespec_t **rqtp, int *blocking, int kerneldata) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_rq.c238 smb_rq_simple_timed(struct smb_rq *rqp, int timeout) argument
248 rqp->sr_timo = timeout; /* in seconds */
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_async.c175 * Initialize the tlabels. Reclaim a bad tlabel after the split timeout
178 * twice the split_timeout. (i.e. if the split timeout was set to 100mS
182 * timeout is stored as the number of bus cycles. We need to convert
190 * "split_timeout" has gone by. split timeout is in bus cycles so we
192 * timer resolution to 1/2 of the timeout so that we will have a worst
193 * case timeout of split timeout + (1/2 * split timeout). See
426 * Update the timeout for the pending list. This updates both the pending
427 * list timeout an
432 hci1394_async_pending_timeout_update(hci1394_async_handle_t async_handle, hrtime_t timeout) argument
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_mcp.c275 //Adjust timeout for our emulation needs
951 * TBD - add timeout value
960 u32_t timeout,
973 UNREFERENCED_PARAMETER_(timeout);
1037 u32_t timeout,
1055 lm_status = lm_mcp_cmd_response( pdev, mcp_mb_type, drv_msg, timeout, p_fw_resp ) ;
1084 u32_t timeout,
1091 lm_status = lm_mcp_cmd_send_recieve_non_atomic(pdev, mcp_mb_type, drv_msg, param, timeout, p_fw_resp);
957 lm_mcp_cmd_response( struct _lm_device_t *pdev, lm_mcp_mb_type mcp_mb_type, u32_t drv_msg, u32_t timeout, OUT u32_t* p_fw_resp ) argument
1033 lm_mcp_cmd_send_recieve_non_atomic( struct _lm_device_t *pdev, lm_mcp_mb_type mcp_mb_type, u32_t drv_msg, u32_t param, u32_t timeout, OUT u32_t* p_fw_resp ) argument
1080 lm_mcp_cmd_send_recieve( struct _lm_device_t *pdev, lm_mcp_mb_type mcp_mb_type, u32_t drv_msg, u32_t param, u32_t timeout, OUT u32_t* p_fw_resp ) argument
/illumos-gate/usr/src/lib/udapl/libdat/common/
H A Ddat_api.c222 IN DAT_TIMEOUT timeout,
234 timeout,
245 IN DAT_TIMEOUT timeout,
255 timeout,
218 dat_ep_connect( IN DAT_EP_HANDLE ep_handle, IN DAT_IA_ADDRESS_PTR remote_ia_address, IN DAT_CONN_QUAL remote_conn_qual, IN DAT_TIMEOUT timeout, IN DAT_COUNT private_data_size, IN const DAT_PVOID private_data, IN DAT_QOS quality_of_service, IN DAT_CONNECT_FLAGS connect_flags) argument
242 dat_ep_dup_connect( IN DAT_EP_HANDLE ep_handle, IN DAT_EP_HANDLE ep_dup_handle, IN DAT_TIMEOUT timeout, IN DAT_COUNT private_data_size, IN const DAT_PVOID private_data, IN DAT_QOS quality_of_service) argument
/illumos-gate/usr/src/stand/lib/inet/
H A Ddhcpv4.c70 static uint32_t timeout; /* timeout in milliseconds */ variable
371 if (timeout == 0)
372 timeout = 4000;
374 timeout <<= 1;
375 if (timeout > 64000)
376 timeout = 64000;
378 init_timeout = now + timeout;
396 break; /* collection timeout */
642 timeout
[all...]
/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/common/io/ib/adapters/tavor/
H A Dtavor_ioctl.c123 /* Patchable timeout values for flash operations */
1114 * Compute the timeout duration in usec per the formula:
1125 * timeout failure.
1705 "timeout: addr: 0x%x, data: 0x%x\n",
1729 "timeout: addr: %x, data: %x\n",
1803 "ACS erase timeout\n");
1826 "ICS erase timeout\n");
1897 "tavor_flash_erase_chip: erase timeout\n");
1983 int timeout; local
2001 timeout
2026 int timeout; local
[all...]
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_ctx.c116 u32 done = 0, timeout = 0; local
126 if (++timeout >= NX_OS_CRB_RETRY_COUNT) {
127 cmn_err(CE_WARN, "%s: lock timeout.\n", __func__);
154 int timeout = 0; local
160 if (++timeout > NX_OS_CRB_RETRY_COUNT)
204 cmn_err(CE_WARN, "%s: card response timeout.\n",
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_net.c98 * of data. If data not received in timeout
172 static size_t iscsi_net_poll(void *socket, clock_t timeout);
175 struct msghdr *msg, int timeout);
180 char *data, int max_data_length, int timeout, int flags);
182 int header_length, int timeout, int flags);
403 iscsi_net_poll(void *socket, clock_t timeout) argument
414 /* timeout is millisecond */
415 tl.tv_sec = timeout / 1000;
416 tl.tv_usec = (timeout % 1000) * 1000;
423 /* timeout i
456 iscsi_net_recvmsg(void *socket, struct msghdr *msg, int timeout) argument
606 iscsi_net_recvhdr(void *socket, iscsi_hdr_t *ihp, int header_length, int timeout, int flags) argument
735 iscsi_net_recvdata(void *socket, iscsi_hdr_t *ihp, char *data, int max_data_length, int timeout, int flags) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_req.c117 uint_t timeout = 0; local
182 timeout = ctrl_req->ctrl_timeout;
197 timeout = bulk_req->bulk_timeout;
208 timeout = intr_req->intr_timeout;
276 (timeout > 0)) {
354 /* save pipe_handle/attrs/timeout/usb_flags */
/illumos-gate/usr/src/uts/common/io/zyd/
H A Dzyd.c979 sc->timeout_id = timeout(zyd_next_scan, sc,
1111 * Wait on lock until someone calls the "signal" function or the timeout
1112 * expires. Note: timeout is in microseconds.
1115 zyd_cb_lock_wait(struct zyd_cb_lock *lock, clock_t timeout) argument
1125 if (timeout < 0) {
1126 /* no timeout - wait as long as needed */
1130 /* wait with timeout (given in usec) */
1131 etime = ddi_get_lbolt() + drv_usectohz(timeout);
/illumos-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacct_impl.h78 * Default values for timer and timeout - taken from SBM
79 * timer 15 secs (15000 msec) and timeout 60 secs (60000 msec).
168 uint64_t timeout; /* flow timeout */ member in struct:flowacct_data_s
173 /* TRhe flow table. We'll use the last bucket for timeout purposes */
/illumos-gate/usr/src/uts/common/sys/
H A Daggr.h99 uint8_t timeout: 1; member in struct:__anon7011::__anon7012
103 uint8_t timeout: 1;
H A Dddidevmap.h146 timeout_id_t timeout; /* Timeout ID */ member in struct:devmap_ctx
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_mbx.c60 * timeout - timeout in seconds
69 uint32_t timeout, uint32_t pyld_len)
78 hdr->u0.req.timeout = timeout;
139 /* Add the default timeout to wait for a mailbox to complete */
1272 /* get the timeout from the command header */
1273 mbx.tag[0] = hdr.u0.req.timeout;
66 mbx_common_req_hdr_init(struct mbx_hdr *hdr, uint8_t dom, uint8_t port, uint8_t subsys, uint8_t opcode, uint32_t timeout, uint32_t pyld_len) argument
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c680 * The default connection timeout is over two minutes.
684 * reasonable timeout value. Using 2X retrans, which
685 * gives us a 10 sec. connect timeout. If we're waiting
835 struct timespec now, timeout, finish; local
916 timeout = evConsTime(seconds, 0);
917 finish = evAddTime(now, timeout);
926 timeout = evSubTime(finish, now);
928 timeout = evConsTime(0, 0);
929 n = pselect(s + 1, &dsmask, NULL, NULL, &timeout, NULL);
931 timeout
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_hc.c455 * Initialize the hc timer and associate the notification of timeout to
484 * HC timeout handler.
494 * Set up the timer to fire at the earliest timeout.
500 int timeout; local
510 if ((timeout = iu_earliest_timer(ilbd_hc_timer_q)) == INFTIM) {
513 } else if (timeout == 0) {
515 * Handle the timeout immediately. After that (clearing all
523 itimeout.it_value.tv_sec = timeout / MILLISEC + 1;
529 * Failure to set a timeout is "OK" since hopefully there will be
656 * Probe timeout handle
703 int timeout; local
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_ev.c786 clock_t timeout; local
840 timeout = ddi_get_lbolt() + drv_usectohz(SFXGE_EV_QSTART_TIMEOUT_USEC);
843 timeout) < 0) {
847 DTRACE_PROBE(timeout);
849 SFXGE_CMN_ERR "evq[%d] qstart timeout", index);
/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/mandoc/
H A Dmain.c1033 const struct timespec timeout = { 0, 100000000 }; /* 0.1s */ local
1105 nanosleep(&timeout, NULL);
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_loader.c613 } else if (strcmp(opt, "timeout") == 0) {
617 bam_error(_("invalid timeout: %s\n"), val);
621 (void) snprintf(path, PATH_MAX, "%s" CONF_DIR "/timeout",
631 * timeout=-1 is to disable auto boot in illumos, but
816 char *timeout = "-1"; local
819 timeout = ptr;
822 (void) printf("Timeout: %s\n", timeout);
823 else if (strcasecmp(setting, "timeout") == 0) {
824 (void) printf("%s\n", timeout);
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp.c2100 struct timeval timeout; /* Timeout */ local
2168 timeout.tv_sec = msec / 1000;
2169 timeout.tv_usec = (msec % 1000) * 1000;
2171 nfds = select(http->fd + 1, http->input_set, NULL, NULL, &timeout);
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dmqueue.c663 uint_t msg_prio, const timespec_t *timeout, int abs_rel)
699 if (timeout == NULL)
702 err = sem_timedwait(&mqhp->mq_notfull, timeout);
704 err = sem_reltimedwait_np(&mqhp->mq_notfull, timeout);
799 uint_t *msg_prio, const timespec_t *timeout, int abs_rel)
849 if (timeout == NULL)
852 err = sem_timedwait(&mqhp->mq_notempty, timeout);
854 err = sem_reltimedwait_np(&mqhp->mq_notempty, timeout);
859 * We took a signal or timeout while waiting
662 __mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, uint_t msg_prio, const timespec_t *timeout, int abs_rel) argument
798 __mq_timedreceive(mqd_t mqdes, char *msg_ptr, size_t msg_len, uint_t *msg_prio, const timespec_t *timeout, int abs_rel) argument
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c791 struct timeval *timeout,
812 rc = ldap_result(ld, msgid, 1, timeout, &res);
832 rc = ldap_result(ld, msgid, 1, timeout, &res);
785 ldap_x_sasl_digest_md5_bind( LDAP *ld, char *user_name, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeout, LDAPMessage **result) argument

Completed in 305 milliseconds

1234567891011>>