Searched refs:ibdmah (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/infiniband/hw/mlx5/ ! |
| H A D | dmah.c | 13 static int mlx5_ib_alloc_dmah(struct ib_dmah *ibdmah, in mlx5_ib_alloc_dmah() argument 16 struct mlx5_core_dev *mdev = to_mdev(ibdmah->device)->mdev; in mlx5_ib_alloc_dmah() 17 struct mlx5_ib_dmah *dmah = to_mdmah(ibdmah); in mlx5_ib_alloc_dmah() 23 if (!(ibdmah->valid_fields & BIT(IB_DMAH_PH_EXISTS))) in mlx5_ib_alloc_dmah() 27 if (ibdmah->valid_fields & st_bits) { in mlx5_ib_alloc_dmah() 28 if ((ibdmah->valid_fields & st_bits) != st_bits) in mlx5_ib_alloc_dmah() 30 err = mlx5_st_alloc_index(mdev, ibdmah->mem_type, in mlx5_ib_alloc_dmah() 31 ibdmah->cpu_id, &dmah->st_index); in mlx5_ib_alloc_dmah() 39 static int mlx5_ib_dealloc_dmah(struct ib_dmah *ibdmah, in mlx5_ib_dealloc_dmah() argument 42 struct mlx5_ib_dmah *dmah = to_mdmah(ibdmah); in mlx5_ib_dealloc_dmah() [all …]
|
| H A D | dmah.h | 14 struct ib_dmah ibdmah; member 18 static inline struct mlx5_ib_dmah *to_mdmah(struct ib_dmah *ibdmah) in to_mdmah() argument 20 return container_of(ibdmah, struct mlx5_ib_dmah, ibdmah); in to_mdmah()
|
| H A D | main.c | 4576 INIT_RDMA_OBJ_SIZE(ib_dmah, mlx5_ib_dmah, ibdmah),
|
| /linux/include/rdma/ ! |
| H A D | ib_verbs.h | 2629 int (*alloc_dmah)(struct ib_dmah *ibdmah,
|