Searched refs:max_resources (Results 1 – 1 of 1) sorted by relevance
405 unsigned long *resource_array, u32 max_resources, in nes_alloc_resource() argument413 resource_num = find_next_zero_bit(resource_array, max_resources, *next); in nes_alloc_resource()414 if (resource_num >= max_resources) { in nes_alloc_resource()415 resource_num = find_first_zero_bit(resource_array, max_resources); in nes_alloc_resource()416 if (resource_num >= max_resources) { in nes_alloc_resource()424 if (*next == max_resources) { in nes_alloc_resource()