Searched refs:rounded (Results 1 - 1 of 1) sorted by relevance

/fuchsia/zircon/kernel/lib/heap/cmpctmalloc/
H A Dcmpctmalloc.c84 // Allocations are always rounded up to the nearest bucket size. This would
297 size_t rounded = ROUNDUP(size, 8); local
298 return size_to_index_helper(rounded, rounded_up_out, -8, 1);
489 // If we just make a big allocation it gets rounded off. If we actually
628 size_t rounded; local
633 bucket = size_to_index_allocating(i, &rounded);
636 ASSERT(IS_ALIGNED(rounded, 8));
637 ASSERT(rounded >= i);
641 ASSERT(rounded - i < 8);
643 // Only rounded size
[all...]

Completed in 79 milliseconds