Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/i40iw/
Di40iw.h432 u32 max_resources, in i40iw_alloc_resource() argument
440 resource_num = find_next_zero_bit(resource_array, max_resources, *next); in i40iw_alloc_resource()
441 if (resource_num >= max_resources) { in i40iw_alloc_resource()
442 resource_num = find_first_zero_bit(resource_array, max_resources); in i40iw_alloc_resource()
443 if (resource_num >= max_resources) { in i40iw_alloc_resource()
450 if (*next == max_resources) in i40iw_alloc_resource()
/Linux-v4.19/drivers/infiniband/hw/nes/
Dnes.h417 unsigned long *resource_array, u32 max_resources, in nes_alloc_resource() argument
425 resource_num = find_next_zero_bit(resource_array, max_resources, *next); in nes_alloc_resource()
426 if (resource_num >= max_resources) { in nes_alloc_resource()
427 resource_num = find_first_zero_bit(resource_array, max_resources); in nes_alloc_resource()
428 if (resource_num >= max_resources) { in nes_alloc_resource()
436 if (*next == max_resources) { in nes_alloc_resource()