Home
last modified time | relevance | path

Searched refs:logic_idx (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_pd.c110 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()
Dhns_roce_device.h219 unsigned long logic_idx; member