Lines Matching refs:to_mcq
956 mlx4_ib_lock_cqs(to_mcq(init_attr->send_cq), in create_rq()
957 to_mcq(init_attr->recv_cq)); in create_rq()
965 mcq = to_mcq(init_attr->send_cq); in create_rq()
967 mcq = to_mcq(init_attr->recv_cq); in create_rq()
969 mlx4_ib_unlock_cqs(to_mcq(init_attr->send_cq), in create_rq()
970 to_mcq(init_attr->recv_cq)); in create_rq()
1230 mlx4_ib_lock_cqs(to_mcq(init_attr->send_cq), in create_qp_common()
1231 to_mcq(init_attr->recv_cq)); in create_qp_common()
1239 mcq = to_mcq(init_attr->send_cq); in create_qp_common()
1241 mcq = to_mcq(init_attr->recv_cq); in create_qp_common()
1243 mlx4_ib_unlock_cqs(to_mcq(init_attr->send_cq), in create_qp_common()
1244 to_mcq(init_attr->recv_cq)); in create_qp_common()
1351 *send_cq = to_mcq(to_mxrcd(qp->ibqp.xrcd)->cq); in get_cqs()
1355 *send_cq = to_mcq(qp->ibqp.send_cq); in get_cqs()
1359 *recv_cq = (src == MLX4_IB_QP_SRC) ? to_mcq(qp->ibqp.recv_cq) : in get_cqs()
1360 to_mcq(qp->ibwq.cq); in get_cqs()
1361 *send_cq = (src == MLX4_IB_QP_SRC) ? to_mcq(qp->ibqp.send_cq) : in get_cqs()
2354 send_cq = to_mcq(rwq_ind_tbl->ind_tbl[0]->cq); in __mlx4_ib_modify_qp()
3283 cq = to_mcq(ib_cq); in mlx4_wq_overflow()
4406 struct mlx4_ib_cq *mcq = to_mcq(cq); in handle_drain_completion()