Lines Matching refs:old_usize
1840 irealloc_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, argument
1848 p = iralloc(tsd, old_ptr, old_usize, LARGE_MINCLASS, 0, false);
1853 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false);
1859 irealloc_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize) argument
1869 p = irealloc_prof_sample(tsd, old_ptr, old_usize, usize, tctx);
1871 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false);
1876 prof_realloc(tsd, p, usize, tctx, prof_active, true, old_ptr, old_usize,
1939 size_t old_usize = 0; local
1964 old_usize = isalloc(tsd_tsdn(tsd), ptr, config_prof);
1967 u2rz(old_usize);
1973 NULL : irealloc_prof(tsd, ptr, old_usize, usize);
1978 ret = iralloc(tsd, ptr, old_usize, size, 0, false);
2004 *tsd_thread_deallocatedp_get(tsd) += old_usize;
2008 old_usize, old_rzsize, maybe, false);
2306 irallocx_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, argument
2315 p = iralloct(tsd, old_ptr, old_usize, LARGE_MINCLASS, alignment,
2321 p = iralloct(tsd, old_ptr, old_usize, usize, alignment, zero,
2329 irallocx_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t size, argument
2341 p = irallocx_prof_sample(tsd, old_ptr, old_usize, *usize,
2344 p = iralloct(tsd, old_ptr, old_usize, size, alignment, zero,
2364 old_usize, old_tctx);
2377 size_t old_usize; local
2407 old_usize = isalloc(tsd_tsdn(tsd), ptr, config_prof);
2409 old_rzsize = u2rz(old_usize);
2415 p = irallocx_prof(tsd, ptr, old_usize, size, alignment, &usize,
2420 p = iralloct(tsd, ptr, old_usize, size, alignment, zero,
2431 *tsd_thread_deallocatedp_get(tsd) += old_usize;
2435 old_usize, old_rzsize, no, zero);
2449 ixallocx_helper(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size, argument
2454 if (ixalloc(tsdn, ptr, old_usize, size, extra, alignment, zero))
2455 return (old_usize);
2462 ixallocx_prof_sample(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size, argument
2468 return (old_usize);
2469 usize = ixallocx_helper(tsdn, ptr, old_usize, size, extra, alignment,
2476 ixallocx_prof(tsd_t *tsd, void *ptr, size_t old_usize, size_t size, argument
2509 usize = ixallocx_prof_sample(tsd_tsdn(tsd), ptr, old_usize,
2512 usize = ixallocx_helper(tsd_tsdn(tsd), ptr, old_usize, size,
2515 if (usize == old_usize) {
2519 prof_realloc(tsd, ptr, usize, tctx, prof_active, false, ptr, old_usize,
2529 size_t usize, old_usize; local
2542 old_usize = isalloc(tsd_tsdn(tsd), ptr, config_prof);
2554 usize = old_usize;
2561 old_rzsize = u2rz(old_usize);
2564 usize = ixallocx_prof(tsd, ptr, old_usize, size, extra,
2567 usize = ixallocx_helper(tsd_tsdn(tsd), ptr, old_usize, size,
2570 if (unlikely(usize == old_usize))
2575 *tsd_thread_deallocatedp_get(tsd) += old_usize;
2578 old_usize, old_rzsize, no, zero);