Lines Matching defs:tcache
146 tcache_t *tcache, bool slow_path) {
147 assert(!tsdn_null(tsdn) || tcache == NULL);
149 if (likely(tcache != NULL)) {
152 tcache, size, ind, zero, slow_path);
156 tcache, size, ind, zero, slow_path);
281 arena_dalloc_large(tsdn_t *tsdn, void *ptr, tcache_t *tcache, szind_t szind,
285 arena_dalloc_promoted(tsdn, ptr, tcache, slow_path);
287 tcache_dalloc_large(tsdn_tsd(tsdn), tcache, ptr, szind,
302 arena_dalloc(tsdn_t *tsdn, void *ptr, tcache_t *tcache,
304 assert(!tsdn_null(tsdn) || tcache == NULL);
307 if (unlikely(tcache == NULL)) {
331 tcache_dalloc_small(tsdn_tsd(tsdn), tcache, ptr,
334 arena_dalloc_large(tsdn, ptr, tcache, alloc_ctx.szind,
379 arena_sdalloc(tsdn_t *tsdn, void *ptr, size_t size, tcache_t *tcache,
381 assert(!tsdn_null(tsdn) || tcache == NULL);
385 if (unlikely(tcache == NULL)) {
418 tcache_dalloc_small(tsdn_tsd(tsdn), tcache, ptr,
421 arena_dalloc_large(tsdn, ptr, tcache, alloc_ctx.szind,
454 * during tcache flushes. By force-inlining these paths, and using local copies