Home
last modified time | relevance | path

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

/external/jemalloc_new/src/
Dlarge.c144 size_t trailsize = usize - oldusize; in large_ralloc_no_move_expand() local
164 &arena->extents_dirty, extent_past_get(extent), trailsize, 0, in large_ralloc_no_move_expand()
167 &arena->extents_muzzy, extent_past_get(extent), trailsize, 0, in large_ralloc_no_move_expand()
174 extent_past_get(extent), trailsize, 0, CACHELINE, false, in large_ralloc_no_move_expand()
195 arena_stats_mapped_add(tsdn, &arena->stats, trailsize); in large_ralloc_no_move_expand()
Dpages.c129 size_t trailsize = alloc_size - leadsize - size; in os_pages_trim() local
134 if (trailsize != 0) { in os_pages_trim()
135 os_pages_unmap((void *)((uintptr_t)ret + size), trailsize); in os_pages_trim()
Dextent.c966 size_t trailsize = extent_size_get(*extent) - leadsize - esize; in extent_split_interior() local
977 *lead, leadsize, NSIZES, false, esize + trailsize, szind, in extent_split_interior()
987 if (trailsize != 0) { in extent_split_interior()
989 esize, szind, slab, trailsize, NSIZES, false, in extent_split_interior()
1000 if (leadsize == 0 && trailsize == 0) { in extent_split_interior()
/external/jemalloc/src/
Dpages.c124 size_t trailsize = alloc_size - leadsize - size; in pages_trim() local
128 if (trailsize != 0) in pages_trim()
129 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()