Home
last modified time | relevance | path

Searched refs:sq_cq (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1029 atomic_inc(&qp->sq_cq->use_cnt); in ocrdma_set_qp_use_cnt()
1413 found = ocrdma_is_qp_in_sq_flushlist(qp->sq_cq, qp); in ocrdma_del_flush_qp()
1454 spin_lock_irqsave(&qp->sq_cq->cq_lock, flags); in ocrdma_destroy_qp()
1455 if (qp->rq_cq && (qp->rq_cq != qp->sq_cq)) in ocrdma_destroy_qp()
1460 if (qp->rq_cq && (qp->rq_cq != qp->sq_cq)) in ocrdma_destroy_qp()
1462 spin_unlock_irqrestore(&qp->sq_cq->cq_lock, flags); in ocrdma_destroy_qp()
1465 ocrdma_discard_cqes(qp, qp->sq_cq); in ocrdma_destroy_qp()
1479 atomic_dec(&qp->sq_cq->use_cnt); in ocrdma_destroy_qp()
2192 if (!qp->srq && (qp->sq_cq == qp->rq_cq)) { in ocrdma_poll_err_scqe()
2297 if (!qp->srq && (qp->sq_cq == qp->rq_cq)) { in ocrdma_poll_err_rcqe()
[all …]
Docrdma.h272 struct ocrdma_cq *sq_cq; member
Docrdma_hw.c840 if (qp->sq_cq == qp->rq_cq) in ocrdma_qp_buddy_cq_handler()
845 if (qp->sq_cq == cq) in ocrdma_qp_buddy_cq_handler()
848 cq = qp->sq_cq; in ocrdma_qp_buddy_cq_handler()
1684 found = ocrdma_is_qp_in_sq_flushlist(qp->sq_cq, qp); in ocrdma_flush_qp()
1686 list_add_tail(&qp->sq_entry, &qp->sq_cq->sq_head); in ocrdma_flush_qp()
2067 qp->sq_cq = cq; in ocrdma_mbx_create_qp()