Home
last modified time | relevance | path

Searched refs:newind (Results 1 – 8 of 8) 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/src/
Dctl.c1314 unsigned newind, oldind; in CTL_RO_CONFIG_GEN() local
1321 newind = oldind = oldarena->ind; in CTL_RO_CONFIG_GEN()
1322 WRITE(newind, unsigned); in CTL_RO_CONFIG_GEN()
1324 if (newind != oldind) { in CTL_RO_CONFIG_GEN()
1327 if (newind >= ctl_stats.narenas) { in CTL_RO_CONFIG_GEN()
1334 newarena = arena_get(tsd_tsdn(tsd), newind, true); in CTL_RO_CONFIG_GEN()
1340 arena_migrate(tsd, oldind, newind); in CTL_RO_CONFIG_GEN()
Djemalloc.c493 arena_migrate(tsd_t *tsd, unsigned oldind, unsigned newind) in arena_migrate() argument
498 newarena = arena_get(tsd_tsdn(tsd), newind, false); in arena_migrate()
/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()
/external/jemalloc/include/jemalloc/internal/
Djemalloc_internal.h492 void arena_migrate(tsd_t *tsd, unsigned oldind, unsigned newind);
Djemalloc_internal.h.in492 void arena_migrate(tsd_t *tsd, unsigned oldind, unsigned newind);