Lines Matching refs:first_seg
44 u32 first_seg; member
226 mtt->first_seg = mthca_alloc_mtt_range(dev, mtt->order, buddy); in __mthca_alloc_mtt()
227 if (mtt->first_seg == -1) { in __mthca_alloc_mtt()
245 mthca_buddy_free(mtt->buddy, mtt->first_seg, mtt->order); in mthca_free_mtt()
248 mtt->first_seg, in mthca_free_mtt()
249 mtt->first_seg + (1 << mtt->order) - 1); in mthca_free_mtt()
269 mtt->first_seg * dev->limits.mtt_seg_size + in __mthca_write_mtt()
322 mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size + in mthca_tavor_write_mtt_seg()
343 mtts = mthca_table_find(dev->mr_table.mtt_table, mtt->first_seg + in mthca_arbel_write_mtt_seg()
478 mr->mtt->first_seg * dev->limits.mtt_seg_size); in mthca_mr_alloc()
613 mtt_seg = mr->mtt->first_seg * dev->limits.mtt_seg_size; in mthca_fmr_alloc()
617 mr->mtt->first_seg, in mthca_fmr_alloc()