• Home
  • Raw
  • Download

Lines Matching refs:ctl_arenas

24 static ctl_arenas_t	*ctl_arenas;  variable
610 if (compat && i == ctl_arenas->narenas) { in arenas_i2a_impl()
618 } else if (validate && i >= ctl_arenas->narenas) { in arenas_i2a_impl()
626 assert(i < ctl_arenas->narenas || (!validate && i == in arenas_i2a_impl()
627 ctl_arenas->narenas)); in arenas_i2a_impl()
647 ret = ctl_arenas->arenas[arenas_i2a_impl(i, compat, false)]; in arenas_i_impl()
670 ctl_arenas->arenas[arenas_i2a_impl(i, compat, false)] = ret; in arenas_i_impl()
889 if ((ctl_arena = ql_last(&ctl_arenas->destroyed, destroyed_link)) != in ctl_arena_init()
891 ql_remove(&ctl_arenas->destroyed, ctl_arena, destroyed_link); in ctl_arena_init()
894 arena_ind = ctl_arenas->narenas; in ctl_arena_init()
907 if (arena_ind == ctl_arenas->narenas) { in ctl_arena_init()
908 ctl_arenas->narenas++; in ctl_arena_init()
928 VARIABLE_ARRAY(arena_t *, tarenas, ctl_arenas->narenas); in ctl_refresh()
936 for (i = 0; i < ctl_arenas->narenas; i++) { in ctl_refresh()
940 for (i = 0; i < ctl_arenas->narenas; i++) { in ctl_refresh()
995 ctl_arenas->epoch++; in ctl_refresh()
1012 if (ctl_arenas == NULL) { in ctl_init()
1013 ctl_arenas = (ctl_arenas_t *)base_alloc(tsdn, in ctl_init()
1015 if (ctl_arenas == NULL) { in ctl_init()
1054 ctl_arenas->narenas = narenas_total_get(); in ctl_init()
1055 for (i = 0; i < ctl_arenas->narenas; i++) { in ctl_init()
1062 ql_new(&ctl_arenas->destroyed); in ctl_init()
1507 READ(ctl_arenas->epoch, uint64_t); in CTL_RO_NL_GEN()
1945 unsigned narenas = ctl_arenas->narenas; in arena_i_decay()
2127 ql_tail_insert(&ctl_arenas->destroyed, ctl_arena, destroyed_link); in arena_i_destroy_ctl()
2170 ctl_arenas->narenas) { in arena_i_dss_ctl()
2348 if (i > ctl_arenas->narenas) { in arena_i_index()
2375 narenas = ctl_arenas->narenas; in arenas_narenas_ctl()
2874 if (a == UINT_MAX || !ctl_arenas->arenas[a]->initialized) { in stats_arenas_i_index()