Searched refs:mlx5_core_rsc_common (Results 1 – 6 of 6) sorted by relevance
39 struct mlx5_core_rsc_common *mlx5_core_res_hold(struct mlx5_ib_dev *dev,42 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()94 struct mlx5_core_rsc_common *common; in rsc_event_notifier()185 mlx5_core_put_rsc((struct mlx5_core_rsc_common *)qp); in destroy_resource_common()629 struct mlx5_core_rsc_common *mlx5_core_res_hold(struct mlx5_ib_dev *dev, in mlx5_core_res_hold()639 void mlx5_core_res_put(struct mlx5_core_rsc_common *res) in mlx5_core_res_put()
41 struct mlx5_core_rsc_common common; /* must be first */
1227 static inline struct mlx5_core_rsc_common *odp_get_rsc(struct mlx5_ib_dev *dev, in odp_get_rsc()1230 struct mlx5_core_rsc_common *common = NULL; in odp_get_rsc()1251 static inline struct mlx5_ib_qp *res_to_qp(struct mlx5_core_rsc_common *res) in res_to_qp()1258 static inline struct mlx5_ib_srq *res_to_srq(struct mlx5_core_rsc_common *res) in res_to_srq()1273 struct mlx5_core_rsc_common *res; in mlx5_ib_mr_wqe_pfault_handler()
489 struct mlx5_core_rsc_common common; /* must be first */
387 struct mlx5_core_rsc_common { struct1005 void mlx5_core_put_rsc(struct mlx5_core_rsc_common *common);