Home
last modified time | relevance | path

Searched refs:trailsize (Results 1 – 3 of 3) sorted by relevance

/external/jemalloc/src/
Dpages.c128 size_t trailsize = alloc_size - leadsize - size; in pages_trim() local
132 if (trailsize != 0) in pages_trim()
133 pages_unmap((void *)((uintptr_t)ret + size), trailsize); in pages_trim()
Dchunk.c208 size_t alloc_size, leadsize, trailsize; in chunk_recycle() local
245 trailsize = extent_node_size_get(node) - leadsize - size; in chunk_recycle()
273 if (trailsize != 0) { in chunk_recycle()
275 if (chunk_hooks->split(ret, size + trailsize, size, in chunk_recycle()
276 trailsize, false, arena->ind)) { in chunk_recycle()
281 chunks_ad, cache, ret, size + trailsize, *sn, in chunk_recycle()
292 + trailsize, *sn, zeroed, committed); in chunk_recycle()
297 trailsize, *sn, zeroed, committed); in chunk_recycle()
Darena.c2706 size_t alloc_size, leadsize, trailsize; in arena_palloc_large() local
2736 trailsize = alloc_size - leadsize - usize - large_pad; in arena_palloc_large()
2749 if (trailsize != 0) { in arena_palloc_large()
2751 trailsize, usize + large_pad, false); in arena_palloc_large()