Searched refs:mlx5_core_rsc_common (Results 1 – 6 of 6) sorted by relevance
49 struct mlx5_core_rsc_common *mlx5_core_res_hold(struct mlx5_ib_dev *dev,52 void mlx5_core_res_put(struct mlx5_core_rsc_common *res);
15 static struct mlx5_core_rsc_common *18 struct mlx5_core_rsc_common *common; in mlx5_get_rsc()32 void mlx5_core_put_rsc(struct mlx5_core_rsc_common *common) in mlx5_core_put_rsc()111 struct mlx5_core_rsc_common *common; in rsc_event_notifier()191 mlx5_core_put_rsc((struct mlx5_core_rsc_common *)qp); in destroy_resource_common()653 struct mlx5_core_rsc_common *mlx5_core_res_hold(struct mlx5_ib_dev *dev, in mlx5_core_res_hold()663 void mlx5_core_res_put(struct mlx5_core_rsc_common *res) in mlx5_core_res_put()
42 struct mlx5_core_rsc_common common; /* must be first */
1163 static inline struct mlx5_core_rsc_common *odp_get_rsc(struct mlx5_ib_dev *dev, in odp_get_rsc()1166 struct mlx5_core_rsc_common *common = NULL; in odp_get_rsc()1187 static inline struct mlx5_ib_qp *res_to_qp(struct mlx5_core_rsc_common *res) in res_to_qp()1194 static inline struct mlx5_ib_srq *res_to_srq(struct mlx5_core_rsc_common *res) in res_to_srq()1209 struct mlx5_core_rsc_common *res; in mlx5_ib_mr_wqe_pfault_handler()
516 struct mlx5_core_rsc_common common; /* must be first */
389 struct mlx5_core_rsc_common { struct1099 void mlx5_core_put_rsc(struct mlx5_core_rsc_common *common);