Lines Matching refs:tctx

2120 		prof_tctx_t *tctx = prof_alloc_prep(  in imalloc_body()  local
2124 if (likely((uintptr_t)tctx == (uintptr_t)1U)) { in imalloc_body()
2129 } else if ((uintptr_t)tctx > (uintptr_t)1U) { in imalloc_body()
2142 prof_alloc_rollback(tsd, tctx, true); in imalloc_body()
2145 prof_malloc(tsd_tsdn(tsd), allocation, usize, &alloc_ctx, tctx); in imalloc_body()
2511 prof_tctx_t *tctx, hook_ralloc_args_t *hook_args) { in irealloc_prof_sample() argument
2514 if (tctx == NULL) { in irealloc_prof_sample()
2537 prof_tctx_t *old_tctx, *tctx; in irealloc_prof() local
2541 tctx = prof_alloc_prep(tsd, usize, prof_active, true); in irealloc_prof()
2542 if (unlikely((uintptr_t)tctx != (uintptr_t)1U)) { in irealloc_prof()
2543 p = irealloc_prof_sample(tsd, old_ptr, old_usize, usize, tctx, in irealloc_prof()
2550 prof_alloc_rollback(tsd, tctx, true); in irealloc_prof()
2553 prof_realloc(tsd, p, usize, tctx, prof_active, true, old_ptr, old_usize, in irealloc_prof()
3136 prof_tctx_t *tctx, hook_ralloc_args_t *hook_args) { in irallocx_prof_sample() argument
3139 if (tctx == NULL) { in irallocx_prof_sample()
3164 prof_tctx_t *old_tctx, *tctx; in irallocx_prof() local
3168 tctx = prof_alloc_prep(tsd, *usize, prof_active, false); in irallocx_prof()
3169 if (unlikely((uintptr_t)tctx != (uintptr_t)1U)) { in irallocx_prof()
3171 *usize, alignment, zero, tcache, arena, tctx, hook_args); in irallocx_prof()
3177 prof_alloc_rollback(tsd, tctx, false); in irallocx_prof()
3192 prof_realloc(tsd, p, *usize, tctx, prof_active, false, old_ptr, in irallocx_prof()
3311 size_t extra, size_t alignment, bool zero, prof_tctx_t *tctx) { in ixallocx_prof_sample() argument
3314 if (tctx == NULL) { in ixallocx_prof_sample()
3328 prof_tctx_t *old_tctx, *tctx; in ixallocx_prof() local
3355 tctx = prof_alloc_prep(tsd, usize_max, prof_active, false); in ixallocx_prof()
3357 if (unlikely((uintptr_t)tctx != (uintptr_t)1U)) { in ixallocx_prof()
3359 size, extra, alignment, zero, tctx); in ixallocx_prof()
3365 prof_alloc_rollback(tsd, tctx, false); in ixallocx_prof()
3368 prof_realloc(tsd, ptr, usize, tctx, prof_active, false, ptr, old_usize, in ixallocx_prof()