Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/irdma/
Dmain.h425 u32 rsrc_num; in irdma_alloc_rsrc() local
429 rsrc_num = find_next_zero_bit(rsrc_array, max_rsrc, *next); in irdma_alloc_rsrc()
430 if (rsrc_num >= max_rsrc) { in irdma_alloc_rsrc()
431 rsrc_num = find_first_zero_bit(rsrc_array, max_rsrc); in irdma_alloc_rsrc()
432 if (rsrc_num >= max_rsrc) { in irdma_alloc_rsrc()
436 rsrc_num); in irdma_alloc_rsrc()
440 __set_bit(rsrc_num, rsrc_array); in irdma_alloc_rsrc()
441 *next = rsrc_num + 1; in irdma_alloc_rsrc()
444 *req_rsrc_num = rsrc_num; in irdma_alloc_rsrc()
457 unsigned long *rsrc_array, u32 rsrc_num) in irdma_free_rsrc() argument
[all …]