Searched defs:timeout (Results 326 - 350 of 446) sorted by relevance

<<1112131415161718

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/
H A Dipadm.c1336 long timeout = strtol(wait, &end, 10); local
1338 if (*end != '\0' || timeout < 0)
1340 ipadm_wait = (int32_t)timeout;
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drdr_messages.c177 int timeout);
178 static int rdr_snd_raw(int fd, char *msg, int data_sz, int timeout);
180 static int rdr_rcv(int fd, rdr_msg_hdr_t *hdr, char **data, int timeout);
182 static int rdr_rcv_raw(int fd, char *msg, int data_size, int timeout);
563 rdr_snd_msg(int fd, rdr_msg_hdr_t *hdr, cfga_params_t *param, int timeout) argument
792 err = rdr_snd(fd, hdr, pack_buf, pack_buf_sz, timeout);
807 rdr_rcv_msg(int fd, rdr_msg_hdr_t *hdr, cfga_params_t *param, int timeout) argument
821 if ((err = rdr_rcv(fd, hdr, &unpack_buf, timeout)) != RDR_OK) {
1418 rdr_snd(int fd, rdr_msg_hdr_t *hdr, char *data, int data_sz, int timeout) argument
1436 err = rdr_snd_raw(fd, (char *)hdr, RDR_MSG_HDR_SIZE, timeout);
1463 rdr_snd_raw(int fd, char *msg, int data_sz, int timeout) argument
1540 rdr_rcv(int fd, rdr_msg_hdr_t *hdr, char **data, int timeout) argument
1598 rdr_rcv_raw(int fd, char *msg, int data_size, int timeout) argument
[all...]
/illumos-gate/usr/src/cmd/format/
H A Dctlr_scsi.c1992 int timeout = 0; local
2029 * Set timeout: 30 seconds for all commands except format
2036 * Get the timeout value computed using page4 geometry.
2038 * add another 50% margin to have a safe timeout.
2041 if ((timeout = scsi_format_time()) > 0) {
2042 timeout *= 60; /* convert to seconds */
2043 timeout += timeout;
2049 if (timeout > SHRT_MAX)
2050 timeout
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsrvrsmtp.c317 # define MAXTIMEOUT (4 * 60) /* max timeout for bad commands */
321 ** Maximum shift value to compute timeout for bad commands.
322 ** This introduces an upper limit of 2^MAXSHIFT for the timeout.
572 volatile time_t wt; /* timeout after too many commands */
1053 struct timeval timeout; local
1058 timeout.tv_sec = msecs / 1000;
1059 timeout.tv_usec = (msecs % 1000) * 1000;
1061 /* Obey RFC 2821: 4.3.5.2: 220 timeout of 5 minutes */
1062 if (timeout.tv_sec >= 300)
1064 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/cmd/fs.d/nfs/mount/
H A Dmount.c2015 struct timeval timeout = { 25, 0}; local
2179 (caddr_t)&fspath, xdr_fhstatus, (caddr_t)&fhs, timeout);
2213 (caddr_t)&p, timeout);
2247 timeout);
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlibscf.c2859 uint8_t *need_sessionp, uint64_t *timeout, uint8_t *timeout_retry)
2936 r = get_count(pg, SCF_PROPERTY_TIMEOUT, timeout);
2947 "type count. Using infinite timeout.", name,
2952 *timeout = METHOD_TIMEOUT_INFINITE;
2961 if (*timeout == -1 || *timeout == 0)
2962 *timeout = METHOD_TIMEOUT_INFINITE;
3035 * method timeout. Default to retry if no value is
2857 libscf_get_method(scf_handle_t *h, int type, restarter_inst_t *inst, scf_snapshot_t *snap, method_restart_t *restart_on, uint_t *cte_mask, uint8_t *need_sessionp, uint64_t *timeout, uint8_t *timeout_retry) argument
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c3686 * failed and guess is restarter failed to apply the timeout as well.
3796 * get_timeout_val : returns the timeout value set in fmri manifest
3799 * Returns default if error, the timeout val otherwise
3808 int timeout = default_val/1000000; local
3833 gettext("failed to retrieve timeout property"),
3844 gettext("failed to retrieve timeout value"),
3851 timeout = *cp;
3853 return (timeout * 1000000);
/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/cmd/svr4pkg/pkgadd/
H A Dmain.c315 int timeout = NET_TIMEOUT_DEFAULT; local
1171 if ((timeout = web_ck_timeout()) == 0) {
1204 proxy_port, retries, timeout, nointeract, &bname)) {
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_stub_vnops.c3340 struct timeval timeout; local
3345 timeout.tv_sec = 2;
3346 timeout.tv_usec = 0;
3355 timeout);
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_smb.c101 struct smb_cred *scrp, uint32_t timeout)
132 mb_put_uint32le(mbp, timeout); /* 0 nowait, -1 infinite wait */
167 struct smb_cred *scrp, uint32_t timeout)
182 largelock, scrp, timeout));
99 smbfs_smb_lockandx(struct smbnode *np, int op, uint32_t pid, offset_t start, uint64_t len, int largelock, struct smb_cred *scrp, uint32_t timeout) argument
165 smbfs_smb_lock(struct smbnode *np, int op, caddr_t id, offset_t start, uint64_t len, int largelock, struct smb_cred *scrp, uint32_t timeout) argument
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_clnt.c2233 "!Hard timeout detected (%d sec) "
2854 * struct timeval timeout;
2861 xdrproc_t xres, caddr_t resp, struct timeval *timeout)
2876 err = cl_call_sig(rh, proc, xargs, argsp, xres, resp, *timeout);
2923 xdrproc_t xres, caddr_t resp, struct timeval *timeout)
2936 xres, resp, timeout);
2961 struct timeval *timeout)
2971 xres, resp, timeout);
2859 rdc_clnt_call(rdc_srv_t *svp, rpcproc_t proc, rpcvers_t vers, xdrproc_t xargs, caddr_t argsp, xdrproc_t xres, caddr_t resp, struct timeval *timeout) argument
2921 rdc_clnt_call_any(rdc_srv_t *svp, rdc_if_t *ip, rpcproc_t proc, xdrproc_t xargs, caddr_t argsp, xdrproc_t xres, caddr_t resp, struct timeval *timeout) argument
2959 rdc_clnt_call_walk(rdc_k_info_t *krdc, rpcproc_t proc, xdrproc_t xargs, caddr_t argsp, xdrproc_t xres, caddr_t resp, struct timeval *timeout) argument
/illumos-gate/usr/src/uts/common/io/atu/
H A Datu.h331 uint16_t timeout; member in struct:atu_cmd_join
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_dyndns.c1472 struct timeval tv, timeout; local
1476 timeout.tv_usec = 0;
1477 timeout.tv_sec = DYNDNS_QUERY_TIMEOUT;
1489 tv = timeout;
1531 * recv_timeout: receive timeout
1788 struct timeval timeout; local
1800 update_type, &timeout, &is_match);
H A Dsmbns_netbios_name.c231 smb_name_get_reply(uint16_t tid, uint32_t timeout) argument
240 to_save = timeout;
254 to.tv_nsec = timeout * 1000000;
268 timeout = to_save + wait_time;
280 if (wait_time >= timeout) {
287 timeout -= wait_time;
327 struct name_packet *packet, uint32_t timeout)
338 if ((reply = smb_name_get_reply(tid, timeout)) == 0) {
410 * adjust refresh timeout value,
926 struct name_packet *packet, uint32_t retries, uint32_t timeout)
326 smb_netbios_process_response(uint16_t tid, addr_entry_t *addr, struct name_packet *packet, uint32_t timeout) argument
925 smb_netbios_send_rcv(int bcast, addr_entry_t *destination, struct name_packet *packet, uint32_t retries, uint32_t timeout) argument
967 uint32_t timeout; local
1041 uint32_t timeout; local
1177 uint32_t timeout; local
1262 uint32_t timeout; local
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Dib.h334 clock_t timeout; member in struct:rib_qp_s
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_rdc_hw.h439 * Enable timeout. If set to one, enable the timeout. A timeout
454 uint32_t timeout:6; member in struct:__anon5779::__anon5780
456 uint32_t timeout:6;
549 * the following counter. This is used to drive the DMA timeout
554 * timeout count-down. The hardware count down is count+1.
580 * completion timeout from peu. Part of LDF 1.
586 * Set to 0 to enable flagging when RCR timeout. Part of LDF 0.
656 * timeout fro
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c85 int timeout; local
112 * we don't like a polled command without timeout.
127 timeout = pkt->pkt_time * SEC_TO_CSEC;
129 for (busy_count = 0; busy_count < timeout; busy_count++) {
767 0x3e, 0x02, "timeout on LUN",
808 0x4b, 0x03, "ack/nak timeout",
/illumos-gate/usr/src/uts/common/io/uath/
H A Duath.c1068 * Wait on lock until someone calls the "signal" function or the timeout
1069 * expires. Note: timeout is in microseconds.
1072 uath_cmd_lock_wait(struct uath_cmd_lock *lock, clock_t timeout) argument
1080 if (timeout < 0) {
1081 /* no timeout - wait as long as needed */
1085 /* wait with timeout (given in usec) */
1086 etime = ddi_get_lbolt() + drv_usectohz(timeout);
1183 "timeout waiting for reply, "
1926 sc->sc_scan_id = timeout(uath_next_scan, (void *)sc,
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsacm/
H A Dusbsacm.c1391 usbsacm_ds_fifo_drain(ds_hdl_t hdl, uint_t port_num, int timeout) argument
1403 if (usbsacm_wait_tx_drain(acm_port, timeout) != USB_SUCCESS) {
2539 * 'timeout' is in seconds, zero means wait forever
2542 usbsacm_wait_tx_drain(usbsacm_port_t *acm_port, int timeout) argument
2547 until = ddi_get_lbolt() + drv_usectohz(1000 * 1000 * timeout);
2550 if (timeout > 0) {
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c2627 "pkt submitted with 0 timeout which may cause indefinite "
3725 /* A larger timeout is needed for 'flaky' CD-RW devices */
3918 /* Set the timeout value as per command request */
3932 "new timeout value = 0x%x", cmd->cmd_timeout);
4108 * copy the timeout from the
5219 uint_t timeout, usb_req_attrs_t attrs, usb_flags_t flags)
5229 req->bulk_timeout = scsa2usb_bulk_timeout(timeout); /* xfer timeout */
5239 * ensure that bulk requests do not have infinite timeout values
5242 scsa2usb_bulk_timeout(int timeout) argument
5218 scsa2usb_init_bulk_req(scsa2usb_state_t *scsa2usbp, size_t length, uint_t timeout, usb_req_attrs_t attrs, usb_flags_t flags) argument
[all...]
/illumos-gate/usr/src/uts/common/io/wpi/
H A Dwpi.c1009 WPI_DBG((WPI_DEBUG_DMA, "timeout resetting Rx ring\n"));
1129 WPI_DBG((WPI_DEBUG_DMA, "timeout resetting Tx ring %d\n",
1641 WPI_DBG((WPI_DEBUG_FW, "timeout transferring firmware\n"));
2239 tx->timeout = 3;
2241 tx->timeout = 2;
2243 tx->timeout = 0;
2537 int times = 0, err, n = 0, timeout = 0; local
2653 timeout++;
2654 if (timeout == 10) {
2662 timeout
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_resync.c79 * Tunable resync thread timeout. This is used as the time interval for updating
120 * The timeout value is defined by the tunable
567 check_resync_regions(daemon_request_t *timeout) argument
621 timeout->dr_pending = 0;
637 mirror_timeout.dr_timeout_id = timeout(md_mirror_timeout,
653 mirror_timeout.dr_timeout_id = timeout(md_mirror_timeout,
2242 /* schedule the next timeout if the resync is still marked active */
2247 un->un_rs_resync_to_id = timeout(resync_progress, un,
2478 * Start a timeout chain to update the resync progress to the mddb.
2483 un->un_rs_resync_to_id = timeout(resync_progres
[all...]
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dschpc.c185 void *datap, clock_t timeout,
189 clock_t timeout, schpc_replylist_t *listp);
302 cmn_err(CE_WARN, " schpc: resetting putmsg timeout to %ld\n",
308 cmn_err(CE_WARN, " schpc: resetting putmsg timeout to %ld\n",
343 cmn_err(CE_WARN, " schpc: resetting getmsg timeout to %ld\n",
349 cmn_err(CE_WARN, " schpc: resetting putmsg timeout to %ld\n",
355 cmn_err(CE_WARN, " schpc: resetting event timeout to %ld\n",
361 cmn_err(CE_WARN, " schpc: resetting event timeout to %ld\n",
2877 uint32_t length, void *datap, clock_t timeout,
2890 (void *)datap, timeout);
2876 schpc_putrequest(uint32_t key, uint32_t type, uint32_t cmd, uint64_t *transidp, uint32_t length, void *datap, clock_t timeout, schpc_replylist_t **entryp) argument
2911 schpc_getreply(uint32_t key, uint32_t *typep, uint32_t *cmdp, uint64_t *transidp, uint32_t *lengthp, void *datap, clock_t timeout, schpc_replylist_t *listp) argument
[all...]

Completed in 195 milliseconds

<<1112131415161718