Home
last modified time | relevance | path

Searched refs:ibdm (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Ddm.h15 struct ib_dm ibdm; member
42 static inline struct mlx5_ib_dm *to_mdm(struct ib_dm *ibdm) in to_mdm() argument
44 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() argument
49 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() argument
54 return container_of(ibdm, struct mlx5_ib_dm_icm, base.ibdm); in to_icm()
Ddm.c167 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() local
211 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() argument
485 struct mlx5_ib_dm *dm = to_mdm(ibdm); in mlx5_ib_dealloc_dm()
[all …]