Lines Matching refs:arena_t
60 static arena_t **arenas;
62 static arena_t *a0; /* arenas[0]; read-only after initialization. */
283 arena_t *
363 static arena_t *
366 arena_t *arena; in arena_init_locked()
374 arena_t **arenas_new = in arena_init_locked()
375 (arena_t **)a0malloc(CACHELINE_CEILING(narenas_new * in arena_init_locked()
376 sizeof(arena_t *))); in arena_init_locked()
379 memcpy(arenas_new, arenas, narenas_total * sizeof(arena_t *)); in arena_init_locked()
406 arena_t *
409 arena_t *arena; in arena_init()
432 arena_t *arena; in arena_bind_locked()
453 arena_t *oldarena, *newarena; in arena_migrate()
478 arena_t *arena; in arena_unbind()
487 arena_t *
490 arena_t *arena; in arena_get_hard()
491 arena_t **arenas_cache = tsd_arenas_cache_get(tsd); in arena_get_hard()
512 arenas_cache = (arena_t **)a0malloc(sizeof(arena_t *) * in arena_get_hard()
543 memcpy(arenas_cache, arenas, sizeof(arena_t *) * narenas_actual); in arena_get_hard()
546 memset(&arenas_cache[narenas_actual], 0, sizeof(arena_t *) * in arena_get_hard()
558 arena_t *
561 arena_t *ret; in arena_choose_hard()
636 arena_t *arena; in arena_cleanup()
646 arena_t **arenas_cache; in arenas_cache_cleanup()
689 arena_t *arena = arenas[i]; in stats_print_atexit()
1209 memset(arenas, 0, sizeof(arena_t *) * narenas_auto);
1290 if (narenas_auto > chunksize / sizeof(arena_t *)) {
1291 narenas_auto = chunksize / sizeof(arena_t *);
1298 arenas = (arena_t **)base_alloc(sizeof(arena_t *) * narenas_total);
1305 memset(arenas, 0, sizeof(arena_t *) * narenas_total);
1891 size_t *alignment, bool *zero, tcache_t **tcache, arena_t **arena)
1921 size_t *alignment, bool *zero, tcache_t **tcache, arena_t **arena)
1940 tcache_t *tcache, arena_t *arena)
1952 size_t alignment, bool zero, tcache_t *tcache, arena_t *arena)
1962 size_t alignment, bool zero, tcache_t *tcache, arena_t *arena)
1988 arena_t *arena;
2018 arena_t *arena;
2070 size_t alignment, size_t usize, bool zero, tcache_t *tcache, arena_t *arena,
2094 arena_t *arena)
2139 arena_t *arena;