Searched refs:timeout (Results 201 - 225 of 853) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/tail/tests/
H A Dsun_solaris_tail.sh56 float timeout=$2
60 (( timeout=timeout/STEP ))
62 for (( i=0 ; i < timeout ; i+=STEP )) ; do
/illumos-gate/usr/src/lib/udapl/libdat/include/dat/
H A Dudat_redirection.h85 #define DAT_EVD_WAIT(evd, timeout, threshold, event, nmore) \
88 (timeout),\
131 #define DAT_CNO_WAIT(cno, timeout, evd) \
134 (timeout),\
188 IN DAT_TIMEOUT, /* timeout */
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_thread.c305 clock_t timeout
321 } else if (timeout == 0) {
325 if (timeout == -1) {
329 timeout, TR_CLOCK_TICK);
H A Discsi_thread.h111 clock_t timeout
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_tlist.h39 * - enable/disable of timeout feature
40 * - timeout feature, if enabled, will remove each node on the list which
41 * has been on the list for > timeout. The callback provided will be
43 * timer_resolution after the timeout has occurred (i.e. if you set the
44 * timer resolution to 50uS and the timeout to 100uS, you could get the
101 * This structure is used if you are using the timeout feature of the linked
103 * timeout
108 * varied from timeout to reduce the jitter in the callback.
111 * function to call on timeout.
125 /* State to determine if timeout i
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_locking_andx.c109 * specified to become unlocked. A timeout value of 0 indicates that the
112 * timeout value of -1 indicates that the server should wait as long as it
118 * If any of the lock ranges timeout because of the area to be locked is
234 uint32_t timeout; /* Milliseconds to wait for lock */ local
249 &oplock_level, &timeout, &unlock_num, &lock_num);
342 result = smb_lock_range(sr, offset64, length64, timeout,
378 (uint64_t)length32, timeout, ltype);
H A Dsmb_lock.c143 uint32_t timeout,
152 (timeout != 0 && timeout != UINT_MAX);
154 lock = smb_lock_create(sr, start, length, locktype, timeout);
168 } else if (timeout == 0) {
187 timeout = 0;
595 * -1 The timeout was reached.
610 * Wait up till the timeout time keeping track of actual
731 uint32_t timeout)
753 lock->l_end_time = ddi_get_lbolt() + MSEC_TO_TICK(timeout);
139 smb_lock_range( smb_request_t *sr, uint64_t start, uint64_t length, uint32_t timeout, uint32_t locktype) argument
726 smb_lock_create( smb_request_t *sr, uint64_t start, uint64_t length, uint32_t locktype, uint32_t timeout) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DPosixDaemon.c159 struct timeval timeout; local
173 timeout.tv_sec = ticks / mDNSPlatformOneSecond;
174 timeout.tv_usec = (ticks % mDNSPlatformOneSecond) * 1000000 / mDNSPlatformOneSecond;
176 (void) mDNSPosixRunEventLoopOnce(m, &timeout, &signals, &gotData);
/illumos-gate/usr/src/lib/librsc/sparc/mpxu/common/
H A Dlibrsc.c108 /* lookup table to get timeout value for BP cmd reply. This is in order to */
202 rscp_send_recv(rscp_msg_t *req, rscp_msg_t *resp, struct timespec *timeout) argument
247 if (timeout == NULL) {
250 rr.wait_time = timeout->tv_sec * 1000 +
251 timeout->tv_nsec / 1000000;
269 * response expected and a timeout value
437 * get the timeout value
442 rr_bp.wait_time = rr_bp_item->timeout;
557 * (if any) and the timeout value for a message to be sent. The reply is then
616 rr.wait_time = rr_item->timeout;
663 rscp_recv(rscp_msg_t *msgp, struct timespec *timeout) argument
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dvfscanf.c70 ** SCANALRM -- handler when timeout activated for sm_io_vfscanf()
101 ** timeout -- time intvl allowed to complete (milliseconds)
111 sm_vfscanf(fp, timeout, fmt0, ap)
113 int SM_NONVOLATILE timeout;
138 if (timeout == SM_TIME_DEFAULT)
139 timeout = fp->f_timeout;
140 if (timeout == SM_TIME_IMMEDIATE)
151 if (timeout != SM_TIME_FOREVER)
159 evt = sm_seteventm(timeout, scanalrm, 0);
172 sm_clrevent(evt); /* undo our timeout */
[all...]
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dclnt_tcp.c51 * the rpc timeout value is zero (see clnt.h, rpc).
225 clnttcp_call(h, proc, xdr_args, args_ptr, xdr_results, results_ptr, timeout)
232 struct timeval timeout;
243 ct->ct_wait = timeout;
247 (xdr_results == (xdrproc_t)0 && timeout.tv_sec == 0 &&
248 timeout.tv_usec == 0) ? FALSE : TRUE;
270 if (timeout.tv_sec == 0 && timeout.tv_usec == 0) {
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_init.c164 long timeout = 0; local
171 if (timeout >= rom_lock_timeout) {
173 adapter->name, adapter->instance, done, timeout);
176 timeout++;
194 long timeout = 0; local
200 timeout++;
201 if (timeout >= rom_max_timeout) {
/illumos-gate/usr/src/lib/libcmd/common/
H A Dtail.c66 "[L:log?When a \b--forever\b file times out via \b--timeout\b, verify that "
72 "[s:silent?Don't warn about timeout expiration and log file changes.]"
73 "[t:timeout?Stop checking after \atimeout\a elapses with no additional "
75 "each file operand. There is no timeout by default. The default "
79 "interpreted as seconds. The supported suffixes are:]:[timeout]{"
417 unsigned long timeout = 0; local
516 timeout = strelapsed(opt_info.arg, &s, 1);
601 timeout = 0;
602 error(ERROR_warn(0), "--timeout ignored for --noforever");
623 fp->expire = timeout
[all...]
/illumos-gate/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c62 #define DEFAULT_TIMEOUT 5 /* default connection timeout (in secs) */
71 int timeout; /* connection timeout */ variable
74 /* semi-exponential timeout back off; x .. attempts, y .. timeout */
646 /* semi-exponential timeout back off */
647 timeout = BOFF_TIMEOUT(attempts, timeout);
648 DPRINT((dfile, "New timeout=%d\n", timeout));
[all...]
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dmkservice.c23 * eloop [-t timeout]
75 "[t]#[timeout?\atimeout\a is the number of milliseconds to wait "
80 "[+EXIT STATUS?If no timeout is specified, \beloop\b will not return "
82 "[+0?The specified timeout interval occurred.]"
211 static int waitnotify(int fd, long timeout, int rw) argument
242 nready = sfpoll(poll_list,pstream-poll_list,timeout);
463 register long timeout = -1; local
473 timeout = opt_info.num;
489 if(waitnotify(-1, timeout, 0)==0)
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dnetpr.c66 * timeout (in seconds) passed in, an error it returned. If the host is
71 net_open(char *host, int timeout) argument
86 timeout);
124 (void) alarm(timeout);
242 job_data->timeout = atoi(optarg);
243 if (job_data->timeout < 0)
470 gettext("\t\t[-t timeout] [ -c ] [ -b ]\n"));
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dcommands.c384 int timeout; local
391 timeout = -1;
402 timeout = strtol(optarg, &cp, 0);
405 "bad timeout '%s'", optarg);
420 if (timeout >= 0) {
421 when = time(NULL) + timeout;
424 return(CMD_OK); /* is timeout an error? */
/illumos-gate/usr/src/lib/libpcp/common/
H A Dlibpcp.c64 * uint32_t timeout);
108 * timeout field is supplied by user. timeout field is used to decide
109 * how long to block on glvc driver calls before we return timeout error
338 * uint32_t timeout - timeout field when waiting for data from channel.
343 * PCPL_GLVC_TIMEOUT - glvc call timeout.
351 uint32_t timeout)
373 if (timeout > 0)
374 glvc_timeout = timeout;
350 pcp_send_recv(int channel_fd, pcp_msg_t *req_msg, pcp_msg_t *resp_msg, uint32_t timeout) argument
990 uint32_t timeout; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_clock.c62 emlxs_timeout(emlxs_hba_t *hba, uint32_t timeout) argument
67 /* Set thread timeout */
70 time += (timeout * drv_usectohz(1000000));
133 timeout(emlxs_timer, (void *)hba,
189 /* Check for linkup timeout */
203 /* Check for clean address bit delay timeout */
206 /* Check for tape discovery timeout */
243 timeout(emlxs_timer, (void *)hba, drv_usectohz(1000000));
624 /* Check for channel timeout now */
626 if (cp->timeout
[all...]
H A Demlxs_node.c37 /* Timeout not -1 will apply the timeout */
40 int32_t timeout)
60 if (timeout == -1) {
62 timeout = cfg[CFG_OFFLINE_TIMEOUT].current;
65 timeout = 0;
82 ndlp->nlp_tics[channelno] = hba->timer_tics + timeout;
88 ndlp, ndlp->nlp_DID, channelno, timeout);
90 } else if (timeout) {
91 ndlp->nlp_tics[channelno] = hba->timer_tics + timeout;
95 "node=%p did=%06x channel=%d. timeout
39 emlxs_node_close(emlxs_port_t *port, NODELIST *ndlp, uint32_t channelno, int32_t timeout) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_pipe_mgmt.c563 int timeout; local
573 for (timeout = 0; timeout < usba_drain_timeout; timeout++) {
666 int timeout; local
703 for (timeout = 0; (timeout < usba_drain_timeout) &&
706 timeout++) {
718 if (timeout == usba_drain_timeout) {
1055 int timeout; local
1517 int timeout = 100 * (int)((uintptr_t)(request->arg)); local
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_sb.c225 if (!(hc_index_entry->flags & HC_INDEX_DATA_HC_ENABLED) && hc_index_entry->timeout) {
833 void lm_setup_ndsb_index(struct _lm_device_t *pdev, u8_t sb_id, u8_t idx, u8_t sm_idx, u8_t timeout, u8_t dhc_enable) argument
841 hc_index_entry->timeout = timeout;
843 if (timeout) {
1347 u8_t timeout = 0; local
1440 timeout = (u8_t)pdev->params.hc_timeout0[SM_RX_ID][index];
1442 timeout = (u8_t)(ic->hc_usec_u_sb[index] / HC_TIMEOUT_RESOLUTION_IN_US);
1453 timeout = (u8_t)pdev->params.hc_timeout0[SM_TX_ID][index];
1455 timeout
1563 u8_t timeout = 0; local
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-io.c52 int timeout, struct lextiof_session_private *sessionarg );
54 int timeout, unsigned long options,
155 /* cap at maximum I/O timeout */
227 prldap_poll( LDAP_X_PollFD fds[], int nfds, int timeout, argument
275 prldap_timeout2it( timeout, prsessp->prsess_io_max_timeout ));
299 PRNetAddr *addrp, int port, int timeout, unsigned long options )
353 prldap_timeout2it( timeout, prsockp->prsock_io_max_timeout ))) {
371 * XXXmcs: At present, this code ignores the timeout when doing DNS lookups.
374 prldap_connect( const char *hostlist, int defport, int timeout, argument
421 timeout, option
298 prldap_try_one_address( struct lextiof_socket_private *prsockp, PRNetAddr *addrp, int port, int timeout, unsigned long options ) argument
[all...]
/illumos-gate/usr/src/cmd/rexd/
H A Dmount_nfs.c109 struct timeval timeout; local
243 timeout.tv_usec = 0;
244 timeout.tv_sec = 25;
251 xdr_fhstatus, (caddr_t)&fhs, timeout);
285 xdr_mountres3, (char *)&res3, timeout);
417 struct timeval timeout; local
467 timeout.tv_usec = 0;
468 timeout.tv_sec = 25;
471 xdr_void, (char *)NULL, timeout);
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_comm.c120 /* Default timeout can be changed using clnt_control() */
667 struct timeval timeout; local
721 * For the timeout pick the specific timeout for the message times the
725 timeout.tv_sec = mdmn_get_timeout(type) * NNODES;
726 timeout.tv_usec = 0;
738 clnt_control(local_daemon, CLSET_TIMEOUT, (char *)&timeout);
841 (char *)&timeout);
887 mdmn_suspend(set_t setno, md_mn_msgclass_t class, long timeout) argument
904 if (timeout !
947 mdmn_resume(set_t setno, md_mn_msgclass_t class, uint_t flags, long timeout) argument
1020 mdmn_reinit_set(set_t setno, long timeout) argument
[all...]

Completed in 116 milliseconds

1234567891011>>