Lines Matching refs:to_mcq
960 mlx4_ib_lock_cqs(to_mcq(init_attr->send_cq), in create_rq()
961 to_mcq(init_attr->recv_cq)); in create_rq()
969 mcq = to_mcq(init_attr->send_cq); in create_rq()
971 mcq = to_mcq(init_attr->recv_cq); in create_rq()
973 mlx4_ib_unlock_cqs(to_mcq(init_attr->send_cq), in create_rq()
974 to_mcq(init_attr->recv_cq)); in create_rq()
1234 mlx4_ib_lock_cqs(to_mcq(init_attr->send_cq), in create_qp_common()
1235 to_mcq(init_attr->recv_cq)); in create_qp_common()
1243 mcq = to_mcq(init_attr->send_cq); in create_qp_common()
1245 mcq = to_mcq(init_attr->recv_cq); in create_qp_common()
1247 mlx4_ib_unlock_cqs(to_mcq(init_attr->send_cq), in create_qp_common()
1248 to_mcq(init_attr->recv_cq)); in create_qp_common()
1355 *send_cq = to_mcq(to_mxrcd(qp->ibqp.xrcd)->cq); in get_cqs()
1359 *send_cq = to_mcq(qp->ibqp.send_cq); in get_cqs()
1363 *recv_cq = (src == MLX4_IB_QP_SRC) ? to_mcq(qp->ibqp.recv_cq) : in get_cqs()
1364 to_mcq(qp->ibwq.cq); in get_cqs()
1365 *send_cq = (src == MLX4_IB_QP_SRC) ? to_mcq(qp->ibqp.send_cq) : in get_cqs()
2358 send_cq = to_mcq(rwq_ind_tbl->ind_tbl[0]->cq); in __mlx4_ib_modify_qp()
3287 cq = to_mcq(ib_cq); in mlx4_wq_overflow()
4410 struct mlx4_ib_cq *mcq = to_mcq(cq); in handle_drain_completion()