Searched refs:q_next (Results 1 - 25 of 72) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/
H A Dsuntpi.c107 ASSERT(q->q_next != NULL);
119 * Go down q_next to the driver, but no further. We use the qi_minfo
123 for (i = 0; !LAST_QUEUE(q) && (q = q->q_next) != NULL; ++i) {
139 * with KM_SLEEP, and because it traverses the q_next pointers of a stream
H A Dtirdwr.c188 (void) strqset(WR(q), QMAXPSZ, 0, (uintptr_t)WR(q)->q_next->q_maxpsz);
189 (void) strqset(q, QMAXPSZ, 0, (uintptr_t)q->q_next->q_maxpsz);
384 for (mp = q->q_next->q_first; mp != NULL; mp = mp->b_next) {
426 q = q->q_next;
H A Dclone.c308 if (backq(WR(rq)) && backq(WR(rq))->q_next == WR(rq))
311 rq->q_next = WR(rq)->q_next = NULL;
H A Dstream.c3186 if (q->q_next) {
3187 q = q->q_next;
3344 if (q != wrq->q_next)
3387 if (q != wrq->q_next)
3765 * Prevent q_next from changing by holding sd_lock until acquiring
3778 qp = nqp->q_next;
3784 qp = _RD(nqp->q_next);
3952 * Prevent q_next from changing by holding sd_lock until
3957 qp = nqp->q_next;
3959 qp = _RD(nqp->q_next);
[all...]
/illumos-gate/usr/src/uts/common/io/softmac/
H A Dsoftmac_dev.c288 ASSERT(WR(rq)->q_next != NULL);
316 ASSERT(WR(rq)->q_next != NULL);
396 ASSERT(wq->q_next != NULL);
442 ASSERT(wq->q_next != NULL);
571 ASSERT(WR(rq)->q_next == NULL);
616 ASSERT(wq->q_next == NULL);
650 ASSERT(wq->q_next == NULL);
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c349 qp = qp->q_next;
470 brq = _RD(_WR(qp)->q_next);
570 mutex_enter(QLOCK(stp->sd_wrq->q_next));
571 rmin = stp->sd_wrq->q_next->q_minpsz;
572 rmax = stp->sd_wrq->q_next->q_maxpsz;
573 mutex_exit(QLOCK(stp->sd_wrq->q_next));
698 * Holding sd_lock prevents q_next from changing in
708 mutex_enter(QLOCK(qp->q_next));
709 if (!(qp->q_next->q_mblkcnt)) {
710 mutex_exit(QLOCK(qp->q_next));
[all...]
H A Dddi.c486 ret = bcanput(q->q_next, band);
509 q = q->q_next->q_nfsrv;
571 * is set, q_next will not be NULL and we need to call insertq().
573 if ((q->q_next == NULL && WR(q)->q_next == NULL) ||
631 * Increment refcnt to prevent q_next from changing during the strblock
639 for (q = stp->sd_wrq; q != NULL; q = SAMESTR(q) ? q->q_next : NULL) {
657 q1 = SAMESTR(q1) ? q1->q_next : NULL) {
H A Dstrsubr.c83 #define O_SAMESTR(q) (((q)->q_next) && \
84 (((q)->q_flag & QREADR) == ((q)->q_next->q_flag & QREADR)))
1176 * Before calling the module's open routine, set up the q_next
1179 * Note that we can always set _QINSERTING and set up q_next
1182 * by qprocson(), assume that q_next of the new module always points
1190 rq->q_next = qp;
1207 if (backq(wrq) != NULL && backq(wrq)->q_next == wrq)
1210 rq->q_next = wrq->q_next = NULL;
1232 (wqp->q_next
[all...]
H A Dlogsubr.c716 for (q = qfirst; q->q_next != qlast; q = q->q_next)
H A Dputnext.c173 qp = qp->q_next;
420 * to protect the stream head, q_next, and syncq's.
/illumos-gate/usr/src/uts/common/inet/
H A Dsnmpcom.c155 * If the passed q is at the bottom of the module chain (q_next == NULL,
230 if (q->q_next != NULL)
274 if (q->q_next != NULL) {
H A Dproto_set.c123 wq = stp->sd_wrq->q_next;
/illumos-gate/usr/src/uts/common/sys/
H A Dsoftmac_impl.h357 * safe to directly access the q_next pointer.
360 (!((q)->q_next->q_nfsrv->q_flag & QFULL) || canput((q)->q_next))
/illumos-gate/usr/src/cmd/sendmail/src/
H A Drecipient.c236 a->q_next = al;
299 al = a->q_next;
406 for (pq = sendq; (q = *pq) != NULL; pq = &q->q_next)
719 for (pq = sendq; (q = *pq) != NULL; pq = &q->q_next)
796 new->q_next = *pq;
800 (*prev)->q_next = new;
809 new->q_next = NULL;
1064 for (q = *sendq; q != NULL; q = q->q_next)
1096 for (q = *sendq; q != NULL; q = q->q_next)
H A Dsavemail.c278 for (q = e->e_errorqueue; q != NULL; q = q->q_next)
597 for (q = returnq; q != NULL; q = q->q_next)
717 for (q = ee->e_sendqueue; q != NULL; q = q->q_next)
797 for (q = e->e_parent->e_sendqueue; q != NULL; q = q->q_next)
891 for (q = e->e_parent->e_sendqueue; q != NULL; q = q->q_next)
933 for (q = e->e_parent->e_sendqueue; q != NULL; q = q->q_next)
968 for (q = e->e_parent->e_sendqueue; q != NULL; q = q->q_next)
1123 for (q = e->e_parent->e_sendqueue; q != NULL; q = q->q_next)
H A Dcollect.c113 for (q = e->e_sendqueue; q != NULL; q = q->q_next)
157 for (q = e->e_sendqueue; q != NULL; q = q->q_next)
836 for (q = e->e_sendqueue; q != NULL; q = q->q_next)
H A Denvelope.c250 for (q = e->e_sendqueue; q != NULL; q = q->q_next)
328 for (q = e->e_sendqueue; q != NULL; q = q->q_next)
363 q = q->q_next)
441 for (q = e->e_sendqueue; q != NULL; q = q->q_next)
H A Dqueue.c706 for (q = e->e_sendqueue; q != NULL; q = q->q_next)
5871 q = q->q_next;
8018 for (q = e->e_sendqueue; q != NULL; q = q->q_next)
8073 for (i = 0, q = e->e_sendqueue; q != NULL; q = q->q_next)
8088 addrs[i]->q_next = NULL;
8090 addrs[i]->q_next = addrs[i + 1];
8160 addrs[i]->q_next = addrs[i + 1];
8161 addrs[naddrs - 1]->q_next = NULL;
8205 for (q = e->e_sendqueue; q != NULL; q = q->q_next)
8221 for (i = 0, q = e->e_sendqueue; q != NULL; q = q->q_next)
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_gen.c131 while ((wq = wq->q_next) != NULL) {
H A Dsvc.c270 __SVCXPRT_QNODE *q_next; member in struct:__svcxprt_qnode
902 pool->p_qbody[i].q_next = &(pool->p_qbody[i+1]);
904 pool->p_qbody[pool->p_qsize-1].q_next = &(pool->p_qbody[0]);
930 if (pool->p_qtop->q_next == pool->p_qend) {
932 if (pool->p_qtop->q_next == pool->p_qend) {
942 pool->p_qtop = pool->p_qtop->q_next;
976 pool->p_qend = pool->p_qend->q_next;
996 for (q = pool->p_qend; q != pool->p_qtop; q = q->q_next) {
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dstreams.c938 wsp->walk_addr = (uintptr_t)(((queue_t *)wsp->walk_data)->q_next);
988 if (wq->q_next != NULL)
989 wsp->walk_addr = (uintptr_t)wq->q_next;
1014 if (wq->q_next != NULL)
1015 wsp->walk_addr = (uintptr_t)wq->q_next;
1622 "To walk q_next pointer of the queue use\n"
H A Dmemory.c377 struct vn_htable_list *hent, **htmp, *q_next, *q_prev; local
423 q_next = hent->vn_q_next;
425 if (q_next == NULL)
428 q_next->vn_q_prev = q_prev;
429 q_prev->vn_q_next = q_next;
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_arp.c463 ASSERT(q->q_next != NULL);
1289 if (q->q_next == NULL)
1293 q = q->q_next;
1294 } while (q->q_next != NULL);
1310 if (q->q_next == NULL)
1806 if (WR(q)->q_next != NULL) {
2115 queue_t *qnext = STREAM(q)->sd_wrq->q_next;
H A Dkeysock.c495 if (WR(q)->q_next) {
1608 ASSERT(WR(q)->q_next == NULL);
1850 if (WR(q)->q_next) {
2287 ASSERT(WR(q)->q_next != NULL);
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c478 for (q = WR(q); q->q_next != NULL; q = q->q_next)
639 /* q_next is set on modules */
640 ASSERT(WR(q)->q_next != NULL);
671 /* devices are end of line; no q_next. */
672 ASSERT(WR(q)->q_next == NULL);

Completed in 136 milliseconds

123