Lines Matching defs:tsdn
27 tcache_salloc(tsdn_t *tsdn, const void *ptr)
29 return (arena_salloc(tsdn, iealloc(tsdn, ptr), ptr));
73 tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache,
78 arena_tcache_fill_small(tsdn, arena, tbin, binind, config_prof ?
249 tcache_arena_associate(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena)
253 malloc_mutex_lock(tsdn, &arena->lock);
256 malloc_mutex_unlock(tsdn, &arena->lock);
261 tcache_arena_dissociate(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena)
265 malloc_mutex_lock(tsdn, &arena->lock);
278 tcache_stats_merge(tsdn, tcache, arena);
279 malloc_mutex_unlock(tsdn, &arena->lock);
284 tcache_arena_reassociate(tsdn_t *tsdn, tcache_t *tcache, arena_t *oldarena,
287 tcache_arena_dissociate(tsdn, tcache, oldarena);
288 tcache_arena_associate(tsdn, tcache, newarena);
308 tcache_create(tsdn_t *tsdn, arena_t *arena)
322 tcache = ipallocztm(tsdn, size, CACHELINE, true, NULL, true,
327 tcache_arena_associate(tsdn, tcache, arena);
397 tcache_stats_merge(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena)
403 malloc_mutex_assert_owner(tsdn, &arena->lock);
409 malloc_mutex_lock(tsdn, &bin->lock);
411 malloc_mutex_unlock(tsdn, &bin->lock);
487 tcache_boot(tsdn_t *tsdn)
500 tcache_bin_info = (tcache_bin_info_t *)base_alloc(tsdn, b0get(), nhbins