Lines Matching refs:old_usize
1771 irealloc_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize,
1779 p = iralloc(tsd, old_ptr, old_usize, LARGE_MINCLASS, 0, false);
1784 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false);
1790 irealloc_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize)
1800 p = irealloc_prof_sample(tsd, old_ptr, old_usize, usize, tctx);
1802 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false);
1807 prof_realloc(tsd, p, usize, tctx, prof_active, true, old_ptr, old_usize,
1866 size_t old_usize = 0;
1885 old_usize = isalloc(ptr, config_prof);
1887 old_rzsize = config_prof ? p2rz(ptr) : u2rz(old_usize);
1892 NULL : irealloc_prof(tsd, ptr, old_usize, usize);
1897 ret = iralloc(tsd, ptr, old_usize, size, 0, false);
1918 *tsd_thread_deallocatedp_get(tsd) += old_usize;
1921 JEMALLOC_VALGRIND_REALLOC(true, ret, usize, true, ptr, old_usize,
2197 irallocx_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize,
2206 p = iralloct(tsd, old_ptr, old_usize, LARGE_MINCLASS, alignment,
2212 p = iralloct(tsd, old_ptr, old_usize, usize, alignment, zero,
2220 irallocx_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t size,
2232 p = irallocx_prof_sample(tsd, old_ptr, old_usize, *usize,
2235 p = iralloct(tsd, old_ptr, old_usize, size, alignment, zero,
2248 * serendipitously satisfied. Additionally, old_usize may not
2255 old_usize, old_tctx);
2268 size_t old_usize;
2297 old_usize = isalloc(ptr, config_prof);
2299 old_rzsize = u2rz(old_usize);
2305 p = irallocx_prof(tsd, ptr, old_usize, size, alignment, &usize,
2310 p = iralloct(tsd, ptr, old_usize, size, alignment, zero,
2321 *tsd_thread_deallocatedp_get(tsd) += old_usize;
2324 JEMALLOC_VALGRIND_REALLOC(true, p, usize, false, ptr, old_usize,
2337 ixallocx_helper(tsd_t *tsd, void *ptr, size_t old_usize, size_t size,
2342 if (ixalloc(tsd, ptr, old_usize, size, extra, alignment, zero))
2343 return (old_usize);
2350 ixallocx_prof_sample(tsd_t *tsd, void *ptr, size_t old_usize, size_t size,
2356 return (old_usize);
2357 usize = ixallocx_helper(tsd, ptr, old_usize, size, extra, alignment,
2364 ixallocx_prof(tsd_t *tsd, void *ptr, size_t old_usize, size_t size,
2397 usize = ixallocx_prof_sample(tsd, ptr, old_usize, size, extra,
2400 usize = ixallocx_helper(tsd, ptr, old_usize, size, extra,
2403 if (usize == old_usize) {
2407 prof_realloc(tsd, ptr, usize, tctx, prof_active, false, ptr, old_usize,
2417 size_t usize, old_usize;
2429 old_usize = isalloc(ptr, config_prof);
2441 usize = old_usize;
2448 old_rzsize = u2rz(old_usize);
2451 usize = ixallocx_prof(tsd, ptr, old_usize, size, extra,
2454 usize = ixallocx_helper(tsd, ptr, old_usize, size, extra,
2457 if (unlikely(usize == old_usize))
2462 *tsd_thread_deallocatedp_get(tsd) += old_usize;
2464 JEMALLOC_VALGRIND_REALLOC(false, ptr, usize, false, ptr, old_usize,