Lines Matching refs:to_mcq
532 struct mlx5_cq *cq = to_mcq(ibcq);
606 mlx5_free_db(to_mctx(cq->context), to_mcq(cq)->dbrec);
607 mlx5_free_cq_buf(to_mctx(cq->context), to_mcq(cq)->active_buf);
608 free(to_mcq(cq));
1429 struct mlx5_cq *send_cq = to_mcq(qp->send_cq);
1430 struct mlx5_cq *recv_cq = to_mcq(qp->recv_cq);
1451 struct mlx5_cq *send_cq = to_mcq(qp->send_cq);
1452 struct mlx5_cq *recv_cq = to_mcq(qp->recv_cq);
1496 __mlx5_cq_clean(to_mcq(ibqp->recv_cq), qp->rsc.rsn,
1499 __mlx5_cq_clean(to_mcq(ibqp->send_cq), qp->rsc.rsn, NULL);
1598 mlx5_cq_clean(to_mcq(qp->recv_cq), mqp->rsc.rsn,
1602 mlx5_cq_clean(to_mcq(qp->send_cq),
2126 mlx5_spin_lock(&to_mcq(wq->cq)->lock);
2127 __mlx5_cq_clean(to_mcq(wq->cq),
2129 mlx5_spin_unlock(&to_mcq(wq->cq)->lock);
2148 mlx5_spin_lock(&to_mcq(wq->cq)->lock);
2149 __mlx5_cq_clean(to_mcq(wq->cq), rwq->rsc.rsn, NULL);
2150 mlx5_spin_unlock(&to_mcq(wq->cq)->lock);