Lines Matching refs:arena_t
51 static void arena_decay_to_limit(tsdn_t *tsdn, arena_t *arena,
54 static bool arena_decay_dirty(tsdn_t *tsdn, arena_t *arena,
56 static void arena_dalloc_bin_slab(tsdn_t *tsdn, arena_t *arena, extent_t *slab,
58 static void arena_bin_lower_slab(tsdn_t *tsdn, arena_t *arena, extent_t *slab,
64 arena_basic_stats_merge(UNUSED tsdn_t *tsdn, arena_t *arena, unsigned *nthreads, in arena_basic_stats_merge()
77 arena_stats_merge(tsdn_t *tsdn, arena_t *arena, unsigned *nthreads, in arena_stats_merge()
209 arena_extents_dirty_dalloc(tsdn_t *tsdn, arena_t *arena, in arena_extents_dirty_dalloc()
278 arena_nactive_add(arena_t *arena, size_t add_pages) { in arena_nactive_add()
283 arena_nactive_sub(arena_t *arena, size_t sub_pages) { in arena_nactive_sub()
289 arena_large_malloc_stats_update(tsdn_t *tsdn, arena_t *arena, size_t usize) { in arena_large_malloc_stats_update()
305 arena_large_dalloc_stats_update(tsdn_t *tsdn, arena_t *arena, size_t usize) { in arena_large_dalloc_stats_update()
321 arena_large_ralloc_stats_update(tsdn_t *tsdn, arena_t *arena, size_t oldusize, in arena_large_ralloc_stats_update()
328 arena_extent_alloc_large(tsdn_t *tsdn, arena_t *arena, size_t usize, in arena_extent_alloc_large()
380 arena_extent_dalloc_large_prep(tsdn_t *tsdn, arena_t *arena, extent_t *extent) { in arena_extent_dalloc_large_prep()
391 arena_extent_ralloc_large_shrink(tsdn_t *tsdn, arena_t *arena, extent_t *extent, in arena_extent_ralloc_large_shrink()
405 arena_extent_ralloc_large_expand(tsdn_t *tsdn, arena_t *arena, extent_t *extent, in arena_extent_ralloc_large_expand()
511 arena_decay_try_purge(tsdn_t *tsdn, arena_t *arena, arena_decay_t *decay, in arena_decay_try_purge()
546 arena_decay_epoch_advance(tsdn_t *tsdn, arena_t *arena, arena_decay_t *decay, in arena_decay_epoch_advance()
614 arena_maybe_decay(tsdn_t *tsdn, arena_t *arena, arena_decay_t *decay, in arena_maybe_decay()
677 arena_dirty_decay_ms_get(arena_t *arena) { in arena_dirty_decay_ms_get()
682 arena_muzzy_decay_ms_get(arena_t *arena) { in arena_muzzy_decay_ms_get()
687 arena_decay_ms_set(tsdn_t *tsdn, arena_t *arena, arena_decay_t *decay, in arena_decay_ms_set()
710 arena_dirty_decay_ms_set(tsdn_t *tsdn, arena_t *arena, in arena_dirty_decay_ms_set()
717 arena_muzzy_decay_ms_set(tsdn_t *tsdn, arena_t *arena, in arena_muzzy_decay_ms_set()
724 arena_stash_decayed(tsdn_t *tsdn, arena_t *arena, in arena_stash_decayed()
743 arena_decay_stashed(tsdn_t *tsdn, arena_t *arena, in arena_decay_stashed()
816 arena_decay_to_limit(tsdn_t *tsdn, arena_t *arena, arena_decay_t *decay, in arena_decay_to_limit()
848 arena_decay_impl(tsdn_t *tsdn, arena_t *arena, arena_decay_t *decay, in arena_decay_impl()
883 arena_decay_dirty(tsdn_t *tsdn, arena_t *arena, bool is_background_thread, in arena_decay_dirty()
890 arena_decay_muzzy(tsdn_t *tsdn, arena_t *arena, bool is_background_thread, in arena_decay_muzzy()
897 arena_decay(tsdn_t *tsdn, arena_t *arena, bool is_background_thread, bool all) { in arena_decay()
905 arena_slab_dalloc(tsdn_t *tsdn, arena_t *arena, extent_t *slab) { in arena_slab_dalloc()
936 arena_bin_slabs_full_insert(arena_t *arena, bin_t *bin, extent_t *slab) { in arena_bin_slabs_full_insert()
950 arena_bin_slabs_full_remove(arena_t *arena, bin_t *bin, extent_t *slab) { in arena_bin_slabs_full_remove()
958 arena_reset(tsd_t *tsd, arena_t *arena) { in arena_reset()
1037 arena_destroy_retained(tsdn_t *tsdn, arena_t *arena) { in arena_destroy_retained()
1056 arena_destroy(tsd_t *tsd, arena_t *arena) { in arena_destroy()
1092 arena_slab_alloc_hard(tsdn_t *tsdn, arena_t *arena, in arena_slab_alloc_hard()
1115 arena_slab_alloc(tsdn_t *tsdn, arena_t *arena, szind_t binind, in arena_slab_alloc()
1152 arena_bin_nonfull_slab_get(tsdn_t *tsdn, arena_t *arena, bin_t *bin, in arena_bin_nonfull_slab_get()
1195 arena_bin_malloc_hard(tsdn_t *tsdn, arena_t *arena, bin_t *bin, in arena_bin_malloc_hard()
1250 arena_tcache_fill_small(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, in arena_tcache_fill_small()
1321 arena_malloc_small(tsdn_t *tsdn, arena_t *arena, szind_t binind, bool zero) { in arena_malloc_small()
1375 arena_malloc_hard(tsdn_t *tsdn, arena_t *arena, size_t size, szind_t ind, in arena_malloc_hard()
1393 arena_palloc(tsdn_t *tsdn, arena_t *arena, size_t usize, size_t alignment, in arena_palloc()
1424 arena_t *arena = extent_arena_get(extent); in arena_prof_promote()
1469 arena_dissociate_bin_slab(arena_t *arena, extent_t *slab, bin_t *bin) { in arena_dissociate_bin_slab()
1491 arena_dalloc_bin_slab(tsdn_t *tsdn, arena_t *arena, extent_t *slab, in arena_dalloc_bin_slab()
1506 arena_bin_lower_slab(UNUSED tsdn_t *tsdn, arena_t *arena, extent_t *slab, in arena_bin_lower_slab()
1533 arena_dalloc_bin_locked_impl(tsdn_t *tsdn, arena_t *arena, extent_t *slab, in arena_dalloc_bin_locked_impl()
1561 arena_dalloc_bin_junked_locked(tsdn_t *tsdn, arena_t *arena, extent_t *extent, in arena_dalloc_bin_junked_locked()
1567 arena_dalloc_bin(tsdn_t *tsdn, arena_t *arena, extent_t *extent, void *ptr) { in arena_dalloc_bin()
1579 arena_t *arena = extent_arena_get(extent); in arena_dalloc_small()
1622 arena_ralloc_move_helper(tsdn_t *tsdn, arena_t *arena, size_t usize, in arena_ralloc_move_helper()
1636 arena_ralloc(tsdn_t *tsdn, arena_t *arena, void *ptr, size_t oldsize, in arena_ralloc()
1677 arena_dss_prec_get(arena_t *arena) { in arena_dss_prec_get()
1682 arena_dss_prec_set(arena_t *arena, dss_prec_t dss_prec) { in arena_dss_prec_set()
1719 arena_retain_grow_limit_get_set(tsd_t *tsd, arena_t *arena, size_t *old_limit, in arena_retain_grow_limit_get_set()
1746 arena_nthreads_get(arena_t *arena, bool internal) { in arena_nthreads_get()
1751 arena_nthreads_inc(arena_t *arena, bool internal) { in arena_nthreads_inc()
1756 arena_nthreads_dec(arena_t *arena, bool internal) { in arena_nthreads_dec()
1761 arena_extent_sn_next(arena_t *arena) { in arena_extent_sn_next()
1765 arena_t *
1767 arena_t *arena; in arena_new()
1780 arena = (arena_t *)base_alloc(tsdn, base, sizeof(arena_t), CACHELINE); in arena_new()
1938 arena_prefork0(tsdn_t *tsdn, arena_t *arena) { in arena_prefork0()
1944 arena_prefork1(tsdn_t *tsdn, arena_t *arena) { in arena_prefork1()
1951 arena_prefork2(tsdn_t *tsdn, arena_t *arena) { in arena_prefork2()
1956 arena_prefork3(tsdn_t *tsdn, arena_t *arena) { in arena_prefork3()
1963 arena_prefork4(tsdn_t *tsdn, arena_t *arena) { in arena_prefork4()
1968 arena_prefork5(tsdn_t *tsdn, arena_t *arena) { in arena_prefork5()
1973 arena_prefork6(tsdn_t *tsdn, arena_t *arena) { in arena_prefork6()
1978 arena_prefork7(tsdn_t *tsdn, arena_t *arena) { in arena_prefork7()
1985 arena_postfork_parent(tsdn_t *tsdn, arena_t *arena) { in arena_postfork_parent()
2006 arena_postfork_child(tsdn_t *tsdn, arena_t *arena) { in arena_postfork_child()