/external/jemalloc/test/integration/ |
thread_arena.c | 10 unsigned arena_ind; local 18 size = sizeof(arena_ind); 19 if ((err = mallctl("thread.arena", &arena_ind, &size, &main_arena_ind, 27 size = sizeof(arena_ind); 28 if ((err = mallctl("thread.arena", &arena_ind, &size, NULL, 0))) { 34 assert_u_eq(arena_ind, main_arena_ind, 43 unsigned arena_ind; local 52 size = sizeof(arena_ind); 53 if ((err = mallctl("thread.arena", &arena_ind, &size, NULL, 0))) { 62 (void *)&arena_ind); [all...] |
chunk.c | 29 bool *commit, unsigned arena_ind) 33 "*commit=%s, arena_ind=%u)\n", __func__, new_addr, size, alignment, 34 *zero ? "true" : "false", *commit ? "true" : "false", arena_ind); 37 arena_ind)); 41 chunk_dalloc(void *chunk, size_t size, bool committed, unsigned arena_ind) 44 TRACE_HOOK("%s(chunk=%p, size=%zu, committed=%s, arena_ind=%u)\n", 45 __func__, chunk, size, committed ? "true" : "false", arena_ind); 49 return (old_hooks.dalloc(chunk, size, committed, arena_ind)); 54 unsigned arena_ind) 59 "arena_ind=%u)\n", __func__, chunk, size, offset, length [all...] |
MALLOCX_ARENA.c | 17 unsigned arena_ind; local 21 sz = sizeof(arena_ind); 22 assert_d_eq(mallctl("arenas.extend", &arena_ind, &sz, NULL, 0), 0, 35 mib[1] = arena_ind; 41 p = mallocx(1, MALLOCX_ARENA(arena_ind));
|
xallocx.c | 9 arena_ind(void) function 240 int flags = MALLOCX_ARENA(arena_ind()); 307 int flags = MALLOCX_ARENA(arena_ind()); 412 int flags = MALLOCX_ARENA(arena_ind()) | MALLOCX_ZERO;
|
/external/jemalloc/src/ |
chunk.c | 22 size_t alignment, bool *zero, bool *commit, unsigned arena_ind); 24 unsigned arena_ind); 26 size_t length, unsigned arena_ind); 28 size_t length, unsigned arena_ind); 30 size_t length, unsigned arena_ind); 32 size_t size_b, bool committed, unsigned arena_ind); 34 size_t size_b, bool committed, unsigned arena_ind); 407 chunk_arena_get(unsigned arena_ind) 411 arena = arena_get(arena_ind, false); 422 bool *commit, unsigned arena_ind) [all...] |
ctl.c | 120 static void arena_i_purge(unsigned arena_ind, bool all); 1627 unsigned arena_ind = (unsigned)mib[1]; local 1682 unsigned arena_ind = (unsigned)mib[1]; local 1716 unsigned arena_ind = (unsigned)mib[1]; local 1750 unsigned arena_ind = (unsigned)mib[1]; local [all...] |
jemalloc.c | 2034 unsigned arena_ind = MALLOCX_ARENA_GET(flags); local 2282 unsigned arena_ind = MALLOCX_ARENA_GET(flags); local [all...] |