Lines Matching refs:tctx
1889 prof_tctx_t *tctx = prof_alloc_prep( local
1893 if (likely((uintptr_t)tctx == (uintptr_t)1U)) {
1897 } else if ((uintptr_t)tctx > (uintptr_t)1U) {
1910 prof_alloc_rollback(tsd, tctx, true);
1913 prof_malloc(tsd_tsdn(tsd), allocation, usize, &alloc_ctx, tctx);
2163 prof_tctx_t *tctx) { argument
2166 if (tctx == NULL) {
2187 prof_tctx_t *old_tctx, *tctx; local
2191 tctx = prof_alloc_prep(tsd, usize, prof_active, true);
2192 if (unlikely((uintptr_t)tctx != (uintptr_t)1U)) {
2193 p = irealloc_prof_sample(tsd, old_ptr, old_usize, usize, tctx);
2198 prof_alloc_rollback(tsd, tctx, true);
2201 prof_realloc(tsd, p, usize, tctx, prof_active, true, old_ptr, old_usize,
2613 prof_tctx_t *tctx) { argument
2616 if (tctx == NULL) {
2640 prof_tctx_t *old_tctx, *tctx; local
2644 tctx = prof_alloc_prep(tsd, *usize, prof_active, false);
2645 if (unlikely((uintptr_t)tctx != (uintptr_t)1U)) {
2647 *usize, alignment, zero, tcache, arena, tctx);
2653 prof_alloc_rollback(tsd, tctx, false);
2668 prof_realloc(tsd, p, *usize, tctx, prof_active, false, old_ptr,
2783 size_t extra, size_t alignment, bool zero, prof_tctx_t *tctx) { argument
2786 if (tctx == NULL) {
2800 prof_tctx_t *old_tctx, *tctx; local
2825 tctx = prof_alloc_prep(tsd, usize_max, prof_active, false);
2827 if (unlikely((uintptr_t)tctx != (uintptr_t)1U)) {
2829 size, extra, alignment, zero, tctx);
2835 prof_alloc_rollback(tsd, tctx, false);
2838 prof_realloc(tsd, ptr, usize, tctx, prof_active, false, ptr, old_usize,