Searched refs:max_resources (Results 1 – 1 of 1) sorted by relevance
416 unsigned long *resource_array, u32 max_resources, in nes_alloc_resource() argument424 resource_num = find_next_zero_bit(resource_array, max_resources, *next); in nes_alloc_resource()425 if (resource_num >= max_resources) { in nes_alloc_resource()426 resource_num = find_first_zero_bit(resource_array, max_resources); in nes_alloc_resource()427 if (resource_num >= max_resources) { in nes_alloc_resource()435 if (*next == max_resources) { in nes_alloc_resource()