Lines Matching refs:tsd_tsdn

103 		extent_t *extent = iealloc(tsd_tsdn(tsd), *(tbin->avail - 1));  in tcache_bin_flush_small()
108 if (arena_prof_accum(tsd_tsdn(tsd), arena, in tcache_bin_flush_small()
110 prof_idump(tsd_tsdn(tsd)); in tcache_bin_flush_small()
114 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small()
127 extent = iealloc(tsd_tsdn(tsd), ptr); in tcache_bin_flush_small()
129 arena_dalloc_bin_junked_locked(tsd_tsdn(tsd), in tcache_bin_flush_small()
142 malloc_mutex_unlock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small()
143 arena_decay_ticks(tsd_tsdn(tsd), bin_arena, nflush - ndeferred); in tcache_bin_flush_small()
151 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small()
155 malloc_mutex_unlock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small()
181 extent_t *extent = iealloc(tsd_tsdn(tsd), *(tbin->avail - 1)); in tcache_bin_flush_large()
187 malloc_mutex_lock(tsd_tsdn(tsd), &locked_arena->lock); in tcache_bin_flush_large()
207 extent = iealloc(tsd_tsdn(tsd), ptr); in tcache_bin_flush_large()
209 large_dalloc_junked_locked(tsd_tsdn(tsd), in tcache_bin_flush_large()
222 malloc_mutex_unlock(tsd_tsdn(tsd), &locked_arena->lock); in tcache_bin_flush_large()
224 prof_idump(tsd_tsdn(tsd)); in tcache_bin_flush_large()
225 arena_decay_ticks(tsd_tsdn(tsd), locked_arena, nflush - in tcache_bin_flush_large()
233 malloc_mutex_lock(tsd_tsdn(tsd), &arena->lock); in tcache_bin_flush_large()
238 malloc_mutex_unlock(tsd_tsdn(tsd), &arena->lock); in tcache_bin_flush_large()
304 return (tcache_create(tsd_tsdn(tsd), arena)); in tcache_get_hard()
354 tcache_arena_dissociate(tsd_tsdn(tsd), tcache, arena); in tcache_destroy()
375 arena_prof_accum(tsd_tsdn(tsd), arena, tcache->prof_accumbytes)) in tcache_destroy()
376 prof_idump(tsd_tsdn(tsd)); in tcache_destroy()
378 idalloctm(tsd_tsdn(tsd), iealloc(tsd_tsdn(tsd), tcache), tcache, NULL, in tcache_destroy()
432 tcaches = base_alloc(tsd_tsdn(tsd), b0get(), sizeof(tcache_t *) in tcaches_create()
443 tcache = tcache_create(tsd_tsdn(tsd), arena); in tcaches_create()