Home
last modified time | relevance | path

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

/external/jemalloc/src/
Dpages.c107 size_t trailsize = alloc_size - leadsize - size; in pages_trim() local
111 if (trailsize != 0) in pages_trim()
112 pages_unmap((void *)((uintptr_t)ret + size), trailsize); in pages_trim()
Dchunk.c207 size_t alloc_size, leadsize, trailsize; in chunk_recycle() local
242 trailsize = extent_node_size_get(node) - leadsize - size; in chunk_recycle()
269 if (trailsize != 0) { in chunk_recycle()
271 if (chunk_hooks->split(ret, size + trailsize, size, in chunk_recycle()
272 trailsize, false, arena->ind)) { in chunk_recycle()
277 cache, ret, size + trailsize, zeroed, committed); in chunk_recycle()
286 chunks_ad, cache, ret, size + trailsize, in chunk_recycle()
292 trailsize, zeroed, committed); in chunk_recycle()
Darena.c2502 size_t alloc_size, leadsize, trailsize; in arena_palloc_large() local
2530 trailsize = alloc_size - leadsize - usize - large_pad; in arena_palloc_large()
2543 if (trailsize != 0) { in arena_palloc_large()
2545 trailsize, usize + large_pad, false); in arena_palloc_large()