Searched refs:rsrc_num (Results 1 – 1 of 1) sorted by relevance
474 u32 rsrc_num; in irdma_alloc_rsrc() local478 rsrc_num = find_next_zero_bit(rsrc_array, max_rsrc, *next); in irdma_alloc_rsrc()479 if (rsrc_num >= max_rsrc) { in irdma_alloc_rsrc()480 rsrc_num = find_first_zero_bit(rsrc_array, max_rsrc); in irdma_alloc_rsrc()481 if (rsrc_num >= max_rsrc) { in irdma_alloc_rsrc()485 rsrc_num); in irdma_alloc_rsrc()489 __set_bit(rsrc_num, rsrc_array); in irdma_alloc_rsrc()490 *next = rsrc_num + 1; in irdma_alloc_rsrc()493 *req_rsrc_num = rsrc_num; in irdma_alloc_rsrc()506 unsigned long *rsrc_array, u32 rsrc_num) in irdma_free_rsrc() argument[all …]