Home
last modified time | relevance | path

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

123

/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcp.c2270 while (cp->nodeq.q_first) { in emlxs_tx_channel_flush()
2271 ndlp = (NODELIST *) cp->nodeq.q_first; in emlxs_tx_channel_flush()
2274 if (ndlp->nlp_ptx[channelno].q_first) { in emlxs_tx_channel_flush()
2276 if (abort.q_first == 0) { in emlxs_tx_channel_flush()
2277 abort.q_first = in emlxs_tx_channel_flush()
2278 ndlp->nlp_ptx[channelno].q_first; in emlxs_tx_channel_flush()
2281 (IOCBQ *)ndlp->nlp_ptx[channelno].q_first; in emlxs_tx_channel_flush()
2290 if (ndlp->nlp_tx[channelno].q_first) { in emlxs_tx_channel_flush()
2292 if (abort.q_first == 0) { in emlxs_tx_channel_flush()
2293 abort.q_first = ndlp->nlp_tx[channelno].q_first; in emlxs_tx_channel_flush()
[all …]
H A Demlxs_clock.c317 nlp = (NODELIST *)cp->nodeq.q_first; in emlxs_timer_check_pkts()
322 iocbq = (IOCBQ *)nlp->nlp_ptx[channelno].q_first; in emlxs_timer_check_pkts()
339 q_first = (uint8_t *)next; in emlxs_timer_check_pkts()
355 if (tmo.q_first) { in emlxs_timer_check_pkts()
362 tmo.q_first = in emlxs_timer_check_pkts()
381 iocbq = (IOCBQ *)nlp->nlp_tx[channelno].q_first; in emlxs_timer_check_pkts()
397 nlp->nlp_tx[channelno].q_first = in emlxs_timer_check_pkts()
414 if (tmo.q_first) { in emlxs_timer_check_pkts()
421 tmo.q_first = in emlxs_timer_check_pkts()
448 iocbq = (IOCBQ *)tmo.q_first; in emlxs_timer_check_pkts()
[all …]
H A Demlxs_node.c137 if (cp->nodeq.q_first == (void *)ndlp && in emlxs_node_close()
140 cp->nodeq.q_first = NULL; in emlxs_node_close()
142 } else if (cp->nodeq.q_first == (void *)ndlp) { in emlxs_node_close()
143 cp->nodeq.q_first = ndlp->nlp_next[channelno]; in emlxs_node_close()
145 cp->nodeq.q_first; in emlxs_node_close()
262 if ((ndlp->nlp_ptx[channelno].q_first || in emlxs_node_open()
263 ndlp->nlp_tx[channelno].q_first) && !ndlp->nlp_next[channelno]) { in emlxs_node_open()
267 if (cp->nodeq.q_first) { in emlxs_node_open()
270 ndlp->nlp_next[channelno] = cp->nodeq.q_first; in emlxs_node_open()
279 cp->nodeq.q_first = (uint8_t *)ndlp; in emlxs_node_open()
[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 = NULL;
[all …]
H A Demlxs_mbox.c2859 if (hba->mbox_queue.q_first) { in emlxs_mb_put()
2872 hba->mbox_queue.q_first = (uint8_t *)mbq; in emlxs_mb_put()
2905 if (hba->mbox_queue.q_first) { in emlxs_mb_get()
2906 p_first = (MAILBOXQ *)hba->mbox_queue.q_first; in emlxs_mb_get()
2907 hba->mbox_queue.q_first = (uint8_t *)p_first->next; in emlxs_mb_get()
2909 if (hba->mbox_queue.q_first == NULL) { in emlxs_mb_get()
H A Demlxs_solaris.c3514 next = (IOCBQ *) nlp->nlp_ptx[channelno].q_first; in emlxs_fca_pkt_abort()
3529 if (nlp->nlp_ptx[channelno].q_first == in emlxs_fca_pkt_abort()
3532 q_first = in emlxs_fca_pkt_abort()
3548 next = (IOCBQ *) nlp->nlp_tx[channelno].q_first; in emlxs_fca_pkt_abort()
3563 if (nlp->nlp_tx[channelno].q_first == in emlxs_fca_pkt_abort()
3565 nlp->nlp_tx[channelno].q_first = in emlxs_fca_pkt_abort()
3589 if ((nlp->nlp_ptx[channelno].q_first) || in emlxs_fca_pkt_abort()
3590 (nlp->nlp_tx[channelno].q_first && in emlxs_fca_pkt_abort()
3602 cp->nodeq.q_first = nlp->nlp_next[channelno]; in emlxs_fca_pkt_abort()
3608 if (cp->nodeq.q_first == (void *)nlp && in emlxs_fca_pkt_abort()
[all …]
/titanic_41/usr/src/uts/common/inet/
H A Dmi.c1101 ASSERT(mtb->mtb_q->q_first == mp || in mi_timer()
1111 ASSERT(mtb->mtb_q->q_first == mp || in mi_timer()
1119 ASSERT(mtb->mtb_q->q_first == mp || in mi_timer()
1202 ASSERT(mtb->mtb_q->q_first == mp || in mi_timer_free()
1210 ASSERT(mtb->mtb_q->q_first == mp || in mi_timer_free()
1217 ASSERT(mtb->mtb_q == NULL || mtb->mtb_q->q_first != mp); in mi_timer_free()
1245 ASSERT(mtb->mtb_q->q_first == mp || in mi_timer_move()
1248 ASSERT(mtb->mtb_q->q_first != mp && in mi_timer_move()
1262 ASSERT(mtb->mtb_q->q_first == mp || in mi_timer_move()
1265 ASSERT(mtb->mtb_q->q_first != mp && in mi_timer_move()
[all …]
/titanic_41/usr/src/uts/common/io/
H A Dstream.c1942 if ((bp = q->q_first) == 0) { in getq_noenab()
2033 q->q_first = mp2; in getq_noenab()
2035 if ((q->q_first = bp->b_next) == NULL) in getq_noenab()
2038 q->q_first->b_prev = NULL; in getq_noenab()
2049 if ((q->q_first = bp->b_next) == NULL) in getq_noenab()
2052 q->q_first->b_prev = NULL; in getq_noenab()
2260 q->q_first = mp->b_next; in rmvq_noenab()
2315 if (q->q_first == NULL) in flushq_common()
2319 mp = q->q_first; in flushq_common()
2320 q->q_first = NULL; in flushq_common()
[all …]
H A Dlogindmux.c541 if (q->q_first != NULL || !canputnext(qp)) { in logdmuxuwput()
650 if ((q->q_first != NULL) && (queclass(mp) < QPCTL) && in logdmuxlrput()
738 if (q->q_first != NULL || !canputnext(qp)) { in logdmuxlrput()
822 if (q->q_first != NULL || !canputnext(qp)) { in logdmuxlrput()
1219 mp = q->q_first; in flushq_dataonly()
H A Dtirdwr.c384 for (mp = q->q_next->q_first; mp != NULL; mp = mp->b_next) { in check_strhead()
428 for (mp = q->q_first; mp != NULL; ) { in strip_strhead()
H A Dtty_pty.c389 q->q_first != NULL && in ptcread()
829 q->q_first != NULL && !(pty->pt_flags & PF_STOPPED)) { in ptcioctl()
833 for (mp = q->q_first; mp != NULL; mp = mp->b_next) in ptcioctl()
1011 q->q_first != NULL && !(pty->pt_flags & PF_STOPPED)) { in ptcpoll()
H A Dtelmod.c363 ((q->q_first) || ((tmip->flags & TEL_STOPPED) && in telmodrput()
666 (q->q_first)) { in telmodwput()
838 if (!canputnext(q) || q->q_first != NULL) in telmodwput()
H A Drlmod.c378 ((q->q_first) || in rlmodrput()
438 if (canputnext(q) && q->q_first == NULL) { in rlmodrput()
628 if ((q->q_first || rmip->rl_expdat) && mp->b_datap->db_type < QPCTL) { in rlmodwput()
H A Dpts.c590 ASSERT(RD(qp)->q_first == NULL); in ptswput()
H A Dtl.c1651 if (tep->te_wq->q_first && (IS_CLTS(tep) || IS_COTSORD(tep))) { in tl_close_ser()
1822 if ((tep->te_state == TS_IDLE) && !wq->q_first) { in tl_wput()
1833 if (wq->q_first != NULL) { in tl_wput()
1955 (tep->te_wq->q_first == NULL) && in tl_wput_data_ser()
1996 while ((wq->q_first != NULL) && !tep->te_nowsrv) { in tl_wsrv()
2067 ASSERT(rq->q_first == NULL); in tl_rsrv()
4977 if (!tep->te_closing && (wq->q_first != NULL)) { in tl_unitdata_ser()
5860 ASSERT(tep->te_rq->q_first == NULL); in tl_icon_sendmsgs()
6201 (void) insq(wq, wq->q_first, mp); in tl_memrecover()
H A Dtimod.c579 if (q->q_first != 0 && mp->b_datap->db_type < QPCTL) { in timodrput()
1225 if (q->q_first != 0) in timodrproc()
1462 if (q->q_first != 0 && mp->b_datap->db_type < QPCTL) { in timodwput()
2622 bp = rq->q_first; in ti_expind_on_rdqueues()
H A Dmouse8042.c883 if (q->q_first) in mouse8042_wput()
/titanic_41/usr/src/uts/common/os/
H A Dstreamio.c679 ASSERT(qp->q_first == NULL); /* No more delayed write */ in strclose()
978 q->q_first == NULL && in strget()
1368 while ((((bp = q->q_first)) != NULL) && in strread()
1807 (q->q_first == bp))) in strrput()
2121 if (q->q_first || (*bp->b_rptr == SIGTSTP && in strrput_nondata()
2176 if ((q->q_first == NULL) || in strrput_nondata()
2177 (q->q_first->b_datap->db_type < QPCTL)) in strrput_nondata()
3611 size = msgdsize(rdq->q_first); in strioctl()
3612 for (mp = rdq->q_first; mp != NULL; mp = mp->b_next) in strioctl()
3654 for (mp = rdq->q_first; mp != NULL; mp = mp->b_next) in strioctl()
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dlog.c57 (uintptr_t)q.q_first) == -1) { in msgbuf()
H A Dmemory.c377 struct vn_htable_list *q_first = hp->vn_q_first; in vn_get() local
380 if (q_first->vn_ptr == ptr) { in vn_get()
381 vp->v_flag = q_first->vn_flag; in vn_get()
432 hent->vn_q_next = q_first; in vn_get()
433 q_first->vn_q_prev = hent; in vn_get()
H A Dstreams.c417 for (maddr = (uintptr_t)q.q_first; maddr != NULL; nblks++) { in queue()
455 addr, name, q.q_flag, nblks, q.q_first); in queue()
/titanic_41/usr/src/uts/common/io/ppp/sppp/
H A Dsppp.c514 (WR(nextsib->sps_rq)->q_first != NULL)) { in sppp_ioctl()
1340 if (WR(sps->sps_rq)->q_first != NULL) in sppp_outer_ioctl()
1345 if (WR(nextsib->sps_rq)->q_first != NULL) { in sppp_outer_ioctl()
1409 if (WR(sps->sps_rq)->q_first != NULL) in sppp_outer_ioctl()
1413 if (WR(nextsib->sps_rq)->q_first != NULL) { in sppp_outer_ioctl()
1617 if (q->q_first != NULL || in sppp_send()
1772 WR(nextsib->sps_rq)->q_first != NULL) in sppp_lwsrv()
1776 if (WR(nextsib->sps_rq)->q_first != NULL) { in sppp_lwsrv()
/titanic_41/usr/src/uts/common/rpc/
H A Drpcmod.c1110 if ((mp1 = q->q_first) != NULL) { in mir_clnt_dup_request()
1561 if (q->q_first == NULL && in mir_rput()
1909 if (q->q_first == NULL) in mir_rsrv()
1930 if (q->q_first == NULL) { in mir_rsrv()
2734 if (q->q_first == NULL) in mir_wsrv()
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Dcvc.c495 if (q->q_first != NULL || cvcoutput_q == NULL || in cvc_wput()
624 if (q->q_first != NULL) { in cvc_wsrv()
/titanic_41/usr/src/uts/common/sys/
H A Dstream.h114 struct msgb *q_first; /* Q9S: first message in Q */ member

123