Home
last modified time | relevance | path

Searched refs:to_msrq (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dsrq.c79 struct mlx4_ib_srq *srq = to_msrq(ib_srq); in mlx4_ib_create_srq()
222 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_modify_srq()
247 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_query_srq()
265 struct mlx4_ib_srq *msrq = to_msrq(srq); in mlx4_ib_destroy_srq()
303 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_post_srq_recv()
Dmlx4_ib.h701 static inline struct mlx4_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() function
Dcq.c745 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx4_ib_poll_one()
Dqp.c1462 qp->ibqp.srq ? to_msrq(qp->ibqp.srq): NULL); in destroy_qp_common()
2456 to_msrq(ibsrq)->msrq.srqn); in __mlx4_ib_modify_qp()
2602 ibsrq ? to_msrq(ibsrq) : NULL); in __mlx4_ib_modify_qp()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dsrq.c222 struct mlx5_ib_srq *srq = to_msrq(ib_srq); in mlx5_ib_create_srq()
340 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_modify_srq()
365 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_query_srq()
389 struct mlx5_ib_srq *msrq = to_msrq(srq); in mlx5_ib_destroy_srq()
423 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_post_srq_recv()
Dcq.c184 srq = to_msrq(qp->ibqp.srq); in handle_responder()
511 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx5_poll_one()
Dqp.c2225 MLX5_SET(qpc, qpc, srqn_rmpn_xrqn, to_msrq(devr->s0)->msrq.srqn); in create_qp_common()
2231 MLX5_SET(qpc, qpc, srqn_rmpn_xrqn, to_msrq(devr->s0)->msrq.srqn); in create_qp_common()
2236 MLX5_SET(qpc, qpc, srqn_rmpn_xrqn, to_msrq(init_attr->srq)->msrq.srqn); in create_qp_common()
2239 MLX5_SET(qpc, qpc, srqn_rmpn_xrqn, to_msrq(devr->s1)->msrq.srqn); in create_qp_common()
2483 qp->ibqp.srq ? to_msrq(qp->ibqp.srq) : NULL); in destroy_qp_common()
2573 MLX5_SET(dctc, dctc, srqn_xrqn, to_msrq(attr->srq)->msrq.srqn); in mlx5_ib_create_dct()
3720 ibqp->srq ? to_msrq(ibqp->srq) : NULL); in __mlx5_ib_modify_qp()
Dmlx5_ib.h1052 static inline struct mlx5_ib_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() function
Ddevx.c584 struct mlx5_core_srq *srq = &(to_msrq(uobj->object)->msrq); in devx_is_valid_obj_id()
602 to_msrq(uobj->object)->msrq.srqn) == in devx_is_valid_obj_id()
/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_srq.c376 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_modify_srq()
399 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_query_srq()
487 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_tavor_post_srq_recv()
581 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_arbel_post_srq_recv()
Dmthca_provider.h329 static inline struct mthca_srq *to_msrq(struct ib_srq *ibsrq) in to_msrq() function
Dmthca_provider.c413 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_create_srq()
462 context->db_tab, to_msrq(srq)->db_index); in mthca_destroy_srq()
465 mthca_free_srq(to_mdev(srq->device), to_msrq(srq)); in mthca_destroy_srq()
Dmthca_qp.c786 to_msrq(ibqp->srq)->srqn); in __mthca_modify_qp()
836 qp->ibqp.srq ? to_msrq(qp->ibqp.srq) : NULL); in __mthca_modify_qp()
1478 qp->ibqp.srq ? to_msrq(qp->ibqp.srq) : NULL); in mthca_free_qp()
Dmthca_cq.c540 struct mthca_srq *srq = to_msrq((*cur_qp)->ibqp.srq); in mthca_poll_one()