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