Lines Matching refs:to_mcq
959 mlx4_ib_lock_cqs(to_mcq(init_attr->send_cq), in create_rq()
960 to_mcq(init_attr->recv_cq)); in create_rq()
968 mcq = to_mcq(init_attr->send_cq); in create_rq()
970 mcq = to_mcq(init_attr->recv_cq); in create_rq()
972 mlx4_ib_unlock_cqs(to_mcq(init_attr->send_cq), in create_rq()
973 to_mcq(init_attr->recv_cq)); in create_rq()
1246 mlx4_ib_lock_cqs(to_mcq(init_attr->send_cq), in create_qp_common()
1247 to_mcq(init_attr->recv_cq)); in create_qp_common()
1255 mcq = to_mcq(init_attr->send_cq); in create_qp_common()
1257 mcq = to_mcq(init_attr->recv_cq); in create_qp_common()
1259 mlx4_ib_unlock_cqs(to_mcq(init_attr->send_cq), in create_qp_common()
1260 to_mcq(init_attr->recv_cq)); in create_qp_common()
1370 *send_cq = to_mcq(to_mxrcd(qp->ibqp.xrcd)->cq); in get_cqs()
1374 *send_cq = to_mcq(qp->ibqp.send_cq); in get_cqs()
1378 *recv_cq = (src == MLX4_IB_QP_SRC) ? to_mcq(qp->ibqp.recv_cq) : in get_cqs()
1379 to_mcq(qp->ibwq.cq); in get_cqs()
1380 *send_cq = (src == MLX4_IB_QP_SRC) ? to_mcq(qp->ibqp.send_cq) : in get_cqs()
2381 send_cq = to_mcq(rwq_ind_tbl->ind_tbl[0]->cq); in __mlx4_ib_modify_qp()
3290 cq = to_mcq(ib_cq); in mlx4_wq_overflow()
4433 struct mlx4_ib_cq *mcq = to_mcq(cq); in handle_drain_completion()