Lines Matching refs:ctl_sarena
927 ctl_arena_t *ctl_sarena = arenas_i(MALLCTL_ARENAS_ALL); in ctl_refresh() local
934 ctl_arena_clear(ctl_sarena); in ctl_refresh()
946 ctl_arena_refresh(tsdn, tarenas[i], ctl_sarena, i, in ctl_refresh()
952 ctl_stats->allocated = ctl_sarena->astats->allocated_small + in ctl_refresh()
953 atomic_load_zu(&ctl_sarena->astats->astats.allocated_large, in ctl_refresh()
955 ctl_stats->active = (ctl_sarena->pactive << LG_PAGE); in ctl_refresh()
957 &ctl_sarena->astats->astats.base, ATOMIC_RELAXED) + in ctl_refresh()
958 atomic_load_zu(&ctl_sarena->astats->astats.internal, in ctl_refresh()
961 &ctl_sarena->astats->astats.metadata_thp, ATOMIC_RELAXED); in ctl_refresh()
963 &ctl_sarena->astats->astats.resident, ATOMIC_RELAXED); in ctl_refresh()
965 &ctl_sarena->astats->astats.mapped, ATOMIC_RELAXED); in ctl_refresh()
967 &ctl_sarena->astats->astats.retained, ATOMIC_RELAXED); in ctl_refresh()
1005 ctl_arena_t *ctl_sarena, *ctl_darena; in ctl_init() local
1035 if ((ctl_sarena = arenas_i_impl(tsd, MALLCTL_ARENAS_ALL, false, in ctl_init()
1040 ctl_sarena->initialized = true; in ctl_init()