Lines Matching refs:to_mcq
541 struct mlx5_cq *cq = to_mcq(ibcq);
610 struct mlx5_cq *mcq = to_mcq(cq);
617 mlx5_free_db(to_mctx(cq->context), to_mcq(cq)->dbrec);
618 mlx5_free_cq_buf(to_mctx(cq->context), to_mcq(cq)->active_buf);
620 free(to_mcq(cq));
1453 struct mlx5_cq *send_cq = to_mcq(qp->send_cq);
1454 struct mlx5_cq *recv_cq = to_mcq(qp->recv_cq);
1475 struct mlx5_cq *send_cq = to_mcq(qp->send_cq);
1476 struct mlx5_cq *recv_cq = to_mcq(qp->recv_cq);
1520 __mlx5_cq_clean(to_mcq(ibqp->recv_cq), qp->rsc.rsn,
1523 __mlx5_cq_clean(to_mcq(ibqp->send_cq), qp->rsc.rsn, NULL);
1624 mlx5_cq_clean(to_mcq(qp->recv_cq), mqp->rsc.rsn,
1628 mlx5_cq_clean(to_mcq(qp->send_cq),
2163 mlx5_spin_lock(&to_mcq(wq->cq)->lock);
2164 __mlx5_cq_clean(to_mcq(wq->cq),
2166 mlx5_spin_unlock(&to_mcq(wq->cq)->lock);
2185 mlx5_spin_lock(&to_mcq(wq->cq)->lock);
2186 __mlx5_cq_clean(to_mcq(wq->cq), rwq->rsc.rsn, NULL);
2187 mlx5_spin_unlock(&to_mcq(wq->cq)->lock);