Searched refs:hns_roce_bitmap_alloc (Results 1 – 6 of 6) sorted by relevance
40 return hns_roce_bitmap_alloc(&hr_dev->pd_bitmap, pdn) ? -ENOMEM : 0; in hns_roce_pd_alloc()98 ret = hns_roce_bitmap_alloc(&hr_dev->uar_table.bitmap, &uar->logic_idx); in hns_roce_uar_alloc()
39 int hns_roce_bitmap_alloc(struct hns_roce_bitmap *bitmap, unsigned long *obj) in hns_roce_bitmap_alloc() function79 return hns_roce_bitmap_alloc(bitmap, obj); in hns_roce_bitmap_alloc_range()
113 ret = hns_roce_bitmap_alloc(&srq_table->bitmap, &srq->srqn); in hns_roce_srq_alloc()
117 ret = hns_roce_bitmap_alloc(&cq_table->bitmap, &hr_cq->cqn); in hns_roce_cq_alloc()
580 ret = hns_roce_bitmap_alloc(&hr_dev->mr_table.mtpt_bitmap, &index); in hns_roce_mr_alloc()1525 ret = hns_roce_bitmap_alloc(&hr_dev->mr_table.mtpt_bitmap, &index); in hns_roce_alloc_mw()
1168 int hns_roce_bitmap_alloc(struct hns_roce_bitmap *bitmap, unsigned long *obj);