Home | History | Annotate | Download | only in src

Lines Matching defs:arenas

50 /* Protects arenas initialization. */
53 * Arenas that are used to service external requests. Not all elements of the
54 * arenas array are necessarily used; arenas are created lazily as needed.
56 * arenas[0..narenas_auto) are used for automatic multiplexing of threads and
57 * arenas. arenas[narenas_auto..narenas_total) are only used if the application
60 arena_t **arenas;
62 static arena_t *a0; /* arenas[0]; read-only after initialization. */
390 atomic_write_p((void **)&arenas[ind], arena);
414 /* Create a new arena and insert it into the arenas array at index ind. */
427 * Another thread may have already initialized arenas[ind] if it's an
533 * Copy to tdata array. It's possible that the actual number of arenas
536 * the arenas.extend mallctl, which we trust mallctl synchronization to
589 * arena, in case all extant arenas are in use.
593 * versus uninitialized arenas, due to the
604 * all arenas are already initialized.
1259 arenas = &a0;
1260 memset(arenas, 0, sizeof(arena_t *) * narenas_auto);
1339 /* Never create more than MAX_ARENAS arenas regardless of num_cpus.
1340 * Extra arenas use more PSS and are not very useful unless
1348 * Limit the number of arenas to the indexing range of MALLOCX_ARENA().
1357 /* Allocate and initialize arenas. */
1358 arenas = (arena_t **)base_alloc(sizeof(arena_t *) *
1360 if (arenas == NULL)