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