Lines Matching refs:first_seg
243 ret = hns_roce_alloc_mtt_range(hr_dev, mtt->order, &mtt->first_seg, in hns_roce_mtt_init()
260 hns_roce_buddy_free(&mr_table->mtt_buddy, mtt->first_seg, in hns_roce_mtt_cleanup()
263 mtt->first_seg, in hns_roce_mtt_cleanup()
264 mtt->first_seg + (1 << mtt->order) - 1); in hns_roce_mtt_cleanup()
267 hns_roce_buddy_free(&mr_table->mtt_cqe_buddy, mtt->first_seg, in hns_roce_mtt_cleanup()
270 mtt->first_seg, in hns_roce_mtt_cleanup()
271 mtt->first_seg + (1 << mtt->order) - 1); in hns_roce_mtt_cleanup()
274 hns_roce_buddy_free(&mr_table->mtt_srqwqe_buddy, mtt->first_seg, in hns_roce_mtt_cleanup()
277 mtt->first_seg, in hns_roce_mtt_cleanup()
278 mtt->first_seg + (1 << mtt->order) - 1); in hns_roce_mtt_cleanup()
281 hns_roce_buddy_free(&mr_table->mtt_idx_buddy, mtt->first_seg, in hns_roce_mtt_cleanup()
284 mtt->first_seg, in hns_roce_mtt_cleanup()
285 mtt->first_seg + (1 << mtt->order) - 1); in hns_roce_mtt_cleanup()
826 mtt->first_seg + in hns_roce_write_mtt_chunk()