Searched refs:mlx5_core_rsc_common (Results 1 – 5 of 5) 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()34 void mlx5_core_put_rsc(struct mlx5_core_rsc_common *common) in mlx5_core_put_rsc()113 struct mlx5_core_rsc_common *common; in rsc_event_notifier()205 mlx5_core_put_rsc((struct mlx5_core_rsc_common *)qp); in destroy_resource_common()684 struct mlx5_core_rsc_common *mlx5_core_res_hold(struct mlx5_ib_dev *dev, in mlx5_core_res_hold()694 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 */
1338 static inline struct mlx5_core_rsc_common *odp_get_rsc(struct mlx5_ib_dev *dev, in odp_get_rsc()1341 struct mlx5_core_rsc_common *common = NULL; in odp_get_rsc()1362 static inline struct mlx5_ib_qp *res_to_qp(struct mlx5_core_rsc_common *res) in res_to_qp()1369 static inline struct mlx5_ib_srq *res_to_srq(struct mlx5_core_rsc_common *res) in res_to_srq()1384 struct mlx5_core_rsc_common *res; in mlx5_ib_mr_wqe_pfault_handler()
400 struct mlx5_core_rsc_common { struct1086 void mlx5_core_put_rsc(struct mlx5_core_rsc_common *common);