Home
last modified time | relevance | path

Searched refs:mtts (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/hw/mthca/
Dmthca_mr.c319 u64 __iomem *mtts; in mthca_tavor_write_mtt_seg() local
322 mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size + in mthca_tavor_write_mtt_seg()
326 mtts + i); in mthca_tavor_write_mtt_seg()
333 __be64 *mtts; in mthca_arbel_write_mtt_seg() local
343 mtts = mthca_table_find(dev->mr_table.mtt_table, mtt->first_seg + in mthca_arbel_write_mtt_seg()
346 BUG_ON(!mtts); in mthca_arbel_write_mtt_seg()
352 mtts[i] = cpu_to_be64(buffer_list[i] | MTHCA_MTT_FLAG_PRESENT); in mthca_arbel_write_mtt_seg()
583 mr->attr.max_pages * sizeof *mr->mem.arbel.mtts > PAGE_SIZE) in mthca_fmr_alloc()
616 mr->mem.arbel.mtts = mthca_table_find(dev->mr_table.mtt_table, in mthca_fmr_alloc()
619 BUG_ON(!mr->mem.arbel.mtts); in mthca_fmr_alloc()
[all …]
Dmthca_provider.h87 u64 __iomem *mtts; member
91 __be64 *mtts; member
/drivers/net/ethernet/mellanox/mlx4/
Dmr.c699 __be64 *mtts; in mlx4_write_mtt_chunk() local
703 mtts = mlx4_table_find(&priv->mr_table.mtt_table, mtt->offset + in mlx4_write_mtt_chunk()
706 if (!mtts) in mlx4_write_mtt_chunk()
713 mtts[i] = cpu_to_be64(page_list[i] | MLX4_MTT_FLAG_PRESENT); in mlx4_write_mtt_chunk()
1025 fmr->mtts[i] = cpu_to_be64(page_list[i] | MLX4_MTT_FLAG_PRESENT); in mlx4_map_phys_fmr()
1060 if (max_pages * sizeof *fmr->mtts > PAGE_SIZE) in mlx4_fmr_alloc()
1073 fmr->mtts = mlx4_table_find(&priv->mr_table.mtt_table, in mlx4_fmr_alloc()
1077 if (!fmr->mtts) { in mlx4_fmr_alloc()