Lines Matching refs:arenas
502 {NAME("arenas"), CHILD(named, arenas)},
661 ctl_arena_stats_t *astats = &ctl_stats.arenas[i]; in ctl_arena_refresh()
662 ctl_arena_stats_t *sstats = &ctl_stats.arenas[ctl_stats.narenas]; in ctl_arena_refresh()
686 memcpy(astats, ctl_stats.arenas, (ctl_stats.narenas + 1) * in ctl_grow()
703 a0dalloc(ctl_stats.arenas); in ctl_grow()
704 ctl_stats.arenas = astats; in ctl_grow()
720 ctl_arena_clear(&ctl_stats.arenas[ctl_stats.narenas]); in ctl_refresh()
728 ctl_stats.arenas[i].initialized = initialized; in ctl_refresh()
738 ctl_stats.arenas[ctl_stats.narenas].allocated_small + in ctl_refresh()
739 ctl_stats.arenas[ctl_stats.narenas].astats.allocated_large + in ctl_refresh()
740 ctl_stats.arenas[ctl_stats.narenas].astats.allocated_huge; in ctl_refresh()
742 (ctl_stats.arenas[ctl_stats.narenas].pactive << LG_PAGE); in ctl_refresh()
744 ctl_stats.arenas[ctl_stats.narenas].astats.metadata_mapped + in ctl_refresh()
745 ctl_stats.arenas[ctl_stats.narenas].astats in ctl_refresh()
748 ctl_stats.arenas[ctl_stats.narenas].astats.metadata_mapped + in ctl_refresh()
749 ((ctl_stats.arenas[ctl_stats.narenas].pactive + in ctl_refresh()
750 ctl_stats.arenas[ctl_stats.narenas].pdirty) << LG_PAGE); in ctl_refresh()
752 ctl_stats.arenas[ctl_stats.narenas].astats.mapped; in ctl_refresh()
754 ctl_stats.arenas[ctl_stats.narenas].astats.retained; in ctl_refresh()
772 ctl_stats.arenas = (ctl_arena_stats_t *)a0malloc( in ctl_init()
774 if (ctl_stats.arenas == NULL) { in ctl_init()
778 memset(ctl_stats.arenas, 0, (ctl_stats.narenas + 1) * in ctl_init()
789 if (ctl_arena_init(&ctl_stats.arenas[i])) { in ctl_init()
793 ctl_stats.arenas[j].lstats); in ctl_init()
795 ctl_stats.arenas[j].hstats); in ctl_init()
797 a0dalloc(ctl_stats.arenas); in ctl_init()
798 ctl_stats.arenas = NULL; in ctl_init()
804 ctl_stats.arenas[ctl_stats.narenas].initialized = true; in ctl_init()
1864 ((bool *)oldp)[i] = ctl_stats.arenas[i].initialized; in arenas_initialized_ctl()
2121 CTL_RO_GEN(stats_arenas_i_dss, ctl_stats.arenas[mib[2]].dss, const char *) in CTL_RO_NL_CGEN()
2122 CTL_RO_GEN(stats_arenas_i_lg_dirty_mult, ctl_stats.arenas[mib[2]].lg_dirty_mult, in CTL_RO_NL_CGEN()
2124 CTL_RO_GEN(stats_arenas_i_decay_time, ctl_stats.arenas[mib[2]].decay_time, in CTL_RO_NL_CGEN()
2126 CTL_RO_GEN(stats_arenas_i_nthreads, ctl_stats.arenas[mib[2]].nthreads, unsigned) in CTL_RO_NL_CGEN()
2127 CTL_RO_GEN(stats_arenas_i_pactive, ctl_stats.arenas[mib[2]].pactive, size_t) in CTL_RO_NL_CGEN()
2128 CTL_RO_GEN(stats_arenas_i_pdirty, ctl_stats.arenas[mib[2]].pdirty, size_t) in CTL_RO_NL_CGEN()
2130 ctl_stats.arenas[mib[2]].astats.mapped, size_t) in CTL_RO_NL_CGEN()
2132 ctl_stats.arenas[mib[2]].astats.retained, size_t) in CTL_RO_NL_CGEN()
2134 ctl_stats.arenas[mib[2]].astats.npurge, uint64_t) in CTL_RO_NL_CGEN()
2136 ctl_stats.arenas[mib[2]].astats.nmadvise, uint64_t) in CTL_RO_NL_CGEN()
2138 ctl_stats.arenas[mib[2]].astats.purged, uint64_t) in CTL_RO_NL_CGEN()
2140 ctl_stats.arenas[mib[2]].astats.metadata_mapped, size_t) in CTL_RO_NL_CGEN()
2142 ctl_stats.arenas[mib[2]].astats.metadata_allocated, size_t) in CTL_RO_NL_CGEN()
2145 ctl_stats.arenas[mib[2]].allocated_small, size_t) in CTL_RO_NL_CGEN()
2147 ctl_stats.arenas[mib[2]].nmalloc_small, uint64_t) in CTL_RO_NL_CGEN()
2149 ctl_stats.arenas[mib[2]].ndalloc_small, uint64_t) in CTL_RO_NL_CGEN()
2151 ctl_stats.arenas[mib[2]].nrequests_small, uint64_t) in CTL_RO_NL_CGEN()
2153 ctl_stats.arenas[mib[2]].astats.allocated_large, size_t) in CTL_RO_NL_CGEN()
2155 ctl_stats.arenas[mib[2]].astats.nmalloc_large, uint64_t) in CTL_RO_NL_CGEN()
2157 ctl_stats.arenas[mib[2]].astats.ndalloc_large, uint64_t) in CTL_RO_NL_CGEN()
2159 ctl_stats.arenas[mib[2]].astats.nrequests_large, uint64_t) in CTL_RO_NL_CGEN()
2161 ctl_stats.arenas[mib[2]].astats.allocated_huge, size_t) in CTL_RO_NL_CGEN()
2163 ctl_stats.arenas[mib[2]].astats.nmalloc_huge, uint64_t) in CTL_RO_NL_CGEN()
2165 ctl_stats.arenas[mib[2]].astats.ndalloc_huge, uint64_t) in CTL_RO_NL_CGEN()
2167 ctl_stats.arenas[mib[2]].astats.nmalloc_huge, uint64_t) /* Intentional. */ in CTL_RO_NL_CGEN()
2170 ctl_stats.arenas[mib[2]].bstats[mib[4]].nmalloc, uint64_t) in CTL_RO_NL_CGEN()
2172 ctl_stats.arenas[mib[2]].bstats[mib[4]].ndalloc, uint64_t) in CTL_RO_NL_CGEN()
2174 ctl_stats.arenas[mib[2]].bstats[mib[4]].nrequests, uint64_t) in CTL_RO_NL_CGEN()
2176 ctl_stats.arenas[mib[2]].bstats[mib[4]].curregs, size_t) in CTL_RO_NL_CGEN()
2178 ctl_stats.arenas[mib[2]].bstats[mib[4]].nfills, uint64_t) in CTL_RO_NL_CGEN()
2180 ctl_stats.arenas[mib[2]].bstats[mib[4]].nflushes, uint64_t) in CTL_RO_NL_CGEN()
2182 ctl_stats.arenas[mib[2]].bstats[mib[4]].nruns, uint64_t) in CTL_RO_NL_CGEN()
2184 ctl_stats.arenas[mib[2]].bstats[mib[4]].reruns, uint64_t) in CTL_RO_NL_CGEN()
2186 ctl_stats.arenas[mib[2]].bstats[mib[4]].curruns, size_t) in CTL_RO_NL_CGEN()
2199 ctl_stats.arenas[mib[2]].lstats[mib[4]].nmalloc, uint64_t)
2201 ctl_stats.arenas[mib[2]].lstats[mib[4]].ndalloc, uint64_t)
2203 ctl_stats.arenas[mib[2]].lstats[mib[4]].nrequests, uint64_t)
2205 ctl_stats.arenas[mib[2]].lstats[mib[4]].curruns, size_t)
2218 ctl_stats.arenas[mib[2]].hstats[mib[4]].nmalloc, uint64_t)
2220 ctl_stats.arenas[mib[2]].hstats[mib[4]].ndalloc, uint64_t)
2222 ctl_stats.arenas[mib[2]].hstats[mib[4]].nmalloc, /* Intentional. */
2225 ctl_stats.arenas[mib[2]].hstats[mib[4]].curhchunks, size_t)
2243 if (i > ctl_stats.narenas || !ctl_stats.arenas[i].initialized) { in stats_arenas_i_index()