Lines Matching refs:usage_bit_count
46 unsigned int usage_bit_count;
66 if (start_bit == part->usage_bit_count)
70 bit = find_next_zero_bit(part->usage, part->usage_bit_count, bit);
71 if (!wrap && bit + bit_count >= part->usage_bit_count) {
186 unsigned int usage_bit_count;
194 usage_bit_count = mlxsw_core_res_get(mlxsw_sp->core,
203 indexes_per_usage_bit = index_range / usage_bit_count;
205 usage_size = BITS_TO_LONGS(usage_bit_count) * sizeof(unsigned long);
210 part->usage_bit_count = usage_bit_count;
212 part->last_allocated_bit = usage_bit_count - 1;