Lines Matching refs:old_usize

2162 irealloc_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize,  argument
2170 p = iralloc(tsd, old_ptr, old_usize, LARGE_MINCLASS, 0, false);
2176 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false);
2183 irealloc_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, argument
2193 p = irealloc_prof_sample(tsd, old_ptr, old_usize, usize, tctx);
2195 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false);
2201 prof_realloc(tsd, p, usize, tctx, prof_active, true, old_ptr, old_usize,
2309 size_t old_usize = 0; local
2343 old_usize = sz_index2size(alloc_ctx.szind);
2344 assert(old_usize == isalloc(tsd_tsdn(tsd), ptr));
2348 NULL : irealloc_prof(tsd, ptr, old_usize, usize,
2354 ret = iralloc(tsd, ptr, old_usize, size, 0, false);
2378 *tsd_thread_deallocatedp_get(tsd) += old_usize;
2611 irallocx_prof_sample(tsdn_t *tsdn, void *old_ptr, size_t old_usize, argument
2620 p = iralloct(tsdn, old_ptr, old_usize, LARGE_MINCLASS,
2627 p = iralloct(tsdn, old_ptr, old_usize, usize, alignment, zero,
2635 irallocx_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t size, argument
2646 p = irallocx_prof_sample(tsd_tsdn(tsd), old_ptr, old_usize,
2649 p = iralloct(tsd_tsdn(tsd), old_ptr, old_usize, size, alignment,
2669 old_usize, old_tctx);
2681 size_t old_usize; local
2722 old_usize = sz_index2size(alloc_ctx.szind);
2723 assert(old_usize == isalloc(tsd_tsdn(tsd), ptr));
2730 p = irallocx_prof(tsd, ptr, old_usize, size, alignment, &usize,
2736 p = iralloct(tsd_tsdn(tsd), ptr, old_usize, size, alignment,
2749 *tsd_thread_deallocatedp_get(tsd) += old_usize;
2769 ixallocx_helper(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size, argument
2773 if (ixalloc(tsdn, ptr, old_usize, size, extra, alignment, zero)) {
2774 return old_usize;
2782 ixallocx_prof_sample(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size, argument
2787 return old_usize;
2789 usize = ixallocx_helper(tsdn, ptr, old_usize, size, extra, alignment,
2796 ixallocx_prof(tsd_t *tsd, void *ptr, size_t old_usize, size_t size, argument
2828 usize = ixallocx_prof_sample(tsd_tsdn(tsd), ptr, old_usize,
2831 usize = ixallocx_helper(tsd_tsdn(tsd), ptr, old_usize, size,
2834 if (usize == old_usize) {
2838 prof_realloc(tsd, ptr, usize, tctx, prof_active, false, ptr, old_usize,
2847 size_t usize, old_usize; local
2866 old_usize = sz_index2size(alloc_ctx.szind);
2867 assert(old_usize == isalloc(tsd_tsdn(tsd), ptr));
2878 usize = old_usize;
2886 usize = ixallocx_prof(tsd, ptr, old_usize, size, extra,
2889 usize = ixallocx_helper(tsd_tsdn(tsd), ptr, old_usize, size,
2892 if (unlikely(usize == old_usize)) {
2898 *tsd_thread_deallocatedp_get(tsd) += old_usize;