Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw.h442 unsigned long *resource_array, in i40iw_alloc_resource() argument
451 resource_num = find_next_zero_bit(resource_array, max_resources, *next); in i40iw_alloc_resource()
453 resource_num = find_first_zero_bit(resource_array, max_resources); in i40iw_alloc_resource()
459 set_bit(resource_num, resource_array); in i40iw_alloc_resource()
477 unsigned long *resource_array, in i40iw_is_resource_allocated() argument
485 bit_is_set = test_bit(resource_num, resource_array); in i40iw_is_resource_allocated()
498 unsigned long *resource_array, in i40iw_free_resource() argument
504 clear_bit(resource_num, resource_array); in i40iw_free_resource()