Lines Matching refs:gap_size
180 base_extent_bump_alloc_helper(extent_t *extent, size_t *gap_size, size_t size, in base_extent_bump_alloc_helper() argument
187 *gap_size = ALIGNMENT_CEILING((uintptr_t)extent_addr_get(extent), in base_extent_bump_alloc_helper()
189 ret = (void *)((uintptr_t)extent_addr_get(extent) + *gap_size); in base_extent_bump_alloc_helper()
190 assert(extent_bsize_get(extent) >= *gap_size + size); in base_extent_bump_alloc_helper()
192 *gap_size + size), extent_bsize_get(extent) - *gap_size - size, in base_extent_bump_alloc_helper()
198 base_extent_bump_alloc_post(base_t *base, extent_t *extent, size_t gap_size, in base_extent_bump_alloc_post() argument
218 PAGE_CEILING((uintptr_t)addr - gap_size); in base_extent_bump_alloc_post()
224 - HUGEPAGE_CEILING((uintptr_t)addr - gap_size)) >> in base_extent_bump_alloc_post()
235 size_t gap_size; in base_extent_bump_alloc() local
237 ret = base_extent_bump_alloc_helper(extent, &gap_size, size, alignment); in base_extent_bump_alloc()
238 base_extent_bump_alloc_post(base, extent, gap_size, ret, size); in base_extent_bump_alloc()
254 size_t gap_size = ALIGNMENT_CEILING(header_size, alignment) - in base_block_alloc() local
263 size_t min_block_size = HUGEPAGE_CEILING(sz_psz2u(header_size + gap_size in base_block_alloc()
359 size_t gap_size; in base_new() local
363 &gap_size, base_size, base_alignment); in base_new()
389 base_extent_bump_alloc_post(base, &block->extent, gap_size, base, in base_new()