Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/infiniband/hw/mlx5/
A 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()
A Ddm.c210 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()
485 struct mlx5_ib_dm *dm = to_mdm(ibdm); in mlx5_ib_dealloc_dm()
489 mlx5_dm_memic_dealloc(to_memic(ibdm)); in mlx5_ib_dealloc_dm()
503 struct ib_dm *ibdm = in UVERBS_HANDLER() local
505 struct mlx5_ib_dm *dm = to_mdm(ibdm); in UVERBS_HANDLER()
[all …]

Completed in 4 milliseconds