Searched defs:timeout (Results 1 - 25 of 446) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootiic/
H A Denv_vars.c52 ReadCharFromEnvironment(int timeout) argument
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootspi/
H A Denv_vars.c52 ReadCharFromEnvironment(int timeout) argument
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Demac.c537 int timeout; local
546 timeout = 10;
552 while (timeout) {
556 timeout = 10;
559 --timeout;
573 if (timeout == 0)
H A Dsd-card.c67 MCIDeviceWaitReady(unsigned int timeout) argument
79 timeout--;
81 while( !(status & waitfor) && (timeout>0) );
122 int timeout = AT91C_MCI_TIMEOUT; local
128 } while( !(status & AT91C_MCI_CMDRDY) && (--timeout > 0) );
306 int timeout = AT91C_MCI_TIMEOUT; local
349 } while (!(response & AT91C_CARD_POWER_UP_DONE) && (--timeout > 0));
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dboot.c165 autoboot(int timeout, char *prompt) argument
175 if (timeout == -1) {
176 timeout = 10;
179 timeout = strtol(cp, &ep, 0);
181 timeout = 10; /* Unparseable? Set default! */
197 if (timeout >= 0) {
199 when = otime + timeout; /* when to boot */
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/boot/sys/boot/efi/libefi/
H A Definet.c145 efinet_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout) argument
157 while ((time(0) - t) < timeout) {
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dpxe.c86 time_t timeout);
636 pxe_netif_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout) argument
681 readudp(struct iodesc *h, void *pkt, size_t len, time_t timeout) argument
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dofw_net.c128 ofwn_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout) argument
134 printf("netif_get: pkt=%p, maxlen=%d, timeout=%d\n", pkt, len,
135 timeout);
142 (getsecs() - t < timeout));
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Dnet.c275 net_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout) argument
283 printf("net_get: pkt %p, len %d, timeout %d\n", pkt, len, timeout);
295 } while ((rlen == -1 || rlen == 0) && (getsecs() - t < timeout));
/illumos-gate/usr/src/boot/sys/boot/usb/
H A Dbsd_usbloader_test.c61 pause(const char *what, int timeout) argument
63 if (timeout == 0)
64 timeout = 1;
66 usleep((1000000 / hz) * timeout);
/illumos-gate/usr/src/boot/sys/boot/usb/storage/
H A Dumass_loader.c214 pause(const char *what, int timeout) argument
216 if (timeout == 0)
217 timeout = 1;
219 delay((1000000 / hz) * timeout);
/illumos-gate/usr/src/cmd/avs/dscfglockd/
H A Ddscfglockd.c127 #define lockdaemon_dead(ldp) ((ticker - (ldp)->timeout) > MAX_TIMEOUTS)
137 long timeout; member in struct:lockdaemon
366 ldp->timeout = ticker;
386 ldp->timeout = ticker;
672 " up %d timeout %ld missed %d state %d\n", ldp->up,
673 ldp->timeout, ticker - ldp->timeout, ldp->state);
914 (void) printf("%5ld ", ldp->timeout);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpoptr.c20 static unsigned int timeout; /* current timeout */ variable
88 /* special hook to flush timeout cache */
101 timeout = 0;
149 timeout = 0;
201 if (timeout) {
205 timeout += 120;
211 (void) alarm(timeout);
/illumos-gate/usr/src/cmd/bnu/
H A Duucico.c91 extern void intrEXIT(), onintr(), timeout();
319 (void) signal(SIGALRM, timeout);
581 (void) signal(SIGALRM, timeout);
705 DEBUG(4, "%s - timeout\n", "startup");
731 (void) signal(SIGALRM, timeout);
864 timeout() function
/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/cmd/cmd-inet/sbin/dhcpagent/
H A Dscript_handler.c65 * script's absolute timeout value. the first timeout is set to SCRIPT_TIMEOUT
66 * seconds from the time it is started. SIGTERM is sent on the first timeout
67 * the second timeout is set to SCRIPT_TIMEOUT_GRACE from the first timeout
68 * and SIGKILL is sent on the second timeout.
70 static time_t timeout; variable
87 if (now < timeout)
88 (void) alarm(timeout - now);
105 timeout
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/
H A Dchat.c13 * 3 - timeout waiting for a simple string.
188 int timeout = DEFAULT_CHAT_TIMEOUT; variable
270 * chat [ -v ] [ -E ] [ -T number ] [ -U number ] [ -t timeout ] [ -f chat-file ] \
322 timeout = atoi(arg);
478 Usage: %s [-e] [-E] [-v] [-V] [-t timeout] [-r report-file]\n\
1145 timeout = atoi(s);
1147 if (timeout <= 0)
1148 timeout = DEFAULT_CHAT_TIMEOUT;
1151 logf("timeout set to %d seconds", 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...]
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/cmd-inet/usr.bin/pppd/
H A Dmain.c857 * incoming events (reply, timeout, etc.).
1253 * holdoff_end - called via a timeout when the holdoff period ends.
1614 * timeout - Schedule a timeout.
1616 * Note that this timeout takes the number of seconds, NOT hz (as in
1620 timeout(func, arg, time) function
1630 * Allocate timeout.
1633 novm("callout structure for timeout.");
1654 * untimeout - Unschedule a timeout.
1666 * Find first matching timeout an
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drdate.c78 static void timeout(int);
109 (void) signal(SIGALRM, timeout);
182 timeout(int sig) function
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dnetwork.c93 static struct timeval timeout = { 0 }; local
100 value = select(net+1, NULL, NULL, &excepts, &timeout);
H A Dtelnet.c2255 time_t timeout = time(0) + 60; local
2284 if (time(0) > timeout) {

Completed in 201 milliseconds

1234567891011>>