Home
last modified time | relevance | path

Searched refs:rq_cq (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_qp.c80 hermon_cqhdl_t sq_cq, rq_cq; in hermon_qp_alloc() local
228 rq_cq = sq_cq; /* just use the send cq */ in hermon_qp_alloc()
230 rq_cq = (hermon_cqhdl_t)attr_p->qp_ibc_rcq_hdl; in hermon_qp_alloc()
242 status = hermon_cq_refcnt_inc(rq_cq, HERMON_CQ_IS_NORMAL); in hermon_qp_alloc()
619 qp->qp_rq_cqhdl = rq_cq; in hermon_qp_alloc()
750 hermon_cq_refcnt_dec(rq_cq); in hermon_qp_alloc()
780 hermon_cqhdl_t sq_cq, rq_cq; in hermon_special_qp_alloc() local
840 rq_cq = (hermon_cqhdl_t)attr_p->qp_ibc_rcq_hdl; in hermon_special_qp_alloc()
852 status = hermon_cq_refcnt_inc(rq_cq, HERMON_CQ_IS_SPECIAL); in hermon_special_qp_alloc()
1132 qp->qp_rq_cqhdl = rq_cq; in hermon_special_qp_alloc()
[all …]
/titanic_44/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_wr.c1043 ib_cq_handle_t sq_cq, rq_cq; in dapli_tavor_wrid_wqhdr_lock_both() local
1046 rq_cq = qp->qp_rq_cqhdl; in dapli_tavor_wrid_wqhdr_lock_both()
1056 if (sq_cq == rq_cq) { in dapli_tavor_wrid_wqhdr_lock_both()
1060 dapl_os_lock(&rq_cq->cq_wrid_wqhdr_lock); in dapli_tavor_wrid_wqhdr_lock_both()
1070 ib_cq_handle_t sq_cq, rq_cq; in dapli_tavor_wrid_wqhdr_unlock_both() local
1073 rq_cq = qp->qp_rq_cqhdl; in dapli_tavor_wrid_wqhdr_unlock_both()
1078 if (sq_cq == rq_cq) { in dapli_tavor_wrid_wqhdr_unlock_both()
1081 dapl_os_unlock(&rq_cq->cq_wrid_wqhdr_lock); in dapli_tavor_wrid_wqhdr_unlock_both()
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_qp.c78 tavor_cqhdl_t sq_cq, rq_cq; in tavor_qp_alloc() local
205 rq_cq = (tavor_cqhdl_t)attr_p->qp_ibc_rcq_hdl; in tavor_qp_alloc()
218 status = tavor_cq_refcnt_inc(rq_cq, TAVOR_CQ_IS_NORMAL); in tavor_qp_alloc()
536 qp->qp_rq_cqhdl = rq_cq; in tavor_qp_alloc()
628 tavor_cq_refcnt_dec(rq_cq); in tavor_qp_alloc()
661 tavor_cqhdl_t sq_cq, rq_cq; in tavor_special_qp_alloc() local
737 rq_cq = (tavor_cqhdl_t)attr_p->qp_ibc_rcq_hdl; in tavor_special_qp_alloc()
750 status = tavor_cq_refcnt_inc(rq_cq, TAVOR_CQ_IS_SPECIAL); in tavor_special_qp_alloc()
984 qp->qp_rq_cqhdl = rq_cq; in tavor_special_qp_alloc()
1028 tavor_cq_refcnt_dec(rq_cq); in tavor_special_qp_alloc()
[all …]
H A Dtavor_wr.c3585 tavor_cqhdl_t sq_cq, rq_cq; in tavor_wrid_wqhdr_lock_both() local
3588 rq_cq = qp->qp_rq_cqhdl; in tavor_wrid_wqhdr_lock_both()
3591 _NOTE(MUTEX_ACQUIRED_AS_SIDE_EFFECT(&rq_cq->cq_wrid_wqhdr_lock)) in tavor_wrid_wqhdr_lock_both()
3603 if (sq_cq == rq_cq) { in tavor_wrid_wqhdr_lock_both()
3606 mutex_enter(&rq_cq->cq_wrid_wqhdr_lock); in tavor_wrid_wqhdr_lock_both()
3610 mutex_enter(&rq_cq->cq_wrid_wqhdr_lock); in tavor_wrid_wqhdr_lock_both()
3621 tavor_cqhdl_t sq_cq, rq_cq; in tavor_wrid_wqhdr_unlock_both() local
3624 rq_cq = qp->qp_rq_cqhdl; in tavor_wrid_wqhdr_unlock_both()
3626 _NOTE(LOCK_RELEASED_AS_SIDE_EFFECT(&rq_cq->cq_wrid_wqhdr_lock)) in tavor_wrid_wqhdr_unlock_both()
3632 if (sq_cq == rq_cq) { in tavor_wrid_wqhdr_unlock_both()
[all …]