Searched refs:srq_ida (Results 1 – 3 of 3) sorted by relevance
64 struct hns_roce_ida *srq_ida = &hr_dev->srq_table.srq_ida; in alloc_srqn() local67 id = ida_alloc_range(&srq_ida->ida, srq_ida->min, srq_ida->max, in alloc_srqn()81 ida_free(&hr_dev->srq_table.srq_ida.ida, (int)srq->srqn); in free_srqn()458 struct hns_roce_ida *srq_ida = &srq_table->srq_ida; in hns_roce_init_srq_table() local462 ida_init(&srq_ida->ida); in hns_roce_init_srq_table()463 srq_ida->max = hr_dev->caps.num_srqs - 1; in hns_roce_init_srq_table()464 srq_ida->min = hr_dev->caps.reserved_srqs; in hns_roce_init_srq_table()
180 ida_destroy(&hr_dev->srq_table.srq_ida.ida); in hns_roce_cleanup_bitmap()
495 struct hns_roce_ida srq_ida; member