Searched refs:q_first (Results 1 - 25 of 52) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcp.c2270 while (cp->nodeq.q_first) {
2271 ndlp = (NODELIST *) cp->nodeq.q_first;
2274 if (ndlp->nlp_ptx[channelno].q_first) {
2276 if (abort.q_first == 0) {
2277 abort.q_first =
2278 ndlp->nlp_ptx[channelno].q_first;
2281 (IOCBQ *)ndlp->nlp_ptx[channelno].q_first;
2290 if (ndlp->nlp_tx[channelno].q_first) {
2292 if (abort.q_first == 0) {
2293 abort.q_first
[all...]
H A Demlxs_clock.c317 nlp = (NODELIST *)cp->nodeq.q_first;
322 iocbq = (IOCBQ *)nlp->nlp_ptx[channelno].q_first;
339 q_first = (uint8_t *)next;
355 if (tmo.q_first) {
362 tmo.q_first =
381 iocbq = (IOCBQ *)nlp->nlp_tx[channelno].q_first;
397 nlp->nlp_tx[channelno].q_first =
414 if (tmo.q_first) {
421 tmo.q_first =
448 iocbq = (IOCBQ *)tmo.q_first;
[all...]
H A Demlxs_node.c137 if (cp->nodeq.q_first == (void *)ndlp &&
140 cp->nodeq.q_first = NULL;
142 } else if (cp->nodeq.q_first == (void *)ndlp) {
143 cp->nodeq.q_first = ndlp->nlp_next[channelno];
145 cp->nodeq.q_first;
262 if ((ndlp->nlp_ptx[channelno].q_first ||
263 ndlp->nlp_tx[channelno].q_first) && !ndlp->nlp_next[channelno]) {
267 if (cp->nodeq.q_first) {
270 ndlp->nlp_next[channelno] = cp->nodeq.q_first;
279 cp->nodeq.q_first
[all...]
H A Demlxs_fct.c4339 next = (IOCBQ *)nlp->nlp_ptx[channelno].q_first;
4354 if (nlp->nlp_ptx[channelno].q_first ==
4357 q_first =
4373 next = (IOCBQ *)nlp->nlp_tx[channelno].q_first;
4388 if (nlp->nlp_tx[channelno].q_first ==
4390 nlp->nlp_tx[channelno].q_first =
4410 if ((nlp->nlp_ptx[channelno].q_first) ||
4411 (nlp->nlp_tx[channelno].q_first &&
4421 cp->nodeq.q_first = nlp->nlp_next[channelno];
4429 cp->nodeq.q_first
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dlog.c57 (uintptr_t)q.q_first) == -1) {
H A Dmemory.c378 struct vn_htable_list *q_first = hp->vn_q_first; local
381 if (q_first->vn_ptr == ptr) {
382 vp->v_flag = q_first->vn_flag;
433 hent->vn_q_next = q_first;
434 q_first->vn_q_prev = hent;
/illumos-gate/usr/src/uts/common/inet/
H A Dmi.c1101 ASSERT(mtb->mtb_q->q_first == mp ||
1111 ASSERT(mtb->mtb_q->q_first == mp ||
1119 ASSERT(mtb->mtb_q->q_first == mp ||
1202 ASSERT(mtb->mtb_q->q_first == mp ||
1210 ASSERT(mtb->mtb_q->q_first == mp ||
1217 ASSERT(mtb->mtb_q == NULL || mtb->mtb_q->q_first != mp);
1245 ASSERT(mtb->mtb_q->q_first == mp ||
1248 ASSERT(mtb->mtb_q->q_first != mp &&
1262 ASSERT(mtb->mtb_q->q_first == mp ||
1265 ASSERT(mtb->mtb_q->q_first !
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dstream.c1820 * q_first is the head of the list. q_count does
1942 if ((bp = q->q_first) == 0) {
2033 q->q_first = mp2;
2035 if ((q->q_first = bp->b_next) == NULL)
2038 q->q_first->b_prev = NULL;
2049 if ((q->q_first = bp->b_next) == NULL)
2052 q->q_first->b_prev = NULL;
2260 q->q_first = mp->b_next;
2315 if (q->q_first == NULL)
2319 mp = q->q_first;
[all...]
H A Dtirdwr.c384 for (mp = q->q_next->q_first; mp != NULL; mp = mp->b_next) {
428 for (mp = q->q_first; mp != NULL; ) {
H A Dlogindmux.c541 if (q->q_first != NULL || !canputnext(qp)) {
650 if ((q->q_first != NULL) && (queclass(mp) < QPCTL) &&
738 if (q->q_first != NULL || !canputnext(qp)) {
822 if (q->q_first != NULL || !canputnext(qp)) {
1219 mp = q->q_first;
H A Dtty_pty.c390 q->q_first != NULL &&
830 q->q_first != NULL && !(pty->pt_flags & PF_STOPPED)) {
834 for (mp = q->q_first; mp != NULL; mp = mp->b_next)
1015 q->q_first != NULL && !(pty->pt_flags & PF_STOPPED)) {
H A Drlmod.c378 ((q->q_first) ||
438 if (canputnext(q) && q->q_first == NULL) {
628 if ((q->q_first || rmip->rl_expdat) && mp->b_datap->db_type < QPCTL) {
H A Dtelmod.c363 ((q->q_first) || ((tmip->flags & TEL_STOPPED) &&
666 (q->q_first)) {
838 if (!canputnext(q) || q->q_first != NULL)
H A Dpts.c590 ASSERT(RD(qp)->q_first == NULL);
H A Dtl.c1652 if (tep->te_wq->q_first && (IS_CLTS(tep) || IS_COTSORD(tep))) {
1823 if ((tep->te_state == TS_IDLE) && !wq->q_first) {
1834 if (wq->q_first != NULL) {
1956 (tep->te_wq->q_first == NULL) &&
1997 while ((wq->q_first != NULL) && !tep->te_nowsrv) {
2068 ASSERT(rq->q_first == NULL);
4978 if (!tep->te_closing && (wq->q_first != NULL)) {
5911 ASSERT(tep->te_rq->q_first == NULL);
6252 (void) insq(wq, wq->q_first, mp);
H A Dptem.c522 if (q->q_first != NULL || !bcanputnext(q, mp->b_band)) {
H A Dtimod.c579 if (q->q_first != 0 && mp->b_datap->db_type < QPCTL) {
1225 if (q->q_first != 0)
1462 if (q->q_first != 0 && mp->b_datap->db_type < QPCTL) {
2622 bp = rq->q_first;
H A Dzcons.c930 if (qp->q_first == NULL && bcanputnext(RD(zc_switch(qp)), mp->b_band)) {
H A Dmouse8042.c883 if (q->q_first)
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c680 ASSERT(qp->q_first == NULL); /* No more delayed write */
979 q->q_first == NULL &&
1369 while ((((bp = q->q_first)) != NULL) &&
1696 * even though the q_first check below thinks
1808 (q->q_first == bp)))
2122 if (q->q_first || (*bp->b_rptr == SIGTSTP &&
2177 if ((q->q_first == NULL) ||
2178 (q->q_first->b_datap->db_type < QPCTL))
3612 size = msgdsize(rdq->q_first);
3613 for (mp = rdq->q_first; m
6585 mblk_t *q_first = q->q_first; local
7143 mblk_t *q_first = q->q_first; local
[all...]
H A Dlogsubr.c718 for (mp = q->q_first; mp != NULL; mp = mp->b_next) {
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp.c514 (WR(nextsib->sps_rq)->q_first != NULL)) {
1340 if (WR(sps->sps_rq)->q_first != NULL)
1345 if (WR(nextsib->sps_rq)->q_first != NULL) {
1409 if (WR(sps->sps_rq)->q_first != NULL)
1413 if (WR(nextsib->sps_rq)->q_first != NULL) {
1617 if (q->q_first != NULL ||
1772 WR(nextsib->sps_rq)->q_first != NULL)
1776 if (WR(nextsib->sps_rq)->q_first != NULL) {
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcmod.c1110 if ((mp1 = q->q_first) != NULL) {
1561 if (q->q_first == NULL &&
1909 if (q->q_first == NULL)
1930 if (q->q_first == NULL) {
2734 if (q->q_first == NULL)
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dcvc.c495 if (q->q_first != NULL || cvcoutput_q == NULL ||
624 if (q->q_first != NULL) {
/illumos-gate/usr/src/uts/common/sys/
H A Dstream.h85 * q_first, q_last).
114 struct msgb *q_first; /* Q9S: first message in Q */ member in struct:queue
236 QFIRST = 5, /* q_first or qb_first */

Completed in 223 milliseconds

123