Searched defs:wait (Results 76 - 100 of 116) sorted by relevance

12345

/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_addr.c1887 * should wait before returning while the dhcp address is being acquired
1895 ipadm_set_wait_time(ipadm_addrobj_t ipaddr, int32_t wait) argument
1899 ipaddr->ipadm_wait = wait;
2053 int32_t wait; local
2077 err = nvpair_value_int32(nvp, &wait);
2090 ipaddr.ipadm_wait = wait;
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Deepro100.c189 /* How to wait for the command unit to accept a command.
193 int wait = 0; local
198 while(++wait <= 100);
202 while(++wait <= 10000);
204 delayed_cmd, wait);
550 /* wait for the reset to take effect */
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/
H A Dipadm.c167 {"wait", required_argument, 0, 'w' },
1260 char *wait = NULL; local
1289 wait = optarg;
1329 if (wait != NULL) {
1332 if (strcmp(wait, "forever") == 0) {
1336 long timeout = strtol(wait, &end, 10);
1344 die("Error in setting wait time: %s",
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c161 static int waittime = 5; /* time to wait for response (in seconds) */
463 waittime = str2int(optarg, "wait time", 2, -1);
1912 struct timeval now, wait; local
1919 wait.tv_sec = tp->tv_sec + waittime;
1920 wait.tv_usec = tp->tv_usec;
1922 tv_sub(&wait, &now);
1924 if (wait.tv_sec < 0 || wait.tv_usec < 0)
1927 result = select(sock + 1, &fds, (fd_set *)NULL, (fd_set *)NULL, &wait);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_subr.c1222 struct timeval wait; local
1324 TICK_TO_TIMEVAL(timeo, &wait);
1345 xdrres, resp, wait);
2564 * If the cache entry is in the process of being filled in, wait
H A Dnfs_subr.c943 struct timeval wait; local
1106 TICK_TO_TIMEVAL(timeo, &wait);
1127 xdrres, resp, wait);
1495 struct timeval wait; local
1659 TICK_TO_TIMEVAL(timeo, &wait);
1680 xdrres, resp, wait);
2185 * Before freeing anything, wait until all asynchronous
4752 * then wait for them to finish up and move on. Then,
4784 * active, then wait for all of the readers
/illumos-gate/usr/src/uts/common/io/audio/ac97/
H A Dac97.c1102 int wait = 1000; /* delay for up to 1s */ local
1115 while (wait--) {
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls_mgmt.c902 dls_devnet_unset(const char *macname, datalink_id_t *id, boolean_t wait) argument
925 if ((ddp->dd_ref != 1) || (!wait &&
953 if (wait) {
1029 * delete the dls_devnet_t will wait until the temporary reference is released.
1670 dls_devnet_destroy(mac_handle_t mh, datalink_id_t *idp, boolean_t wait) argument
1676 err = dls_devnet_unset(mac_name(mh), idp, wait);
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdf.c1973 xdf_connect_locked(xdf_t *vdp, boolean_t wait) argument
2010 if (!wait || (vdp->xdf_state == XD_READY))
2184 * Before try to establish a connection we need to wait for the
2210 /* wait for an update to "<oename>/hotplug-status" */
2495 * disconnect from the backend, wait for the backend to clear
H A Dxnf.c434 * number if `wait' is B_TRUE. Force the ring to be cleaned by setting
440 tx_slots_get(xnf_t *xnfp, int wanted, boolean_t wait) argument
465 if (!wait)
1142 * We can't wait around here because the MAC layer expects
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_attach.c1282 * Second, wait for any other references to this iport to be
1392 * the task queue, which will wait if we're
1664 * with preemption disabled. Therefore, the function must not block/wait/sleep.
3004 * If "wait" is true, the caller will wait until it can acquire the scratch.
3009 pmcs_acquire_scratch(pmcs_hw_t *pwp, boolean_t wait) argument
3013 if (!wait) {
3018 * Caller will wait for scratch.
/illumos-gate/usr/src/uts/common/ipp/
H A Dippconf.c2507 uint32_t wait; local
2535 for (wait = 0; ap->ippa_packets > 0 && wait < (MAXWAIT * 1000000);
2536 wait += 1000) {
/illumos-gate/usr/src/uts/common/io/mii/
H A Dmii.c1096 * bit of a wait before we start accessing anything else on
2045 clock_t wait; local
2085 * If no PHY is found, wait a bit before
2089 wait = 10 * MII_SECOND;
2091 wait = 0;
2098 wait = 0;
2101 * If an error occurred, wait a bit and
2104 wait = 10 * MII_SECOND;
2112 * state. In all cases we want to wait 1 second
2124 wait
[all...]
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Dnb5000_init.c199 int wait; local
204 wait = 1000;
209 if (--wait == 0)
215 wait = 1000;
220 if (--wait == 0) {
230 if (--wait == 0)
/illumos-gate/usr/src/cmd/lp/include/
H A Dmsgs.h318 int wait; /* number of systems waiting for */ member in struct:__anon805
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcmod.c314 kcondvar_t wait; member in struct:temp_slot
450 cv_signal(&t->wait);
500 cv_init(&t->wait, NULL, CV_DEFAULT, NULL);
512 if (cv_wait_sig(&t->wait, &t->lock) == 0) {
538 cv_destroy(&t->wait);
1245 * release has been sent, set the timeout to wait for the
1685 * to wait forever for that possibility. If the
H A Dclnt_clts.c455 * the arguments, and send it off. We wait for a reply or a time out.
464 struct timeval wait, struct netbuf *sin)
487 RPCLOG(2, "clnt_clts_kcallit_addr: wait.tv_sec: %ld\n", wait.tv_sec);
488 RPCLOG(2, "clnt_clts_kcallit_addr: wait.tv_usec: %ld\n", wait.tv_usec);
490 timout = TIMEVAL_TO_TICK(&wait);
669 * we will wait for the next message. When the next message
966 * Errors due to lack of resources, wait a bit
1008 struct timeval wait)
462 clnt_clts_kcallit_addr(CLIENT *h, rpcproc_t procnum, xdrproc_t xdr_args, caddr_t argsp, xdrproc_t xdr_results, caddr_t resultsp, struct timeval wait, struct netbuf *sin) argument
1006 clnt_clts_kcallit(CLIENT *h, rpcproc_t procnum, xdrproc_t xdr_args, caddr_t argsp, xdrproc_t xdr_results, caddr_t resultsp, struct timeval wait) argument
[all...]
H A Dclnt_cots.c66 * request, not just wait for the original request's reply to
124 * Why don't we just wait forever (receive an infinite # of times)?
146 * Code that issues TPI request must use waitforack() to wait for the
478 #define CLNT_MIN_TIMEOUT 10 /* seconds to wait after we get a */
480 #define CLNT_MIN_CONNTIMEOUT 5 /* seconds to wait for a connection */
777 caddr_t argsp, xdrproc_t xdr_results, caddr_t resultsp, struct timeval wait)
804 RPCLOG(2, "clnt_cots_kcallit: wait.tv_sec: %ld\n", wait.tv_sec);
805 RPCLOG(2, "clnt_cots_kcallit: wait.tv_usec: %ld\n", wait
776 clnt_cots_kcallit(CLIENT *h, rpcproc_t procnum, xdrproc_t xdr_args, caddr_t argsp, xdrproc_t xdr_results, caddr_t resultsp, struct timeval wait) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba_ugen.c2259 boolean_t wait = B_FALSE; local
2322 rval = ugen_epx_ctrl_req(ugenp, epp, bp, &wait);
2326 rval = ugen_epx_bulk_req(ugenp, epp, bp, &wait);
2331 rval = ugen_epx_intr_IN_req(ugenp, epp, bp, &wait);
2333 rval = ugen_epx_intr_OUT_req(ugenp, epp, bp, &wait);
2339 rval = ugen_epx_isoc_IN_req(ugenp, epp, bp, &wait);
2341 rval = ugen_epx_isoc_OUT_req(ugenp, epp, bp, &wait);
2351 if ((rval == USB_SUCCESS) && wait) {
2409 struct buf *bp, boolean_t *wait)
2532 *wait
2408 ugen_epx_ctrl_req(ugen_state_t *ugenp, ugen_ep_t *epp, struct buf *bp, boolean_t *wait) argument
2606 ugen_epx_bulk_req(ugen_state_t *ugenp, ugen_ep_t *epp, struct buf *bp, boolean_t *wait) argument
2724 ugen_epx_intr_IN_req(ugen_state_t *ugenp, ugen_ep_t *epp, struct buf *bp, boolean_t *wait) argument
3017 boolean_t wait; local
3036 ugen_epx_intr_OUT_req(ugen_state_t *ugenp, ugen_ep_t *epp, struct buf *bp, boolean_t *wait) argument
3139 ugen_epx_isoc_IN_req(ugen_state_t *ugenp, ugen_ep_t *epp, struct buf *bp, boolean_t *wait) argument
3557 boolean_t wait; local
3577 ugen_epx_isoc_OUT_req(ugen_state_t *ugenp, ugen_ep_t *epp, struct buf *bp, boolean_t *wait) argument
[all...]
H A Dhubdi.c474 * Amount of time to wait between resetting the port and accessing
979 * wait and check port status after some time
2568 * wait at least 3 frames before accessing devices
3034 /* wait at least 3 frames before accessing devices */
3408 * and wait for the hotplug thread to exit
3474 /* for all others, wait for the autoclearing PIPE_RESET cb */
3578 /* remove the reset wait bits from the status */
4110 * reset port and wait for the hub to report
4117 * wait for atleast 100ms to allow completion of an insertion
4119 * We wait fo
5215 int wait; local
8179 int wait; local
[all...]
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_impl.c548 caddr_t argsp, xdrproc_t xdr_result, caddr_t resultp, struct timeval wait)
559 * we don't need to wait anything.
565 wait = nlm_rpctv_zero;
581 argsp, xdr_result, resultp, wait);
818 * retry an attempt, but wait for NLM_NSM_RPCBIND_TIMEOUT
1338 * to wait until reclamation process (if any) does
1960 * Remove this lock from the wait list and destroy it.
1978 * If a signal interrupted the wait or if the lock
2444 * Ask NLM GC thread to exit and wait until it dies.
547 nlm_clnt_call(CLIENT *clnt, rpcproc_t procnum, xdrproc_t xdr_args, caddr_t argsp, xdrproc_t xdr_result, caddr_t resultp, struct timeval wait) argument
/illumos-gate/usr/src/man/man3head/
H A DMakefile106 wait.h.3head \
195 wait.3head \
284 wait.3head := LINKSRC = wait.h.3head
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_as.c72 clock_t deadlk_wait = 1; /* number of ticks to wait before retrying */
980 * It means that we should retry the fault. Let's wait
1048 * It means that we should retry the fault. Let's wait
1158 * wait for a signal that the I/O operation
1354 * wait for a signal that the I/O operation
2489 * it means that we should retry the operation. Let's wait
2851 boolean_t wait)
2912 if (wait && (error == EAGAIN)) {
2919 * wait for a signal that the I/O operation
2850 as_setpagesize(struct as *as, caddr_t addr, size_t size, uint_t szc, boolean_t wait) argument
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclfrutree.c87 static int frutree_drwait_time = 10; /* wait time for dr operation */
3203 /* wait for sometime for location to get connected */
4671 char *val2, picl_nodehdl_t nodeh, frutree_wait_t wait)
4775 if (wait) { /* wait for the event to be handled */
4670 post_piclevent(const char *event, char *val1, char *val2, picl_nodehdl_t nodeh, frutree_wait_t wait) argument
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio.c433 zio_wait_for_children(zio_t *zio, enum zio_child child, enum zio_wait_type wait) argument
435 uint64_t *countp = &zio->io_children[child][wait];
452 zio_notify_parent(zio_t *pio, zio_t *zio, enum zio_wait_type wait) argument
454 uint64_t *countp = &pio->io_children[zio->io_child_type][wait];
1212 * wait for them and then repeat this pipeline stage.
1554 * or may wait for an I/O that needs an interrupt thread
1617 * This is a logical async I/O with no parent to wait for it.
1682 * responsibility of the caller to wait on him.
2192 * Set pio's pipeline to just wait for zio to finish.
3373 * all parents must wait fo
[all...]

Completed in 260 milliseconds

12345