Searched refs:ida_alloc_max (Results 1 – 2 of 2) sorted by relevance
143 ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max() function151 return (ida_alloc_max(ida, ~0u, gfp)); in ida_alloc()
1071 devnum = ida_alloc_max(&uverbs_ida, IB_UVERBS_MAX_DEVICES - 1, in ib_uverbs_add_one()