Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/irdma/
Dmain.h420 u32 rsrc_num; in irdma_alloc_rsrc() local
424 rsrc_num = find_next_zero_bit(rsrc_array, max_rsrc, *next); in irdma_alloc_rsrc()
425 if (rsrc_num >= max_rsrc) { in irdma_alloc_rsrc()
426 rsrc_num = find_first_zero_bit(rsrc_array, max_rsrc); in irdma_alloc_rsrc()
427 if (rsrc_num >= max_rsrc) { in irdma_alloc_rsrc()
431 rsrc_num); in irdma_alloc_rsrc()
435 __set_bit(rsrc_num, rsrc_array); in irdma_alloc_rsrc()
436 *next = rsrc_num + 1; in irdma_alloc_rsrc()
439 *req_rsrc_num = rsrc_num; in irdma_alloc_rsrc()
452 unsigned long *rsrc_array, u32 rsrc_num) in irdma_free_rsrc() argument
[all …]