Lines Matching refs:q_next
348 qp = qp->q_next; in stropen()
469 brq = _RD(_WR(qp)->q_next); in stropen()
569 mutex_enter(QLOCK(stp->sd_wrq->q_next)); in stropen()
570 rmin = stp->sd_wrq->q_next->q_minpsz; in stropen()
571 rmax = stp->sd_wrq->q_next->q_maxpsz; in stropen()
572 mutex_exit(QLOCK(stp->sd_wrq->q_next)); in stropen()
707 mutex_enter(QLOCK(qp->q_next)); in strclose()
708 if (!(qp->q_next->q_mblkcnt)) { in strclose()
709 mutex_exit(QLOCK(qp->q_next)); in strclose()
715 qp->q_next->q_flag |= QWANTW; in strclose()
716 mutex_exit(QLOCK(qp->q_next)); in strclose()
727 rmq = qp->q_next; in strclose()
773 if (qp->q_next && !_SAMESTR(qp)) { in strclose()
774 if (qp->q_next->q_qinfo == &deadrend) { /* half-closed pipe */ in strclose()
775 flushq(qp->q_next, FLUSHALL); /* ensure no message */ in strclose()
776 shfree(qp->q_next->q_stream); in strclose()
777 freeq(qp->q_next); in strclose()
779 } else if (qp->q_next == _RD(qp)) { /* fifo */ in strclose()
833 if (_OTHERQ(q)->q_next == NULL) in strsink()
856 if (_OTHERQ(q)->q_next == NULL) in strsink()
872 if (_OTHERQ(q)->q_next == NULL) in strsink()
1018 if (_OTHERQ(q)->q_next == NULL) in strget()
1900 qp = wq->q_next; in log_dupioc()
1903 islast = !SAMESTR(qp) || qp->q_next == NULL; in log_dupioc()
1919 qp = qp->q_next; in log_dupioc()
2017 if (_OTHERQ(q)->q_next == NULL) in strrput_nondata()
2061 if (_OTHERQ(q)->q_next == NULL) in strrput_nondata()
2191 if (_OTHERQ(q)->q_next == NULL) in strrput_nondata()
2470 if (_OTHERQ(q)->q_next == NULL) in strrput_nondata()
2925 if ((tq = q->q_next) == NULL) { in strwsrv()
3740 for (q = stp->sd_wrq->q_next; q; q = q->q_next) { in strioctl()
3829 mutex_enter(QLOCK(stp->sd_wrq->q_next)); in strioctl()
3830 rmin = stp->sd_wrq->q_next->q_minpsz; in strioctl()
3831 rmax = stp->sd_wrq->q_next->q_maxpsz; in strioctl()
3832 mutex_exit(QLOCK(stp->sd_wrq->q_next)); in strioctl()
3861 if (!wrq->q_next) /* for broken pipes */ in strioctl()
3894 q = wrq->q_next; in strioctl()
3897 if (q->q_next == NULL || (q->q_flag & (QREADR|QISDRV))) { in strioctl()
3910 mutex_enter(QLOCK(wrq->q_next)); in strioctl()
3911 rmin = wrq->q_next->q_minpsz; in strioctl()
3912 rmax = wrq->q_next->q_maxpsz; in strioctl()
3913 mutex_exit(QLOCK(wrq->q_next)); in strioctl()
4111 tmp_wrq = tmp_wrq->q_next, pos--) { in strioctl()
4131 mutex_enter(QLOCK(stp->sd_wrq->q_next)); in strioctl()
4132 rmin = stp->sd_wrq->q_next->q_minpsz; in strioctl()
4133 rmax = stp->sd_wrq->q_next->q_maxpsz; in strioctl()
4134 mutex_exit(QLOCK(stp->sd_wrq->q_next)); in strioctl()
4226 for (q = stp->sd_wrq->q_next; SAMESTR(q) && pos > 0; in strioctl()
4227 q = q->q_next, pos--) in strioctl()
4264 mutex_enter(QLOCK(wrq->q_next)); in strioctl()
4265 rmin = wrq->q_next->q_minpsz; in strioctl()
4266 rmax = wrq->q_next->q_maxpsz; in strioctl()
4267 mutex_exit(QLOCK(wrq->q_next)); in strioctl()
4337 if (_SAMESTR(wrq) && wrq->q_next->q_next != NULL) { in strioctl()
4338 char *name = Q2NAME(wrq->q_next); in strioctl()
5161 for (q = resstp->sd_wrq->q_next; q->q_next != NULL; in strioctl()
5162 q = q->q_next) in strioctl()
5468 for (i = 0; i < nmods && _SAMESTR(q); i++, q = q->q_next) { in strioctl()
5469 qname = Q2NAME(q->q_next); in strioctl()
5737 while (((qp = qp->q_next) != NULL) && _SAMESTR(qp)) in do_sendfp()
5764 nextqp = qp->q_next; in do_sendfp()
5777 ASSERT(_OTHERQ(qp->q_next)->q_qinfo->qi_srvp); in do_sendfp()
5781 if (nextqp != qp->q_next) { in do_sendfp()
8217 tq = qp->q_next->q_nfsrv; in strpoll()
8534 ASSERT(wrq1->q_next == NULL && wrq2->q_next == NULL); in strmate()
8542 wrq1->q_next = _RD(wrq1); in strmate()
8544 wrq1->q_next = _RD(wrq2); in strmate()
8545 wrq2->q_next = _RD(wrq1); in strmate()