Searched refs:needed_count (Results 1 – 1 of 1) sorted by relevance
2558 find_available_slots(unsigned used_mask, unsigned needed_count) in find_available_slots() argument2560 unsigned needed_mask = (1 << needed_count) - 1; in find_available_slots()2561 const int max_bit_to_test = (8 * sizeof(used_mask)) - needed_count; in find_available_slots()2566 if ((needed_count == 0) || (max_bit_to_test < 0) || (max_bit_to_test > 32)) in find_available_slots()