Home
last modified time | relevance | path

Searched refs:newind (Results 1 – 4 of 4) sorted by relevance

/external/jemalloc_new/include/jemalloc/internal/
Darena_inlines_a.h43 unsigned newind = cpu; in percpu_arena_update() local
44 arena_t *newarena = arena_get(tsd_tsdn(tsd), newind, true); in percpu_arena_update()
48 arena_migrate(tsd, oldind, newind); in percpu_arena_update()
Djemalloc_internal_externs.h44 void arena_migrate(tsd_t *tsd, unsigned oldind, unsigned newind);
/external/jemalloc_new/src/
Dctl.c1697 unsigned newind, oldind; in CTL_RO_CONFIG_GEN() local
1703 newind = oldind = arena_ind_get(oldarena); in CTL_RO_CONFIG_GEN()
1704 WRITE(newind, unsigned); in CTL_RO_CONFIG_GEN()
1707 if (newind != oldind) { in CTL_RO_CONFIG_GEN()
1710 if (newind >= narenas_total_get()) { in CTL_RO_CONFIG_GEN()
1718 if (newind < percpu_arena_ind_limit(opt_percpu_arena)) { in CTL_RO_CONFIG_GEN()
1730 newarena = arena_get(tsd_tsdn(tsd), newind, true); in CTL_RO_CONFIG_GEN()
1736 arena_migrate(tsd, oldind, newind); in CTL_RO_CONFIG_GEN()
Djemalloc.c383 arena_migrate(tsd_t *tsd, unsigned oldind, unsigned newind) { in arena_migrate() argument
387 newarena = arena_get(tsd_tsdn(tsd), newind, false); in arena_migrate()