Searched defs:wait (Results 26 - 50 of 116) sorted by relevance

12345

/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dclnt_btcp.c106 * wait is the amount of time used between retransmitting a call if
118 struct timeval wait,
226 ct->ct_total.tv_sec = wait.tv_sec;
305 * We have to be able to wait for some non-zero period of time, so
114 clntbtcp_create( struct sockaddr_in *raddr, rpcprog_t program, rpcvers_t version, struct timeval wait, int *sockp, uint_t sendsz, uint_t recvsz) argument
H A Dmount.c164 resp_wait = 0; /* use default wait time. */
348 resp_wait = 0; /* use default wait time. */
389 struct timeval wait; local
395 wait.tv_sec = RPC_RCVWAIT_MSEC / 1000;
396 wait.tv_usec = 0;
411 NFS_V4, wait, &fd,
426 xdr_void, NULL, wait);
563 struct timeval wait; local
658 wait.tv_sec = RPC_RCVWAIT_MSEC / 1000;
659 wait
[all...]
H A Dpmap.c341 int wait, /* how long (secs) to wait for a resp */
366 xdr_rmtcallres, (caddr_t)&pmap_r, rexmit, wait, to, from,
396 xdr_rpcb_rmtcallres, (caddr_t)&rpcb_r, rexmit, wait, to, from,
332 bpmap_rmtcall( rpcprog_t prog, rpcvers_t vers, rpcproc_t proc, xdrproc_t in_xdr, caddr_t args, xdrproc_t out_xdr, caddr_t ret, int rexmit, int wait, struct sockaddr_in *to, struct sockaddr_in *from, uint_t auth) argument
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Despi.c341 u32 t1_espi_get_mon(adapter_t *adapter, u32 addr, u8 wait) argument
348 if (!wait) {
373 t1_espi_get_mon_t204(adapter_t *adapter, u32 *valp, u8 wait) argument
378 if (!wait) {
H A Dmv88e1xxx.c74 static int mv88e1xxx_reset(struct cphy *cphy, int wait) argument
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_buf.c803 rds_is_recvq_empty(rds_ep_t *ep, boolean_t wait) argument
813 if (wait) {
814 /* wait until the RQ is empty */
816 /* wait one second and try again */
846 rds_is_sendq_empty(rds_ep_t *ep, uint_t wait) argument
857 if (wait) {
860 /* wait one second and try again */
865 /* wait one second and try again */
872 if ((wait == 2) && (ep->ep_type == RDS_EP_TYPE_DATA)) {
913 if (wait) {
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Diwscons.c100 * the caller to wait till the wl_ref_cnt field is zero.
133 * optionally, wait for them to complete.
136 srinterrupt(iwscn_list_t *lp, boolean_t wait) argument
143 if (!wait)
208 * operations. If closing, wait for them to complete, then free the entry.
231 * If we're closing, wait until they complete.
581 * current operations, wait for them to finish, then free the entry.
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_soft_ring.c149 mac_soft_ring_create(int id, clock_t wait, uint16_t type, argument
182 ringp->s_ring_wait = MSEC_TO_TICK(wait);
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_io.c153 promif_do_read(char *buf, size_t len, boolean_t wait) argument
176 if (!wait)
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_ecc.c205 ecc_disable(ecc_t *ecc_p, int wait) argument
214 cb_disable_nintr(cb_p, CBNINTR_UE, wait);
215 cb_disable_nintr(cb_p, CBNINTR_CE, wait);
H A Dpci_ib.c174 * If called under interrupt context, wait should be set to 0
177 ib_intr_disable(ib_t *ib_p, ib_ino_t ino, int wait) argument
189 if (!wait)
193 /* busy wait if there is interrupt being processed */
308 /* busy wait if there is interrupt being processed */
398 * process call. We wait until an ib_intr_dist_all call of
671 /* do NOT modify the link list until after the busy wait */
674 * busy wait if there is interrupt being processed.
742 /* do NOT modify the link list until after the busy wait */
745 * busy wait i
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_ecc.c186 pcmu_ecc_disable(pcmu_ecc_t *pecc_p, int wait) argument
194 pcmu_cb_disable_nintr(pcb_p, CBNINTR_UE, wait);
H A Dpcmu_ib.c146 * If called under interrupt context, wait should be set to 0
149 pcmu_ib_intr_disable(pcmu_ib_t *pib_p, pcmu_ib_ino_t ino, int wait) argument
163 if (!wait)
169 /* busy wait if there is interrupt being processed */
252 /* busy wait if there is interrupt being processed */
339 * process call. We wait until an pcmu_ib_intr_dist_all call of
512 /* do NOT modify the link list until after the busy wait */
515 * busy wait if there is interrupt being processed.
600 /* do NOT modify the link list until after the busy wait */
603 * busy wait i
[all...]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_promif.c55 kmdb_prom_getchar(int wait) argument
65 if (!wait)
75 if (!wait && ischar != NULL && !kmdb_dpi_call(ischar, 1, &arg))
99 kmdb_prom_reader(caddr_t buf, size_t len, int wait) argument
105 if ((c = kmdb_prom_getchar(wait)) == -1)
110 wait = 0;
227 kmdb_prom_fill_readbuf(int check_for_int, int wait) argument
248 kmdb_prom_readbuf_head, left, wait)) <= 0)
265 kmdb_prom_readbuf_head, left, wait)) <= 0)
304 int wait local
[all...]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7clogd.c78 kcondvar_t wait; member in struct:logd_s
375 kcondvar_t *wait = &logdp->wait; local
385 cv_wait(wait, lock);
560 cv_init(&logd.wait, NULL, CV_DEFAULT, NULL);
632 cv_signal(&logd.wait);
748 cv_signal(&logd.wait);
/illumos-gate/usr/src/uts/common/inet/
H A Dsqueue.c247 squeue_create(clock_t wait, pri_t pri) argument
254 sqp->sq_wait = MSEC_TO_TICK(wait);
357 clock_t wait = sqp->sq_wait; local
372 tid = timeout(squeue_fire, sqp, wait);
1058 * If the squeue is quiesced, then wait for a control
1215 * Request the squeue poll thread to restart and wait till
1246 /* Signal the squeue poll thread and wait for it to quiesce itself */
1295 * to complete and also wait for it to actually see and reset the
1321 * we need to break out of the wait.
1400 * pause and wait unti
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_ch.c218 * A non-zero value for wait causes thread to block until all references
222 srpt_ch_release_ref(srpt_channel_t *ch, uint_t wait) argument
226 SRPT_DPRINTF_L4("ch_release_ref, ch (%p), refcnt (%d), wait (%d)",
227 (void *)ch, ch->ch_refcnt, wait);
234 if (wait) {
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet_mii.c292 mii_reset_phy(mii_handle_t mac, int phy, enum mii_wait_type wait) argument
311 if (wait == mii_wait_interrupt || wait == mii_wait_user) {
322 if (wait == mii_wait_user) {
584 mii_rsan(mii_handle_t mac, int phy, enum mii_wait_type wait) argument
590 if (wait == mii_wait_interrupt ||
605 * PHY. It is pointless doing a busy wait here
608 if (wait == mii_wait_user) {
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dcomconsole.c237 int wait; local
240 for (wait = COMC_TXWAIT; wait > 0; wait--)
H A Dvidconsole.c709 int wait; local
720 /* wait until the controller can accept a command */
721 for (wait = PROBE_MAXWAIT; wait > 0; --wait) {
731 if (wait <= 0)
737 /* wait for a response */
738 for (wait = PROBE_MAXWAIT; wait > 0; --wait) {
[all...]
/illumos-gate/usr/src/lib/fm/libldom/sparc/
H A Dldom.c78 static ssize_t (*ldom_pri_fp_get)(uint8_t wait, uint64_t *token, uint64_t **buf,
80 (ssize_t (*)(uint8_t wait, uint64_t *token, uint64_t **buf,
97 ldom_pri_fp_get = (ssize_t (*)(uint8_t wait, uint64_t *token,
110 ldom_pri_fp_get = (ssize_t (*)(uint8_t wait, uint64_t *token,
156 ldom_pri_get(uint8_t wait, uint64_t *token, uint64_t **buf, argument
168 return ((*ldom_pri_fp_get)(wait, token, buf, allocp, freep));
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_soc.c158 struct timeval wait, int *sockp, uint_t sendsz, uint_t recvsz)
165 (void) CLNT_CONTROL(cl, CLSET_RETRY_TIMEOUT, (char *)&wait);
171 struct timeval wait, int *sockp)
173 return (clntudp_bufcreate(raddr, program, version, wait, sockp,
157 clntudp_bufcreate(struct sockaddr_in *raddr, rpcprog_t prog, rpcvers_t vers, struct timeval wait, int *sockp, uint_t sendsz, uint_t recvsz) argument
170 clntudp_create(struct sockaddr_in *raddr, rpcprog_t program, rpcvers_t version, struct timeval wait, int *sockp) argument
/illumos-gate/usr/src/lib/libc/port/aio/
H A Dposix_aio.c49 cond_t _aio_waitn_cv = DEFAULTCV; /* wait for end of aio_waitn */
347 timespec_t *wait = NULL; local
385 /* timeout pointer = NULL : wait indefinitely */
486 wait = &twait;
489 wait = &twait;
553 wait->tv_sec = hrtres / (hrtime_t)NANOSEC;
554 wait->tv_nsec = hrtres % (hrtime_t)NANOSEC;
564 list, nent, wait, -1);
592 wait->tv_sec = hrtres / (hrtime_t)NANOSEC;
593 wait
945 timespec_t *wait = NULL; local
[all...]
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_persist.c49 * IPADM_NVP_DHCP - value holds wait time and primary info and when converted
51 * wait: DATA_TYPE_INT32
262 int32_t wait; local
270 nvlist_lookup_int32(v, IPADM_NVP_WAIT, &wait) != 0 ||
275 (void) snprintf(addrbuf, sizeof (addrbuf), "%d,%s", wait,
438 * the parameters from the arguments `primary' and `wait'.
442 i_ipadm_add_dhcp2nvl(nvlist_t *nvl, boolean_t primary, int32_t wait) argument
458 (err = nvlist_add_int32(nvl_dhcp, IPADM_NVP_WAIT, wait)) != 0 ||
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dses.c668 ucode_wait_t wait; local
721 wait.uw_prevstatus = -1ULL;
722 wait.uw_oldnp = np;
732 &wait); local

Completed in 297 milliseconds

12345