Home
last modified time | relevance | path

Searched refs:gap_size (Results 1 – 2 of 2) sorted by relevance

/external/jemalloc_new/src/
Dbase.c180 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()
[all …]
/external/jemalloc/src/
Dchunk_dss.c119 size_t gap_size, cpad_size; in chunk_alloc_dss() local
130 gap_size = (chunksize - CHUNK_ADDR2OFFSET(dss_max)) & in chunk_alloc_dss()
137 cpad = (void *)((uintptr_t)dss_max + gap_size); in chunk_alloc_dss()
145 incr = gap_size + cpad_size + size; in chunk_alloc_dss()