Home
last modified time | relevance | path

Searched refs:mtt_table (Results 1 – 12 of 12) sorted by relevance

/drivers/infiniband/hw/hns/
Dhns_roce_mr.c187 if (hns_roce_table_get_range(hr_dev, &mr_table->mtt_table, *seg, in hns_roce_alloc_mtt_range()
233 hns_roce_table_put_range(hr_dev, &mr_table->mtt_table, mtt->first_seg, in hns_roce_mtt_cleanup()
361 mtts = hns_roce_table_find(&hr_dev->mr_table.mtt_table, in hns_roce_write_mtt_chunk()
Dhns_roce_main.c702 ret = hns_roce_init_hem_table(hr_dev, &hr_dev->mr_table.mtt_table, in hns_roce_init_hem()
756 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->mr_table.mtt_table); in hns_roce_init_hem()
Dhns_roce_hem.c403 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->mr_table.mtt_table); in hns_roce_cleanup_hem()
Dhns_roce_cq.c98 mtts = hns_roce_table_find(&hr_dev->mr_table.mtt_table, in hns_roce_cq_alloc()
Dhns_roce_device.h263 struct hns_roce_hem_table mtt_table; member
Dhns_roce_hw_v1.c2456 mtts = hns_roce_table_find(&hr_dev->mr_table.mtt_table, in hns_roce_v1_m_sqp()
2603 mtts = hns_roce_table_find(&hr_dev->mr_table.mtt_table, in hns_roce_v1_m_qp()
/drivers/infiniband/hw/mthca/
Dmthca_main.c421 mdev->mr_table.mtt_table = mthca_alloc_icm_table(mdev, init_hca->mtt_base, in mthca_init_icm()
426 if (!mdev->mr_table.mtt_table) { in mthca_init_icm()
542 mthca_free_icm_table(mdev, mdev->mr_table.mtt_table); in mthca_init_icm()
567 mthca_free_icm_table(mdev, mdev->mr_table.mtt_table); in mthca_free_icms()
Dmthca_mr.c199 if (mthca_table_get_range(dev, dev->mr_table.mtt_table, seg, in mthca_alloc_mtt_range()
247 mthca_table_put_range(dev, dev->mr_table.mtt_table, in mthca_free_mtt()
343 mtts = mthca_table_find(dev->mr_table.mtt_table, mtt->first_seg + in mthca_arbel_write_mtt_seg()
616 mr->mem.arbel.mtts = mthca_table_find(dev->mr_table.mtt_table, in mthca_fmr_alloc()
Dmthca_dev.h217 struct mthca_icm_table *mtt_table; member
/drivers/net/ethernet/mellanox/mlx4/
Dmr.c165 if (mlx4_table_get_range(dev, &mr_table->mtt_table, offset, in __mlx4_alloc_mtt_range()
227 mlx4_table_put_range(dev, &mr_table->mtt_table, offset, in __mlx4_free_mtt_range()
700 mtts = mlx4_table_find(&priv->mr_table.mtt_table, mtt->offset + in mlx4_write_mtt_chunk()
1069 fmr->mtts = mlx4_table_find(&priv->mr_table.mtt_table, in mlx4_fmr_alloc()
Dmain.c1664 err = mlx4_init_icm_table(dev, &priv->mr_table.mtt_table, in mlx4_init_icm()
1790 mlx4_cleanup_icm_table(dev, &priv->mr_table.mtt_table); in mlx4_init_icm()
1822 mlx4_cleanup_icm_table(dev, &priv->mr_table.mtt_table); in mlx4_free_icms()
Dmlx4.h676 struct mlx4_icm_table mtt_table; member