Lines Matching refs:oldsize
1740 arena_ralloc_no_move(tsdn_t *tsdn, void *ptr, size_t oldsize, size_t size, in arena_ralloc_no_move() argument
1754 if (likely(oldsize <= SC_SMALL_MAXCLASS && usize_min in arena_ralloc_no_move()
1760 assert(bin_infos[sz_size2index(oldsize)].reg_size == in arena_ralloc_no_move()
1761 oldsize); in arena_ralloc_no_move()
1763 || sz_size2index(usize_max) != sz_size2index(oldsize)) in arena_ralloc_no_move()
1764 && (size > oldsize || usize_max < oldsize)) { in arena_ralloc_no_move()
1771 } else if (oldsize >= SC_LARGE_MINCLASS in arena_ralloc_no_move()
1800 arena_ralloc(tsdn_t *tsdn, arena_t *arena, void *ptr, size_t oldsize, in arena_ralloc() argument
1811 if (!arena_ralloc_no_move(tsdn, ptr, oldsize, usize, 0, zero, in arena_ralloc()
1815 ptr, oldsize, usize, (uintptr_t)ptr, in arena_ralloc()
1821 if (oldsize >= SC_LARGE_MINCLASS in arena_ralloc()
1847 size_t copysize = (usize < oldsize) ? usize : oldsize; in arena_ralloc()
1849 isdalloct(tsdn, ptr, oldsize, tcache, NULL, true); in arena_ralloc()