/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/ |
H A D | emac.c | 537 int timeout; local 546 timeout = 10; 552 while (timeout) { 556 timeout = 10; 559 --timeout; 573 if (timeout == 0)
|
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 | commands.c | 384 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/lib/print/libpapi-lpd/common/ |
H A D | lpd-port.c | 108 sock_connect(int sock, char *host, int timeout) argument 162 (void) alarm(timeout); 662 fprintf(stderr, "usage:\t%s -H host [-t timeout] -s queue control ]\n", 664 fprintf(stderr, "\t%s -H host [-t timeout] -c queue [user|job ...]\n", 666 fprintf(stderr, "\t%s -H host [-t timeout] -q queue [user|job ...]\n", 685 int fd, c, timeout = 0, exit_code = 0; local 739 timeout = atoi(optarg); 765 if ((host == NULL) || (queue == NULL) || (timeout < 0) || 788 if ((fd = sock_connect(fd, host, timeout)) < 0)
|
/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss.c | 314 struct timeval timeout = {30, 0}; local 320 timeout); 724 struct timeval timeout; local 735 timeout.tv_sec = 1; 736 timeout.tv_usec = 0; 738 xdr_void, NULL, timeout);
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | mkservice.c | 23 * eloop [-t timeout] 75 "[t]#[timeout?\atimeout\a is the number of milliseconds to wait " 80 "[+EXIT STATUS?If no timeout is specified, \beloop\b will not return " 82 "[+0?The specified timeout interval occurred.]" 211 static int waitnotify(int fd, long timeout, int rw) argument 242 nready = sfpoll(poll_list,pstream-poll_list,timeout); 463 register long timeout = -1; local 473 timeout = opt_info.num; 489 if(waitnotify(-1, timeout, 0)==0)
|
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/lib/libslp/clib/ |
H A D | SLPReg.c | 592 timestruc_t timeout; local 593 timeout.tv_nsec = 0; 600 timeout.tv_sec = 602 rmsg = slp_dequeue_timed(reg_q, &timeout, &etimed);
|
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_ipc.c | 86 * and interface, with a timeout of 0. 259 * int32_t: timeout (in seconds), or DHCP_IPC_WAIT_FOREVER, 265 dhcp_ipc_recv_reply(int fd, dhcp_ipc_reply_t **reply, int32_t timeout) argument 273 * daemon to respond within the existing timeout, as specified in the 284 if (timeout == DHCP_IPC_WAIT_DEFAULT) 285 timeout = DHCP_IPC_DEFAULT_WAIT; 286 if (timeout != DHCP_IPC_WAIT_FOREVER && timeout < INT_MAX / 1000 - 2) 287 timeout = (timeout 369 dhcp_ipc_make_request(dhcp_ipc_request_t *request, dhcp_ipc_reply_t **reply, int32_t timeout) argument 849 dhcp_ipc_getinfo(dhcp_optnum_t *optnum, DHCP_OPT **result, int32_t timeout) argument [all...] |
/illumos-gate/usr/src/lib/libwrap/ |
H A D | options.c | 420 int timeout; local 424 if (sscanf(value, "%d%c", &timeout, &junk) != 1 || timeout <= 0) 425 tcpd_jump("bad rfc931 timeout: \"%s\"", value); 426 rfc931_timeout = timeout;
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_dg.c | 273 struct timeval timeout; local 289 timeout = utimeout; /* use supplied timeout */ 291 timeout = cu->cu_total; /* use default timeout */ 347 if (timeout.tv_sec == 0 && timeout.tv_usec == 0) { 365 poll_time.tv_sec = timeout.tv_sec - time_waited.tv_sec; 366 poll_time.tv_usec = timeout.tv_usec - time_waited.tv_usec; 375 * this could happen if time_waited >= timeout [all...] |
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | tail.c | 66 "[L:log?When a \b--forever\b file times out via \b--timeout\b, verify that " 72 "[s:silent?Don't warn about timeout expiration and log file changes.]" 73 "[t:timeout?Stop checking after \atimeout\a elapses with no additional " 75 "each file operand. There is no timeout by default. The default " 79 "interpreted as seconds. The supported suffixes are:]:[timeout]{" 417 unsigned long timeout = 0; local 516 timeout = strelapsed(opt_info.arg, &s, 1); 601 timeout = 0; 602 error(ERROR_warn(0), "--timeout ignored for --noforever"); 623 fp->expire = timeout [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | result.c | 51 struct timeval *timeout, LDAPMessage **result ); 59 static int cldap_select1( LDAP *ld, struct timeval *timeout ); 79 * ldap_result( s, msgid, all, timeout, result ) 87 struct timeval *timeout, 101 rc = nsldapi_result_nolock(ld, msgid, all, 1, timeout, result); 111 struct timeval *timeout, LDAPMessage **result ) 122 * wait until it arrives or timeout occurs. 134 rc = wait4msg( ld, msgid, all, unlock_permitted, timeout, 272 struct timeval *timeout, LDAPMessage **result ) 285 if ( timeout 83 ldap_result( LDAP *ld, int msgid, int all, struct timeval *timeout, LDAPMessage **result ) argument 110 nsldapi_result_nolock( LDAP *ld, int msgid, int all, int unlock_permitted, struct timeval *timeout, LDAPMessage **result ) argument 271 wait4msg( LDAP *ld, int msgid, int all, int unlock_permitted, struct timeval *timeout, LDAPMessage **result ) argument 1269 cldap_getmsg( LDAP *ld, struct timeval *timeout, BerElement **ber ) argument [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-io.c | 52 int timeout, struct lextiof_session_private *sessionarg ); 54 int timeout, unsigned long options, 155 /* cap at maximum I/O timeout */ 227 prldap_poll( LDAP_X_PollFD fds[], int nfds, int timeout, argument 275 prldap_timeout2it( timeout, prsessp->prsess_io_max_timeout )); 299 PRNetAddr *addrp, int port, int timeout, unsigned long options ) 353 prldap_timeout2it( timeout, prsockp->prsock_io_max_timeout ))) { 371 * XXXmcs: At present, this code ignores the timeout when doing DNS lookups. 374 prldap_connect( const char *hostlist, int defport, int timeout, argument 421 timeout, option 298 prldap_try_one_address( struct lextiof_socket_private *prsockp, PRNetAddr *addrp, int port, int timeout, unsigned long options ) argument [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypwhich.c | 74 #define TIMEOUT 30 /* Total seconds for timeout */ 88 static struct timeval timeout = { variable in typeref:struct:timeval 581 timeout); 744 timeout);
|
/illumos-gate/usr/src/lib/auditd_plugins/remote/ |
H A D | audit_remote.c | 62 #define DEFAULT_TIMEOUT 5 /* default connection timeout (in secs) */ 71 int timeout; /* connection timeout */ variable 74 /* semi-exponential timeout back off; x .. attempts, y .. timeout */ 646 /* semi-exponential timeout back off */ 647 timeout = BOFF_TIMEOUT(attempts, timeout); 648 DPRINT((dfile, "New timeout=%d\n", timeout)); [all...] |
/illumos-gate/usr/src/cmd/rexd/ |
H A D | mount_nfs.c | 109 struct timeval timeout; local 243 timeout.tv_usec = 0; 244 timeout.tv_sec = 25; 251 xdr_fhstatus, (caddr_t)&fhs, timeout); 285 xdr_mountres3, (char *)&res3, timeout); 417 struct timeval timeout; local 467 timeout.tv_usec = 0; 468 timeout.tv_sec = 25; 471 xdr_void, (char *)NULL, timeout);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftp.c | 82 { "timeout", timeout_str, timeout_handler }, 91 static int timeout; variable 101 timeout += rexmtval; 102 if (timeout >= maxtimeout) { 158 timeout = 0; 284 timeout = 0; 452 * Return the timeout option value string to include in the request packet. 500 * Validate and action the timeout option value string from the OACK packet.
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | inetd_impl.h | 136 int timeout; member in struct:__anon172
|
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/ |
H A D | mdmn_subr.c | 303 time_t timeout = mdmn_get_timeout(msg->msg_type); local 314 * current time + nnodes times the timeout value for the message type 317 time((time_t *)NULL) + (nnodes * timeout);
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | nfs_cast.c | 114 nfs_cast(struct mapfs *mfs_in, struct mapfs **mfs_out, int timeout) argument 323 * The response timeout grows larger per iteration. 327 for (tsec = 4; timeout > 0; tsec *= 2) { 329 timeout -= tsec; 330 if (timeout <= 0) 331 tsec += timeout;
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | hald_runner.c | 484 guint32 timeout, 504 dbus_message_iter_append_basic(&iter, DBUS_TYPE_UINT32, &timeout); 534 guint timeout, 538 "", FALSE, timeout, cb, data1, data2); 481 hald_runner_run_method(HalDevice *device, const gchar *command_line, char **extra_env, gchar *input, gboolean error_on_stderr, guint32 timeout, HalRunTerminatedCB cb, gpointer data1, gpointer data2) argument 532 hald_runner_run(HalDevice *device, const gchar *command_line, char **extra_env, guint timeout, HalRunTerminatedCB cb, gpointer data1, gpointer data2) argument
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_usb.c | 43 const gchar *devinfo_printer_prnio_get_prober(HalDevice *d, int *timeout); 44 const gchar *devinfo_keyboard_get_prober(HalDevice *d, int *timeout); 716 devinfo_printer_prnio_get_prober (HalDevice *d, int *timeout) argument 718 *timeout = 5 * 1000; /* 5 second timeout */ 723 devinfo_keyboard_get_prober(HalDevice *d, int *timeout) argument 725 *timeout = 5 * 1000; /* 5 second timeout */
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | method.c | 672 uint64_t timeout; local 721 &cte_mask, &need_session, &timeout, &timeout_retry)) == NULL) { 936 * to override faulty timeout values on the way to 938 * import are treated the same as INFINITE timeout services. 942 if (timeout != METHOD_TIMEOUT_INFINITE && !is_timeout_ovr(inst)) 943 timeout_insert(inst, ctid, timeout); 945 timeout = METHOD_TIMEOUT_INFINITE; 986 /* return ERANGE if this service doesn't retry on timeout */ 1036 if (timeout != METHOD_TIMEOUT_INFINITE) 1037 timeout [all...] |
/illumos-gate/usr/src/cmd/listen/ |
H A D | nlps_serv.c | 216 * returns: -1 = timeout or other error. 227 extern void timeout(); 233 oldhanp = signal(SIGALRM, timeout); 423 * timeout: SIGALRM signal handler. Invoked if t_rcv timed out. 429 timeout() function
|