Searched refs:mlx5_core_rsc_common (Results 1 – 5 of 5) sorted by relevance
46 static struct mlx5_core_rsc_common *49 struct mlx5_core_rsc_common *common; in mlx5_get_rsc()63 void mlx5_core_put_rsc(struct mlx5_core_rsc_common *common) in mlx5_core_put_rsc()125 struct mlx5_core_rsc_common *common; in rsc_event_notifier()229 mlx5_core_put_rsc((struct mlx5_core_rsc_common *)qp); in destroy_resource_common()722 struct mlx5_core_rsc_common *mlx5_core_res_hold(struct mlx5_core_dev *dev, in mlx5_core_res_hold()733 void mlx5_core_res_put(struct mlx5_core_rsc_common *res) in mlx5_core_res_put()
477 struct mlx5_core_rsc_common common; /* must be first */603 struct mlx5_core_rsc_common *mlx5_core_res_hold(struct mlx5_core_dev *dev,606 void mlx5_core_res_put(struct mlx5_core_rsc_common *res);
392 struct mlx5_core_rsc_common { struct997 void mlx5_core_put_rsc(struct mlx5_core_rsc_common *common);
41 struct mlx5_core_rsc_common common; /* must be first */
1126 static inline struct mlx5_core_rsc_common *odp_get_rsc(struct mlx5_ib_dev *dev, in odp_get_rsc()1129 struct mlx5_core_rsc_common *common = NULL; in odp_get_rsc()1150 static inline struct mlx5_ib_qp *res_to_qp(struct mlx5_core_rsc_common *res) in res_to_qp()1157 static inline struct mlx5_ib_srq *res_to_srq(struct mlx5_core_rsc_common *res) in res_to_srq()1172 struct mlx5_core_rsc_common *res; in mlx5_ib_mr_wqe_pfault_handler()