Searched defs:timeout (Results 76 - 100 of 446) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/fs.d/nfs/umount/
H A Dumount.c241 struct timeval timeout; local
293 * Use 5 sec. timeout if file system is forced unmounted,
294 * otherwise use default timeout to create a client handle.
333 timeout.tv_usec = 0;
334 timeout.tv_sec = 5;
335 clnt_control(cl, CLSET_RETRY_TIMEOUT, (char *)&timeout);
336 timeout.tv_sec = 25;
339 timeout);
/illumos-gate/usr/src/cmd/hal/addons/network-devices/
H A Dsnmp.c105 struct timeval timeout; local
108 snmp_select_info(&fds, &fdset, &timeout, &block);
109 fds = select(fds, &fdset, NULL, NULL, block ? NULL : &timeout);
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_acpi.c243 devinfo_acpi_get_prober(HalDevice *d, int *timeout) argument
245 *timeout = DEVINFO_PROBE_ACPI_TIMEOUT; /* 30 second timeout */
H A Dosspec.c207 timespec_t timeout; local
216 timeout.tv_sec = timeout.tv_nsec = 0;
217 (void) port_get(mnttab_port, &pe, &timeout);
/illumos-gate/usr/src/cmd/lms/SyncLib/src/
H A DThreadUnix.cpp102 timespec timeout, time; local
107 timeout.tv_sec = now.tv_sec + time.tv_sec;
108 timeout.tv_nsec = now.tv_usec + time.tv_nsec;
112 retcode = pthread_cond_timedwait(&_osThread->_cond, &_osThread->_mut, &timeout);
/illumos-gate/usr/src/cmd/lms/heci/
H A DHECIUnix.cpp217 int HECILinux::ReceiveMessage(unsigned char *buffer, int len, unsigned long timeout) argument
240 int HECILinux::SendMessage(const unsigned char *buffer, int len, unsigned long timeout) argument
248 tv.tv_sec = timeout / 1000;
249 tv.tv_usec =(timeout % 1000) * 1000000;
275 fprintf(stderr, "write failed on timeout with status\n");
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmexpress.c235 char *timeout; local
268 timeout = optarg;
276 pmtab->p_timeout = atoi(timeout);
310 "[-l ttylabel] [-t timeout] [-p prompt] [-m modules]\n";
353 log("getty: timeout argument <%s> "
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dmachdep.c270 int timeout, ncpu; local
292 for (timeout = TIMEOUT_MSECS; timeout; timeout--) {
298 if (timeout == 0) {
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dnfs2ops.c68 struct timeval timeout; local
98 timeout.tv_sec = NFS_REXMIT_MIN; /* Total wait for call */
99 timeout.tv_usec = 0;
103 xdr_readres, (caddr_t)&read_res, timeout);
124 timeout.tv_sec = NFS_REXMIT_MIN;
127 if (timeout.tv_sec < NFS_REXMIT_MAX)
128 timeout.tv_sec++;
130 timeout.tv_sec = 0;
188 struct timeval timeout = {0, 0}; /* default */ local
192 xdr_attrstat, (caddr_t)&getattr_res, timeout);
[all...]
/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/uts/sun4v/os/
H A Dwdt.c47 #define WDT_MIN_TIMEOUT (1 * MILLISEC) /* Minimum timeout = 1s */
48 #define WDT_REGULAR_TIMEOUT (10 * MILLISEC) /* Default timeout = 10s */
49 #define WDT_LONG_TIMEOUT (60 * MILLISEC) /* Long timeout = 60s */
72 * the timeout value.
106 * Get the watchdog-max-timeout and watchdog-resolution MD properties.
126 if (md_get_prop_val(mdp, listp[0], "watchdog-max-timeout",
128 cmn_err(CE_WARN, "Invalid watchdog-max-timeout, watchdog "
137 * Make sure that watchdog timeout value is within limits.
168 * round the timeout to the nearest smaller value.
177 * watchdog timeout
244 config_watchdog(uint64_t timeout, int new_state) argument
[all...]
/illumos-gate/usr/src/uts/intel/io/heci/
H A Dio_heci.c158 long timeout = 15; /* 15 second */ local
340 &dev->device_lock, timeout * HZ, TR_CLOCK_TICK);
469 dev->wd_timer = timeout(heci_wd_timer, dev, 1);
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dnet.c134 int timeout; local
143 timeout = seed = seed ? seed : 10;
148 syslog(LOG_DEBUG, "xfer_file: timeout = %d", timeout);
156 if (timeout < (seed * 4)) {
157 (void) sleep(timeout);
158 timeout *= 2;
159 } else if (timeout == (seed * 4)) {
160 (void) sleep(timeout);
161 timeout *
200 int timeout; local
322 int timeout = 1; local
[all...]
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/lib/libresolv/
H A Dres_send.c150 struct timeval timeout; local
411 timeout.tv_sec = (_res.retrans << try);
413 timeout.tv_sec /= _res.nscount;
414 if (timeout.tv_sec <= 0)
415 timeout.tv_sec = 1;
416 timeout.tv_usec = 0;
421 (fd_set *)NULL, &timeout);
431 * timeout
435 printf("timeout\n");
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_oplock.c248 uint32_t timeout; local
313 timeout = smb_oplock_min_timeout;
315 timeout = smb_oplock_timeout;
319 smb_oplock_wait_ack(node, timeout);
484 smb_oplock_wait_ack(smb_node_t *node, uint32_t timeout) argument
491 time = MSEC_TO_TICK(timeout) + ddi_get_lbolt();
506 * An oplock break has not been acknowledged within timeout
/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 */
/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/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/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/lib/lvm/libmeta/common/
H A Dmetarpcopen.c151 * Set the timeout value for this client handle.
169 dgettext(TEXT_DOMAIN, "metad client set timeout")));
252 struct timeval timeout; local
263 timeout.tv_usec = 0;
272 /* Use remaining time as the timeout value. */
273 timeout.tv_sec = tout - (curtime.tv_sec - start.tv_sec);
274 clnt = (*func)(hostname, data, &timeout);
369 * don't want to suffer the 60 second timeout if the services are
/illumos-gate/usr/src/lib/passwdutil/
H A Dnis_attr.c465 struct timeval timeout; local
502 timeout.tv_usec = 0;
503 timeout.tv_sec = 55; /* ndp uses 55 seconds */
506 (char *)&yppasswd, xdr_int, (char *)&ok, timeout);
/illumos-gate/usr/src/lib/scsi/libscsi/common/
H A Dscsi_engine.c230 * Set the timeout in seconds for this action. If no timeout is specified
231 * or if the timeout is set to 0, an implementation-specific timeout will be
233 * Not all engines support all timeout values. Setting the timeout to a value
238 libscsi_action_set_timeout(libscsi_action_t *ap, uint32_t timeout) argument
242 aip->lsai_timeout = timeout;
246 * Obtain the timeout setting for this action.
/illumos-gate/usr/src/lib/fm/libseslog/common/
H A Dlibseslog.h96 * 60 seconds for SCSI timeout
129 uint8_t timeout[2]; member in struct:log_clear_control_struct
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dchangepw.c176 struct timeval timeout; local
292 /* XXX need a timeout/retry loop here */
295 timeout.tv_sec = 120;
296 timeout.tv_usec = 0;
297 switch (select(s1 + 1, &fdset, 0, 0, &timeout)) {

Completed in 158 milliseconds

1234567891011>>