Lines Matching refs:oldusize
106 size_t oldusize = extent_usize_get(extent); in large_ralloc_no_move_shrink() local
110 assert(oldusize > usize); in large_ralloc_no_move_shrink()
133 arena_extent_ralloc_large_shrink(tsdn, arena, extent, oldusize); in large_ralloc_no_move_shrink()
142 size_t oldusize = extent_usize_get(extent); in large_ralloc_no_move_expand() local
144 size_t trailsize = usize - oldusize; in large_ralloc_no_move_expand()
208 ((uintptr_t)extent_addr_get(extent) + oldusize); in large_ralloc_no_move_expand()
217 memset((void *)((uintptr_t)extent_addr_get(extent) + oldusize), in large_ralloc_no_move_expand()
218 JEMALLOC_ALLOC_JUNK, usize - oldusize); in large_ralloc_no_move_expand()
221 arena_extent_ralloc_large_expand(tsdn, arena, extent, oldusize); in large_ralloc_no_move_expand()
229 size_t oldusize = extent_usize_get(extent); in large_ralloc_no_move() local
234 assert(oldusize >= LARGE_MINCLASS && usize_max >= LARGE_MINCLASS); in large_ralloc_no_move()
236 if (usize_max > oldusize) { in large_ralloc_no_move()
244 if (usize_min < usize_max && usize_min > oldusize && in large_ralloc_no_move()
256 if (oldusize >= usize_min && oldusize <= usize_max) { in large_ralloc_no_move()
262 if (oldusize > usize_max) { in large_ralloc_no_move()
283 size_t oldusize = extent_usize_get(extent); in large_ralloc() local
288 assert(oldusize >= LARGE_MINCLASS && usize >= LARGE_MINCLASS); in large_ralloc()
306 size_t copysize = (usize < oldusize) ? usize : oldusize; in large_ralloc()
308 isdalloct(tsdn, extent_addr_get(extent), oldusize, tcache, NULL, true); in large_ralloc()