Lines Matching refs:arenas
488 {NAME("arenas"), CHILD(named, arenas)},
626 ctl_arena_stats_t *astats = &ctl_stats.arenas[i]; in ctl_arena_refresh()
627 ctl_arena_stats_t *sstats = &ctl_stats.arenas[ctl_stats.narenas]; in ctl_arena_refresh()
661 memcpy(astats, ctl_stats.arenas, (ctl_stats.narenas + 1) * in ctl_grow()
678 a0dalloc(ctl_stats.arenas); in ctl_grow()
679 ctl_stats.arenas = astats; in ctl_grow()
697 ctl_stats.arenas[ctl_stats.narenas].nthreads = 0; in ctl_refresh()
698 ctl_arena_clear(&ctl_stats.arenas[ctl_stats.narenas]); in ctl_refresh()
711 ctl_stats.arenas[i].nthreads = arena_nbound(i); in ctl_refresh()
713 ctl_stats.arenas[i].nthreads = 0; in ctl_refresh()
719 ctl_stats.arenas[i].initialized = initialized; in ctl_refresh()
728 ctl_stats.arenas[ctl_stats.narenas].allocated_small + in ctl_refresh()
729 ctl_stats.arenas[ctl_stats.narenas].astats.allocated_large + in ctl_refresh()
730 ctl_stats.arenas[ctl_stats.narenas].astats.allocated_huge; in ctl_refresh()
732 (ctl_stats.arenas[ctl_stats.narenas].pactive << LG_PAGE); in ctl_refresh()
734 ctl_stats.arenas[ctl_stats.narenas].astats.metadata_mapped + in ctl_refresh()
735 ctl_stats.arenas[ctl_stats.narenas].astats in ctl_refresh()
738 ctl_stats.arenas[ctl_stats.narenas].astats.metadata_mapped + in ctl_refresh()
739 ((ctl_stats.arenas[ctl_stats.narenas].pactive + in ctl_refresh()
740 ctl_stats.arenas[ctl_stats.narenas].pdirty) << LG_PAGE); in ctl_refresh()
742 ctl_stats.arenas[ctl_stats.narenas].astats.mapped; in ctl_refresh()
760 ctl_stats.arenas = (ctl_arena_stats_t *)a0malloc( in ctl_init()
762 if (ctl_stats.arenas == NULL) { in ctl_init()
766 memset(ctl_stats.arenas, 0, (ctl_stats.narenas + 1) * in ctl_init()
777 if (ctl_arena_init(&ctl_stats.arenas[i])) { in ctl_init()
781 ctl_stats.arenas[j].lstats); in ctl_init()
783 ctl_stats.arenas[j].hstats); in ctl_init()
785 a0dalloc(ctl_stats.arenas); in ctl_init()
786 ctl_stats.arenas = NULL; in ctl_init()
792 ctl_stats.arenas[ctl_stats.narenas].initialized = true; in ctl_init()
1774 ((bool *)oldp)[i] = ctl_stats.arenas[i].initialized; in arenas_initialized_ctl()
2005 CTL_RO_GEN(stats_arenas_i_dss, ctl_stats.arenas[mib[2]].dss, const char *) in CTL_RO_NL_CGEN()
2006 CTL_RO_GEN(stats_arenas_i_lg_dirty_mult, ctl_stats.arenas[mib[2]].lg_dirty_mult, in CTL_RO_NL_CGEN()
2008 CTL_RO_GEN(stats_arenas_i_nthreads, ctl_stats.arenas[mib[2]].nthreads, unsigned) in CTL_RO_NL_CGEN()
2009 CTL_RO_GEN(stats_arenas_i_pactive, ctl_stats.arenas[mib[2]].pactive, size_t) in CTL_RO_NL_CGEN()
2010 CTL_RO_GEN(stats_arenas_i_pdirty, ctl_stats.arenas[mib[2]].pdirty, size_t) in CTL_RO_NL_CGEN()
2012 ctl_stats.arenas[mib[2]].astats.mapped, size_t) in CTL_RO_NL_CGEN()
2014 ctl_stats.arenas[mib[2]].astats.npurge, uint64_t) in CTL_RO_NL_CGEN()
2016 ctl_stats.arenas[mib[2]].astats.nmadvise, uint64_t) in CTL_RO_NL_CGEN()
2018 ctl_stats.arenas[mib[2]].astats.purged, uint64_t) in CTL_RO_NL_CGEN()
2020 ctl_stats.arenas[mib[2]].astats.metadata_mapped, size_t) in CTL_RO_NL_CGEN()
2022 ctl_stats.arenas[mib[2]].astats.metadata_allocated, size_t) in CTL_RO_NL_CGEN()
2025 ctl_stats.arenas[mib[2]].allocated_small, size_t) in CTL_RO_NL_CGEN()
2027 ctl_stats.arenas[mib[2]].nmalloc_small, uint64_t) in CTL_RO_NL_CGEN()
2029 ctl_stats.arenas[mib[2]].ndalloc_small, uint64_t) in CTL_RO_NL_CGEN()
2031 ctl_stats.arenas[mib[2]].nrequests_small, uint64_t) in CTL_RO_NL_CGEN()
2033 ctl_stats.arenas[mib[2]].astats.allocated_large, size_t) in CTL_RO_NL_CGEN()
2035 ctl_stats.arenas[mib[2]].astats.nmalloc_large, uint64_t) in CTL_RO_NL_CGEN()
2037 ctl_stats.arenas[mib[2]].astats.ndalloc_large, uint64_t) in CTL_RO_NL_CGEN()
2039 ctl_stats.arenas[mib[2]].astats.nrequests_large, uint64_t) in CTL_RO_NL_CGEN()
2041 ctl_stats.arenas[mib[2]].astats.allocated_huge, size_t) in CTL_RO_NL_CGEN()
2043 ctl_stats.arenas[mib[2]].astats.nmalloc_huge, uint64_t) in CTL_RO_NL_CGEN()
2045 ctl_stats.arenas[mib[2]].astats.ndalloc_huge, uint64_t) in CTL_RO_NL_CGEN()
2047 ctl_stats.arenas[mib[2]].astats.nmalloc_huge, uint64_t) /* Intentional. */ in CTL_RO_NL_CGEN()
2050 ctl_stats.arenas[mib[2]].bstats[mib[4]].nmalloc, uint64_t) in CTL_RO_NL_CGEN()
2052 ctl_stats.arenas[mib[2]].bstats[mib[4]].ndalloc, uint64_t) in CTL_RO_NL_CGEN()
2054 ctl_stats.arenas[mib[2]].bstats[mib[4]].nrequests, uint64_t) in CTL_RO_NL_CGEN()
2056 ctl_stats.arenas[mib[2]].bstats[mib[4]].curregs, size_t) in CTL_RO_NL_CGEN()
2058 ctl_stats.arenas[mib[2]].bstats[mib[4]].nfills, uint64_t) in CTL_RO_NL_CGEN()
2060 ctl_stats.arenas[mib[2]].bstats[mib[4]].nflushes, uint64_t) in CTL_RO_NL_CGEN()
2062 ctl_stats.arenas[mib[2]].bstats[mib[4]].nruns, uint64_t) in CTL_RO_NL_CGEN()
2064 ctl_stats.arenas[mib[2]].bstats[mib[4]].reruns, uint64_t) in CTL_RO_NL_CGEN()
2066 ctl_stats.arenas[mib[2]].bstats[mib[4]].curruns, size_t) in CTL_RO_NL_CGEN()
2078 ctl_stats.arenas[mib[2]].lstats[mib[4]].nmalloc, uint64_t)
2080 ctl_stats.arenas[mib[2]].lstats[mib[4]].ndalloc, uint64_t)
2082 ctl_stats.arenas[mib[2]].lstats[mib[4]].nrequests, uint64_t)
2084 ctl_stats.arenas[mib[2]].lstats[mib[4]].curruns, size_t)
2096 ctl_stats.arenas[mib[2]].hstats[mib[4]].nmalloc, uint64_t)
2098 ctl_stats.arenas[mib[2]].hstats[mib[4]].ndalloc, uint64_t)
2100 ctl_stats.arenas[mib[2]].hstats[mib[4]].nmalloc, /* Intentional. */
2103 ctl_stats.arenas[mib[2]].hstats[mib[4]].curhchunks, size_t)
2120 if (i > ctl_stats.narenas || !ctl_stats.arenas[i].initialized) { in stats_arenas_i_index()