Searched defs:timeout (Results 201 - 225 of 446) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dctl_srvr.c115 struct timespec timeout; member in struct:ctl_sctx
173 u_int timeout, int backlog, int max_sess,
203 ctx->timeout = evConsTime(timeout, 0);
356 if (evSetIdleTimer(ctx->ev, ctl_wrtimeout, sess, ctx->timeout,
533 if (evSetIdleTimer(ctx->ev, ctl_rdtimeout, sess, ctx->timeout,
641 (*ctx->logger)(ctl_warning, "%s: %s: write timeout, closing",
668 (*ctx->logger)(ctl_warning, "%s: %s: timeout, closing",
170 ctl_server(evContext lev, const struct sockaddr *sap, size_t sap_len, const struct ctl_verb *verbs, u_int unkncode, u_int timeoutcode, u_int timeout, int backlog, int max_sess, ctl_logfunc logger, void *uctx) argument
/illumos-gate/usr/src/lib/libc/port/aio/
H A Dposix_aio.c381 /* content of timeout = 0 : polling */
385 /* timeout pointer = NULL : wait indefinitely */
545 /* Update remaining timeout for the kernel */
584 /* Update remaining timeout */
626 const timespec_t *timeout)
628 return (__aio_suspend((void **)list, nent, timeout, 0));
929 * return if the timeout expires. Additionally, aio_waitn returns 0 if
1153 * a timeout error (ETIME).
1201 const timespec_t *timeout)
1203 return (__aio_waitn((void **)list, nent, nwait, timeout));
625 aio_suspend(const aiocb_t * const list[], int nent, const timespec_t *timeout) argument
1200 aio_waitn(aiocb_t *list[], uint_t nent, uint_t *nwait, const timespec_t *timeout) argument
1517 aio_suspend64(const aiocb64_t * const list[], int nent, const timespec_t *timeout) argument
1761 aio_waitn64(aiocb64_t *list[], uint_t nent, uint_t *nwait, const timespec_t *timeout) argument
[all...]
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c244 boolean_t timeout = B_FALSE; local
276 timeout = B_TRUE;
310 if (timeout == B_TRUE) {
434 timeout = B_TRUE;
461 if (timeout == B_TRUE) {
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsasl.c315 LDAP_X_PollFD fds[], int nfds, int timeout,
341 return ( ld->ld_sasl_io_fns.lextiof_poll( fds, nfds, timeout,
841 struct timeval timeout; local
848 timeout.tv_sec = SEARCH_TIMEOUT_SECS;
849 timeout.tv_usec = 0;
852 "objectclass=*", attr, 0, &timeout, &res );
314 nsldapi_sasl_poll( LDAP_X_PollFD fds[], int nfds, int timeout, struct lextiof_session_private *arg ) argument
H A Dtmplout.c455 struct timeval timeout; local
469 timeout.tv_sec = SEARCH_TIMEOUT_SECS;
470 timeout.tv_usec = 0;
505 "objectClass=*", ocattrs, 0, &timeout, &ldmp );
539 fetchattrs, 0, &timeout, &ldmp );
1046 struct timeval timeout;
1098 timeout.tv_sec = SEARCH_TIMEOUT_SECS;
1099 timeout.tv_usec = 0;
1108 retattrs, 0, &timeout, &ldmp );
1045 struct timeval timeout; local
/illumos-gate/usr/src/cmd/utmpd/
H A Dutmpd.c218 * Read defaults file for poll timeout, WTMPX update frequency
229 dprintf(("Poll timeout set to %d\n", Poll_timeout));
373 int timeout; local
384 * Recalculate timeout - checking to see if time expired.
387 if ((timeout = Poll_timeout - (time(NULL) - last_timeout)) <= 0) {
388 timeout = Poll_timeout;
395 for (i = 0; i < (timeout / WTMPX_ufreq); i++) {
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyp_b_subr.c76 #define PINGTOTTIM 5 /* Total seconds for ping timeout */
461 struct timeval timeout; local
589 timeout.tv_sec = PINGTIME;
590 timeout.tv_usec = 0;
594 (char *)&isok, timeout) == RPC_SUCCESS) {
1014 struct timeval timeout; local
1041 timeout.tv_sec = PINGTOTTIM;
1042 timeout.tv_usec = 0;
1046 timeout) == RPC_SUCCESS) {
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c176 s10_poll(sysret_t *rval, struct pollfd *fds, nfds_t nfd, int timeout) argument
181 if (timeout < 0)
184 ts.tv_sec = timeout / MILLISEC;
185 ts.tv_nsec = (timeout % MILLISEC) * MICROSEC;
H A Ds10_signal.c643 const sigset_t *set, siginfo_t *info, const timespec_t *timeout)
650 set, info, timeout);
655 &sigset_set, info, timeout)) != 0)
642 s10_sigtimedwait(sysret_t *rval, const sigset_t *set, siginfo_t *info, const timespec_t *timeout) argument
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_lock.c44 * Daemon timeout value
65 int idle_timeout; /* persist idle timeout value */
1264 rcmd_start_timer(int timeout) argument
1268 if (timeout == 0)
1269 timeout = RCM_DAEMON_TIMEOUT; /* default to 5 minutes */
1271 dr_req_list->idle_timeout = timeout; /* persist timeout */
1273 if (timeout > 0) {
1274 abstime.tv_sec = time(NULL) + timeout;
1282 if (timeout >
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/
H A Dilb_probe.c87 * argv[6] is the probe timeout
103 uint32_t timeout; /* argv[6] */ member in struct:__anon149
111 /* Global variable to indicate whether a timeout means success. */
172 int64_t timeout; local
232 if ((timeout = strtoll(argv[6], NULL, 10)) <= 0 || timeout > UINT_MAX)
234 param->timeout = timeout;
311 * return within the timeout period, the SIGALRM handler will be invoked
351 (void) alarm(param->timeout);
644 struct itimerval timeout; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/
H A Dkssladm_create.c1040 uint32_t timeout = DEFAULT_SID_TIMEOUT; local
1085 timeout = atoi(optarg);
1185 kssl_params->kssl_session_cache_timeout = timeout;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop.c480 struct timeval timeout; local
484 * then set the buffer timeout down
489 timeout.tv_sec = 0;
490 timeout.tv_usec = 100000;
492 timeout.tv_sec = 1;
493 timeout.tv_usec = 0;
496 init_datalink(dh, snaplen, chunksize, &timeout, fp);
H A Dsnoop_capture.c174 struct timeval *timeout, struct Pf_ext_packetfilt *fp)
232 (char *)timeout) < 0)
173 init_datalink(dlpi_handle_t dh, ulong_t snaplen, ulong_t chunksize, struct timeval *timeout, struct Pf_ext_packetfilt *fp) argument
/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/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c87 int timeout = 0; local
102 if (timeout++ >= TIMEOUT_MAX)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp_var.h211 EXTERN int timeout; /* connection timeout */ variable
212 EXTERN int timeoutms; /* connection timeout in msec */
213 EXTERN jmp_buf timeralarm; /* to recover from global timeout */
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c99 int timeout = -1; variable
214 timeout = strtonum(optarg, 0, INT_MAX / 1000, &errstr);
216 errx(1, "timeout %s: %s", errstr, optarg);
217 timeout *= 1000;
268 if (lflag && (timeout >= 0))
690 if ((n = poll(pfd, 2 - dflag, timeout)) < 0) {
947 "\t [-s source_ip_address] [-T ToS] [-w timeout]"
/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice.c1040 int timeout)
1048 if (prop != NULL || timeout==0) {
1064 ai->timeout_id = g_timeout_add (timeout, async_wait_timeout, ai);
1036 hal_device_async_wait_property(HalDevice *device, const char *key, HalDeviceAsyncCallback callback, gpointer user_data, int timeout) argument
/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/krb5/kadmin/server/
H A Dovsec_kadmd.c1241 struct timeval timeout; local
1247 timeout.tv_sec = TIMEOUT;
1248 timeout.tv_usec = 0;
1267 __rpc_timeval_to_msec(&timeout))) {
/illumos-gate/usr/src/cmd/latencytop/common/
H A Ddisplay.c790 struct timeval timeout; local
850 timeout.tv_sec = remaining / 1000;
851 timeout.tv_usec = (remaining % 1000) * 1000;
858 if (select(gpipe + 1, &read_fd, NULL, NULL, &timeout) > 0) {
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptest.c271 struct timeval timeout, timelimit; local
386 timeout.tv_sec = 0;
387 timeout.tv_usec = 0;
652 resultusetimelimit ? &timelimit : &timeout, &res )) < 1 ) {
748 case 't': /* set timeout value */
749 getaline( line, sizeof(line), stdin, "timeout? " );
750 timeout.tv_sec = atoi( line );
758 case 'u': /* user friendly search w/optional timeout */
769 &timeout );
848 getaline( line, sizeof(line), stdin, "Cache timeout (sec
[all...]
/illumos-gate/usr/src/cmd/tip/
H A Dcmds.c36 void timeout(void); /* timeout function called on alarm */
417 * wait for echo & handle timeout
453 timeout(void) function
455 (void) signal(SIGALRM, (sig_handler_t)timeout);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_db.c156 rfs4_dbe_twait(rfs4_dbe_t *entry, clock_t timeout) argument
158 return (cv_timedwait(entry->dbe_cv, entry->dbe_lock, timeout));

Completed in 262 milliseconds

1234567891011>>