/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | alarm.c | 46 void *timeout; member in struct:tevent 55 * insert timeout item on current given list in sorted order 73 tp->timeout = (void*)sh_timeradd(tp->milli,tp->flags&R_FLAG,trap_timeout,(void*)tp); 78 * delete timeout item from current given list, delete timer 92 if(item->timeout) 93 timerdel((void*)item->timeout); 102 if(tp->timeout) 122 tp->timeout = 0; 208 if(tp->timeout)
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | script_handler.c | 65 * 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...] |
H A D | ipc_action.c | 84 if (iareq->ia_request->timeout == DHCP_IPC_WAIT_DEFAULT) 85 iareq->ia_request->timeout = DHCP_IPC_DEFAULT_WAIT; 87 if (iareq->ia_request->timeout == DHCP_IPC_WAIT_FOREVER) { 91 iareq->ia_request->timeout, ipc_action_timeout, dsmp); 187 dhcpmsg(MSG_VERBOSE, "ipc timeout waiting for agent to complete "
|
/illumos-gate/usr/src/uts/common/xen/os/ |
H A D | hypercall.c | 176 * Note: this timeout must be the Xen system time not hrtime (see 180 HYPERVISOR_set_timer_op(uint64_t timeout) argument 184 return (__hypercall1(__HYPERVISOR_set_timer_op, timeout)); 188 uint32_t timeout_hi = (uint32_t)(timeout >> 32); 189 uint32_t timeout_lo = (uint32_t)timeout; 380 * An optional timeout (in nanoseconds, absolute time since boot) may be 381 * specified. Note: this timeout must be the Xen system time not hrtime (see 385 HYPERVISOR_poll(evtchn_port_t *ports, uint_t nr_ports, uint64_t timeout) argument 392 sched_poll.timeout = timeout; [all...] |
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/ |
H A D | sd-card.c | 67 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 D | boot.c | 165 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/lib/libnsl/rpc/ |
H A D | rtime_tli.c | 71 rtime_tli(char *host, struct timeval *timep, struct timeval *timeout) argument 81 nconf = __rpc_getconfip(timeout == NULL ? "tcp" : "udp"); 120 msec = __rpc_timeval_to_msec(timeout);
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | main.c | 99 static int timeout = MI_TIMEOUT; variable 144 ** SMFI_SETTIMEOUT -- set timeout (for read/write). 147 ** otimeout -- new timeout. 157 timeout = otimeout; 242 if (mi_listener(conn, dbg, smfi, timeout, backlog) != MI_SUCCESS)
|
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | snmp.c | 105 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/tip/aculib/ |
H A D | v3451.c | 133 int timeout = 30, online = 0; local 146 timeout = number(value(DIALTIMEOUT)); 150 (void) alarm(timeout);
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_net.c | 98 * of data. If data not received in timeout 172 static size_t iscsi_net_poll(void *socket, clock_t timeout); 175 struct msghdr *msg, int timeout); 180 char *data, int max_data_length, int timeout, int flags); 182 int header_length, int timeout, int flags); 403 iscsi_net_poll(void *socket, clock_t timeout) argument 414 /* timeout is millisecond */ 415 tl.tv_sec = timeout / 1000; 416 tl.tv_usec = (timeout % 1000) * 1000; 423 /* timeout i 456 iscsi_net_recvmsg(void *socket, struct msghdr *msg, int timeout) argument 606 iscsi_net_recvhdr(void *socket, iscsi_hdr_t *ihp, int header_length, int timeout, int flags) argument 735 iscsi_net_recvdata(void *socket, iscsi_hdr_t *ihp, char *data, int max_data_length, int timeout, int flags) argument [all...] |
/illumos-gate/usr/src/lib/librsc/sparc/mpxu/common/ |
H A D | librsc.h | 76 uint_t timeout; member in struct:req_resp_table 81 /* timeout value (millisecs) for request/response sessions */
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_da_cache.c | 244 timestruc_t timeout; local 245 timeout.tv_nsec = 0; 253 timeout.tv_sec = IDLE_TIMEOUT; 255 &cache_called_lock, &timeout);
|
H A D | slp_ipc.c | 295 timestruc_t timeout; local 297 timeout.tv_nsec = 0; 304 timeout.tv_sec = IPC_FD_LIFETIME; 306 &timeout);
|
/illumos-gate/usr/src/lib/libpcp/common/ |
H A D | libpcp.h | 91 uint32_t timeout);
|
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/ |
H A D | smq.h | 73 /* received or until 'timeout' has expired. It returns 0 on success */ 74 /* and SMQ_TIMEOUT if timeout has expired. */ 107 int smq_xreceive(smq_t *smq, timestruc_t *timeout, smq_msg_t *msg);
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_acpi.h | 37 const gchar *devinfo_acpi_get_prober(HalDevice *d, int *timeout);
|
H A D | osspec.c | 207 timespec_t timeout; local 216 timeout.tv_sec = timeout.tv_nsec = 0; 217 (void) port_get(mnttab_port, &pe, &timeout);
|
/illumos-gate/usr/src/uts/sun4u/lw8/sys/ |
H A D | lw8_impl.h | 117 int timeout; /* in seconds */ member in struct:__anon9825 139 #define LW8_WDT_PROP_TO 2 /* timeout duration */
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSPosix.h | 67 // The timeout pointer MUST NOT be NULL. 68 // Set timeout->tv_sec to 0x3FFFFFFF if you want to have effectively no timeout 69 // After calling mDNSPosixGetFDSet(), call select(nfds, &readfds, NULL, NULL, &timeout); as usual 71 extern void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout);
|
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootspi/ |
H A D | env_vars.c | 52 ReadCharFromEnvironment(int timeout) argument
|
/illumos-gate/usr/src/boot/sys/boot/usb/storage/ |
H A D | umass_loader.c | 214 pause(const char *what, int timeout) argument 216 if (timeout == 0) 217 timeout = 1; 219 delay((1000000 / hz) * timeout);
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | zloop.bash | 41 echo -e "\n$0 [-t <timeout>] [-c <dump directory>]" \ 111 # expected format: zloop [-t timeout] [-c coredir] [-- extra ztest args] 114 timeout=0 117 t ) [[ $OPTARG -gt 0 ]] && timeout=$OPTARG ;; 154 # if no timeout was specified, loop forever. 155 while [[ $timeout -eq 0 ]] || [[ $curtime -le $(($starttime + $timeout)) ]]; do
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | epoll.c | 202 int maxevents, int timeout) 212 arg.dp_timeout = timeout; 220 int maxevents, int timeout, const sigset_t *sigmask) 230 arg.dp_timeout = timeout; 201 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) argument 219 epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask) argument
|
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | clnt_udp.c | 242 struct timeval timeout; local 245 timeout = utimeout; /* use supplied timeout */ 247 timeout = cu->cu_total; /* use default timeout */ 279 if (timeout.tv_sec == 0 && timeout.tv_usec == 0) { 316 if ((time_waited.tv_sec < timeout.tv_sec) || 317 ((time_waited.tv_sec == timeout.tv_sec) && 318 (time_waited.tv_usec < timeout [all...] |