Searched refs:ibdm (Results 1 – 2 of 2) sorted by relevance
15 struct ib_dm ibdm; member42 static inline struct mlx5_ib_dm *to_mdm(struct ib_dm *ibdm) in to_mdm() argument44 return container_of(ibdm, struct mlx5_ib_dm, ibdm); in to_mdm()47 static inline struct mlx5_ib_dm_memic *to_memic(struct ib_dm *ibdm) in to_memic() argument49 return container_of(ibdm, struct mlx5_ib_dm_memic, base.ibdm); in to_memic()52 static inline struct mlx5_ib_dm_icm *to_icm(struct ib_dm *ibdm) in to_icm() argument54 return container_of(ibdm, struct mlx5_ib_dm_icm, base.ibdm); in to_icm()
167 struct mlx5_ib_dev *dev = to_mdev(dm->base.ibdm.device); in mlx5_ib_dm_memic_free()210 struct ib_dm *ibdm = uobj->object; in UVERBS_HANDLER() local211 struct mlx5_ib_dm_memic *dm = to_memic(ibdm); in UVERBS_HANDLER()294 dm->base.ibdm.device = ctx->device; in handle_alloc_dm_memic()330 return &dm->base.ibdm; in handle_alloc_dm_memic()387 dm->base.ibdm.device = ctx->device; in handle_alloc_dm_sw_icm()412 return &dm->base.ibdm; in handle_alloc_dm_sw_icm()470 struct mlx5_core_dev *dev = to_mdev(dm->base.ibdm.device)->mdev; in mlx5_dm_icm_dealloc()480 static int mlx5_ib_dealloc_dm(struct ib_dm *ibdm, in mlx5_ib_dealloc_dm() argument485 struct mlx5_ib_dm *dm = to_mdm(ibdm); in mlx5_ib_dealloc_dm()[all …]