Searched refs:astats (Results 1 – 4 of 4) sorted by relevance
52 static bool ctl_arena_init(ctl_arena_stats_t *astats);53 static void ctl_arena_clear(ctl_arena_stats_t *astats);57 ctl_arena_stats_t *astats);504 ctl_arena_init(ctl_arena_stats_t *astats) in ctl_arena_init() argument507 if (astats->lstats == NULL) { in ctl_arena_init()508 astats->lstats = (malloc_large_stats_t *)a0malloc(nlclasses * in ctl_arena_init()510 if (astats->lstats == NULL) in ctl_arena_init()514 if (astats->hstats == NULL) { in ctl_arena_init()515 astats->hstats = (malloc_huge_stats_t *)a0malloc(nhclasses * in ctl_arena_init()517 if (astats->hstats == NULL) in ctl_arena_init()[all …]
2734 size_t *nactive, size_t *ndirty, arena_stats_t *astats, in arena_stats_merge() argument2746 astats->mapped += arena->stats.mapped; in arena_stats_merge()2747 astats->npurge += arena->stats.npurge; in arena_stats_merge()2748 astats->nmadvise += arena->stats.nmadvise; in arena_stats_merge()2749 astats->purged += arena->stats.purged; in arena_stats_merge()2750 astats->metadata_mapped += arena->stats.metadata_mapped; in arena_stats_merge()2751 astats->metadata_allocated += arena_metadata_allocated_get(arena); in arena_stats_merge()2752 astats->allocated_large += arena->stats.allocated_large; in arena_stats_merge()2753 astats->nmalloc_large += arena->stats.nmalloc_large; in arena_stats_merge()2754 astats->ndalloc_large += arena->stats.ndalloc_large; in arena_stats_merge()[all …]
40 arena_stats_t astats; member
492 arena_stats_t *astats, malloc_bin_stats_t *bstats,