Lines Matching refs:bucket_count
58 DEBUG_ASSERT(block->bucket < state->bucket_count);
88 if (block->bucket + 1 == state->bucket_count)
139 state->bucket_count = log2_uint_floor(max_alloc_size) + 1;
140 const size_t size = state->bucket_count * sizeof(state->free_block_buckets[0]);
143 TRACEF("Failed to allocate storage for %u free bucket lists!\n", state->bucket_count);
152 for (uint i = 0; i < state->bucket_count; ++i)
160 DEBUG_ASSERT(state->bucket_count);
167 for (uint i = 0; i < state->bucket_count; ++i)
225 DEBUG_ASSERT(state->bucket_count && state->free_block_buckets);
226 uint bucket = state->bucket_count - 1;
249 DEBUG_ASSERT(bucket < state->bucket_count);
255 DEBUG_ASSERT(bucket < state->bucket_count);
299 if (bucket >= state->bucket_count) {
301 size, 1u << (state->bucket_count - 1));
312 while (bucket < state->bucket_count) {