Searched refs:logic_idx (Results 1 – 2 of 2) sorted by relevance
110 ret = hns_roce_bitmap_alloc(&hr_dev->uar_table.bitmap, &uar->logic_idx); in hns_roce_uar_alloc()114 if (uar->logic_idx > 0 && hr_dev->caps.phy_num_uars > 1) in hns_roce_uar_alloc()115 uar->index = (uar->logic_idx - 1) % in hns_roce_uar_alloc()137 hns_roce_bitmap_free(&hr_dev->uar_table.bitmap, uar->logic_idx, in hns_roce_uar_free()
219 unsigned long logic_idx; member