/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_order.c | 107 struct timeval timeout, unsigned long *order) 125 timeout) != RPC_SUCCESS) 106 doorder(char *domain, char *map, struct dom_binding *pdomb, struct timeval timeout, unsigned long *order) argument
|
H A D | yp_enum.c | 134 dofirst(domain, map, pdomb, timeout, key, keylen, val, vallen) 138 struct timeval timeout; 164 (char *)&resp, timeout)) { 303 donext(domain, map, inkey, inkeylen, pdomb, timeout, outkey, outkeylen, 310 struct timeval timeout; 337 timeout)) {
|
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_ioctl.h | 106 uint16_t timeout; /* timeout for command */ member in struct:cpqary3_bmic_pass 118 uint16_t timeout; /* timeout for command */ member in struct:cpqary3_scsi_pass
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_cno_wait.c | 55 * timeout 70 IN DAT_TIMEOUT timeout, /* agent */ 141 dat_status = dapls_ib_cno_wait(cno_ptr, timeout, &evd_ptr); 174 * the loop is a timeout. 68 dapl_cno_wait( IN DAT_CNO_HANDLE cno_handle, IN DAT_TIMEOUT timeout, OUT DAT_EVD_HANDLE *evd_handle) argument
|
H A D | dapl_name_service.c | 222 * timeout timeout in microseconds 236 IN DAT_TIMEOUT timeout, 289 * timeout timeout in microseconds 307 IN DAT_TIMEOUT timeout, 313 IN DAT_TIMEOUT timeout, 323 DAT_TIMEOUT timeout); 329 IN DAT_TIMEOUT timeout, 338 (struct sockaddr_in *)sock, timeout, gi 233 dapls_ns_lookup_address( IN DAPL_IA *ia_ptr, IN DAT_IA_ADDRESS_PTR remote_ia_address, IN DAT_TIMEOUT timeout, OUT ib_gid_t *gid) argument 326 dapls_ns_lookup_address( IN DAPL_IA *ia_ptr, IN DAT_IA_ADDRESS_PTR remote_ia_address, IN DAT_TIMEOUT timeout, OUT ib_gid_t *gid) argument 350 dapls_ns_lookup_v4( IN DAPL_IA *ia_ptr, IN struct sockaddr_in *addr, IN DAT_TIMEOUT timeout, OUT ib_gid_t *gid) argument 443 dapls_ns_lookup_v6( IN DAPL_IA *ia_ptr, IN struct sockaddr_in6 *addr, IN DAT_TIMEOUT timeout, OUT ib_gid_t *gid) argument 634 dapls_ns_resolve_addr(int af, struct sockaddr *addr, DAT_TIMEOUT timeout) argument [all...] |
/illumos-gate/usr/src/cmd/vntsd/ |
H A D | svc-vntsd | 124 timeout=`$SVCPROP -p vntsd/timeout_minutes $SMF_FMRI 2>/dev/null` 125 if [ -n "$timeout" ]; then 126 args="$args -t $timeout"
|
H A D | vntsd.c | 38 * -t timeout for inactivity 0 = indefinite 112 if (vntsdp->timeout == 0) { 128 if (vntsdp->timeout == 0) { 139 /* check threadd's timeout */ 145 if (tmop->minutes == vntsdp->timeout) { 169 if (vntsdp->timeout == 0) { 180 * When alarm goes off, wake up timeout threads. Alarm is set off every 189 if (vntsdp->timeout == 0) { 200 /* get signal because thread is timeout */ 207 /* wake up timeout thread [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | main.c | 84 int timeout; local 231 timeout = 0; 233 timeout = TIME_TO_MSECS(waittime); 238 timeout); 242 timeout = INFTIM; 245 if ((n = poll(poll_ifs, poll_ifs_num, timeout)) < 0) {
|
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/ |
H A D | umount.c | 241 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/lib/libshell/common/bltins/ |
H A D | read.c | 22 * read [-ACprs] [-d delim] [-u filenum] [-t timeout] [-n n] [-N n] [name...] 57 long timeout; member in struct:read_save 66 long timeout = 1000*shp->st.tmout; local 80 timeout = rp->timeout; 97 timeout = sec ? 1000*sec : 1; 158 rp->timeout = timeout; 170 shp->timeout = 0; 173 r=sh_readline(shp,argv,fd,flags,timeout); 204 sh_readline(register Shell_t *shp,char **names, int fd, int flags,long timeout) argument [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_i210.c | 94 s32 i = 0, timeout = 200; /* FIXME: find real value to use here */ local 98 while (i < timeout) { 117 if (i == timeout) { 118 DEBUGOUT("Driver can't access resource, SW_FW_SYNC timeout.\n"); 165 s32 timeout = hw->nvm.word_size + 1; local 171 while (i < timeout) { 180 if (i == timeout) { 187 for (i = 0; i < timeout; i++) { 197 if (i == timeout) { 204 for (i = 0; i < timeout; 897 s32 timeout = PHY_CFG_TIMEOUT; local [all...] |
H A D | e1000_vf.c | 261 u32 timeout = E1000_VF_INIT_TIMEOUT; local 273 while (!mbx->ops.check_for_rst(hw, 0) && timeout) { 274 timeout--; 278 if (timeout) { 279 /* mailbox timeout can now become active */ 280 mbx->timeout = E1000_VF_MBX_INIT_TIMEOUT; 546 /* If we were hit with a reset or timeout drop the link */ 547 if (!mbx->ops.check_for_rst(hw, 0) || !mbx->timeout) 571 * we are still accepting timeout or if we had a timeout failur [all...] |
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_send.c | 150 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/test/test-runner/cmd/ |
H A D | run | 144 def __init__(self, pathname, outputdir=None, timeout=None, user=None): 147 self.timeout = timeout 152 if self.timeout is None: 153 self.timeout = 60 157 (self.pathname, self.outputdir, self.timeout, self.user) 161 Kill a running command due to timeout, or ^C from the keyboard. If 234 # Allow a special timeout value of 0 to mean infinity 235 if int(self.timeout) == 0: 236 self.timeout [all...] |
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_net.c | 215 int timeout; local 237 /* timeout loop */ 240 for (timeout = slp_get_next_onlist(&state); 241 timeout != -1 && 243 timeout = slp_get_next_onlist(&state)) { 254 0, &timeout, sent, &now, pfd, 1); 257 /* timeout */ 299 if (timeout != -1) 339 int maxwait, timeout, noresults, anyresults; local 358 /* set the final timeout */ 1006 mc_recvmsg(struct pollfd *pfd, nfds_t nfds, slp_handle_impl_t *hp, const char *scopes, char *header, void **collator, unsigned long long final_to, unsigned long long sent, unsigned long long *now, int *noresults, int *anyresults, int timeout) argument 1156 wait_for_response( unsigned long long final_to, int *timeout, unsigned long long sent, unsigned long long *now, struct pollfd pfd[], nfds_t nfds) argument [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_mbx.c | 113 /* Set timeout after command that is running. */ 114 timer = (mcp->timeout + 20) * drv_usectohz(1000000); 119 * The timeout time 'timer' was 169 timer = mcp->timeout * drv_usectohz(1000000); 176 * The timeout time 'timer' was 196 for (timer = mcp->timeout * 100; timer; timer--) { 223 /* Mailbox command timeout? */ 232 EL(vha, "command timeout, isp_abort_needed\n"); 466 mcp->timeout = MAILBOX_TOV; 511 mcp->timeout 3561 ql_get_fw_version(ql_adapter_state_t *ha, ql_mbx_data_t *mr, uint16_t timeout) argument [all...] |
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | ethernet.c | 89 * The timeout argument is the number of milliseconds to wait for a 90 * response. An infinite timeout can be specified as 0xffffffff. 93 ether_comarp(struct arp_packet *out, uint32_t timeout) argument 118 wait_time = prom_gettime() + timeout; 119 for (count = 0; timeout == ~0U || prom_gettime() < wait_time; count++) { 210 ether_arp(struct in_addr *ip, void *hap, uint32_t timeout) argument 228 result = ether_comarp(&out, timeout); 278 * inetgrams as long as there's data and the mac level IP timeout timer 298 uint32_t timeout, reltime; local 317 timeout [all...] |
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacctddi.c | 188 uint32_t timeout = FLOWACCT_DEF_TIMEOUT; local 224 /* parse flow timeout - in millisec, if present */ 225 (void) nvlist_lookup_uint32(nvlp, FLOWACCT_TIMEOUT, &timeout); 228 flowacct_data->timeout = (uint64_t)timeout * FLOWACCT_MSEC_TO_NSEC; 290 uint32_t timeout, timer, bstats, max_limit; local 348 /* parse timeout, if present */ 349 if ((rc = nvlist_lookup_uint32(nvlp, FLOWACCT_TIMEOUT, &timeout)) 351 flowacct_data->timeout = (uint64_t)timeout * [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yppoll.c | 61 #define TIMEOUT 30 /* Total seconds for timeout */ 257 struct timeval timeout; local 268 timeout.tv_sec = TIMEOUT; 269 timeout.tv_usec = 0; 276 (caddr_t)&mresp, timeout) == RPC_SUCCESS) { 280 (xdrproc_t)xdr_ypresp_order, (char *)&oresp, timeout);
|
/illumos-gate/usr/src/uts/common/io/tpm/ |
H A D | tpm.c | 71 * time errors such as GetCapability command from TPM reporting the timeout 379 * TPM commands to get the TPM's properties, e.g.,timeout 406 uint32_t timeout; /* in milliseconds */ local 409 /* The buffer size (30) needs room for 4 timeout values (uint32_t) */ 432 * Make sure that there are 4 timeout values returned 446 /* Get the four timeout's: a,b,c,d (they are 4 bytes long each) */ 447 timeout = load32(buf, TPM_CAP_TIMEOUT_A_OFFSET); 448 if (timeout == 0) { 449 timeout = DEFAULT_TIMEOUT_A; 450 } else if (timeout < TEN_MILLISECOND 1135 clock_t timeout; local 1177 tpm_wait_for_stat(tpm_state_t *tpm, uint8_t mask, clock_t timeout) argument 1977 clock_t timeout; local [all...] |
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-misc.c | 126 lpd_open(service_t *svc, char type, char **args, int timeout) argument 145 /* timeout */ 146 if (timeout > 0) { 147 snprintf(buf, sizeof (buf), "%d", timeout);
|
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_util.c | 119 dhcp_start_agent(int timeout) argument 176 while ((timeout != -1) && (time(NULL) - start_time < timeout)) {
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | ttyadm.c | 59 * -t timeout 79 char *timeout = ""; local 163 timeout = optarg; 209 timeout, ptr->p_ttylabel, ptr->p_modules, 232 (void)fprintf(stderr, "\t-t timeout\n");
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | tcp_misc.c | 69 tcp_open(char *dest, np_tcpjob_t *tcpjob, int timeout) argument 116 (void) alarm(timeout); 157 tcpjob->gen_data->filesize, tcpjob->gen_data->timeout)) < 0) {
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | ofw_net.c | 128 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));
|