/external/strace/tests/ |
getcpu.c | 53 long *tcache = tail_alloc(128); local 62 res = syscall(__NR_getcpu, cpu, node, tcache); 66 printf("getcpu([%u], [%u], %p) = 0\n", *cpu, *node, tcache);
|
/external/strace/tests-m32/ |
getcpu.c | 53 long *tcache = tail_alloc(128); local 62 res = syscall(__NR_getcpu, cpu, node, tcache); 66 printf("getcpu([%u], [%u], %p) = 0\n", *cpu, *node, tcache);
|
/external/strace/tests-mx32/ |
getcpu.c | 53 long *tcache = tail_alloc(128); local 62 res = syscall(__NR_getcpu, cpu, node, tcache); 66 printf("getcpu([%u], [%u], %p) = 0\n", *cpu, *node, tcache);
|
/external/jemalloc_new/include/jemalloc/internal/ |
arena_inlines_a.h | 47 /* Set new arena/tcache associations. */ 49 tcache_t *tcache = tcache_get(tsd); local 50 if (tcache != NULL) { 51 tcache_arena_reassociate(tsd_tsdn(tsd), tcache, local
|
jemalloc_internal_inlines_b.h | 25 tcache_t *tcache = tcache_get(tsd); local 26 if (tcache->arena != NULL) { 28 assert(tcache->arena == 30 if (tcache->arena != ret) { 32 tcache, ret); local 35 tcache_arena_associate(tsd_tsdn(tsd), tcache, local
|
tcache_structs.h | 21 * During tcache initialization, the avail pointer in each element of 34 * tcache definition. This enables arenas to aggregate stats across 35 * tcaches without having a tcache dependency. 39 /* The arena this tcache is associated with. */ 53 /* Linkage for list of available (previously used) explicit tcache IDs. */ 56 tcache_t *tcache; member in union:tcaches_s::__anon25145
|
/external/jemalloc/include/jemalloc/internal/ |
tcache.h | 10 * tcache pointers close to NULL are used to encode state information that is 58 /* Number of tcache allocation/deallocation events between incremental GCs. */ 103 * array. During tcache initialization, the avail pointer in each 109 /* Linkage for list of available (previously used) explicit tcache IDs. */ 112 tcache_t *tcache; member in union:tcaches_s::__anon25100 127 * Number of tcache bins. There are NBINS small-object bins, plus 0 or more 136 * Explicit tcaches, managed via the tcache.{create,flush,destroy} mallctls and 141 * explicit tcache is created without a disproportionate impact on memory usage. 146 void tcache_event_hard(tsd_t *tsd, tcache_t *tcache); 147 void *tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, 240 tcache_t *tcache; local [all...] |
jemalloc_internal.h | 173 * jemalloc can conceptually be broken into components (arena, tcache, etc.), 200 * t: tcache 392 #include "jemalloc/internal/tcache.h" 429 #include "jemalloc/internal/tcache.h" 527 #include "jemalloc/internal/tcache.h" 977 * Include portions of arena.h interleaved with tcache.h in order to resolve 983 #include "jemalloc/internal/tcache.h" 994 tcache_t *tcache, bool is_metadata, arena_t *arena, bool slow_path); 998 tcache_t *tcache, bool is_metadata, arena_t *arena); 1000 tcache_t *tcache, arena_t *arena) 1181 idalloctm(tsd_tsdn(tsd), ptr, tcache, false, slow_path); local 1199 isdalloct(tsd_tsdn(tsd), ptr, size, tcache, slow_path); local [all...] |
/external/jemalloc/src/ |
tcache.c | 11 static unsigned stack_nelms; /* Total stack elms per tcache. */ 37 tcache_event_hard(tsd_t *tsd, tcache_t *tcache) 39 szind_t binind = tcache->next_gc_bin; 40 tcache_bin_t *tbin = &tcache->tbins[binind]; 48 tcache_bin_flush_small(tsd, tcache, tbin, binind, 53 - tbin->low_water + (tbin->low_water >> 2), tcache); 71 tcache->next_gc_bin++; 72 if (tcache->next_gc_bin == nhbins) 73 tcache->next_gc_bin = 0; 77 tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, 323 tcache_t *tcache; local 367 tcache_arena_dissociate(tsd_tsdn(tsd), tcache, arena); local 398 idalloctm(tsd_tsdn(tsd), tcache, NULL, true, true); local 404 tcache_t *tcache; local 480 tcache_t *tcache; local [all...] |
ctl.c | 245 {NAME("tcache"), CHILD(named, thread_tcache)}, 260 {NAME("tcache"), CTL(config_tcache)}, 282 {NAME("tcache"), CTL(opt_tcache)}, 500 {NAME("tcache"), CHILD(named, tcache)}, 1342 tcache_t *tcache = tsd_tcache_get(tsd); local 1344 tcache_arena_reassociate(tsd_tsdn(tsd), tcache, local [all...] |
jemalloc.c | 758 * individual threads do not lock when recording tcache stats 766 tcache_t *tcache; local 775 ql_foreach(tcache, &arena->tcache_ql, link) { 776 tcache_stats_merge(tsdn, tcache, arena); 1259 CONF_HANDLE_BOOL(opt_tcache, "tcache", 1261 if (CONF_MATCH("tcache")) { 1266 "tcache cannot be enabled " 2195 tcache_t *tcache; local 2228 tcache_t *tcache; local 2382 tcache_t *tcache; local 2611 tcache_t *tcache; local 2653 tcache_t *tcache; local [all...] |
/external/jemalloc_new/src/ |
tcache.c | 20 static unsigned stack_nelms; /* Total stack elms per tcache. */ 44 tcache_event_hard(tsd_t *tsd, tcache_t *tcache) { 45 szind_t binind = tcache->next_gc_bin; 49 tbin = tcache_small_bin_get(tcache, binind); 51 tbin = tcache_large_bin_get(tcache, binind); 58 tcache_bin_flush_small(tsd, tcache, tbin, binind, 67 (tcache->lg_fill_div[binind] + 1)) >= 1) { 68 tcache->lg_fill_div[binind]++; 72 - tbin->low_water + (tbin->low_water >> 2), tcache); 79 if (binind < NBINS && tcache->lg_fill_div[binind] > 1) 405 tcache_t *tcache = tsd_tcachep_get_unsafe(tsd); local 431 tcache_arena_associate(tsd_tsdn(tsd), tcache, arena); local 436 tcache_arena_associate(tsd_tsdn(tsd), tcache, arena); local 447 tcache_t *tcache; local 466 tcache_arena_associate(tsd_tsdn(tsd), tcache, arena_ichoose(tsd, NULL)); local 512 tcache_arena_dissociate(tsd_tsdn(tsd), tcache); local 522 idalloctm(tsd_tsdn(tsd), tcache, NULL, NULL, true, true); local 529 tcache_t *tcache = tsd_tcachep_get(tsd); local 609 tcache_t *tcache = tcache_create_explicit(tsd); local 643 tcache_t *tcache = elm->tcache; local 651 tcache_t *tcache = tcaches_elm_remove(tsd, &tcaches[ind]); local 662 tcache_t *tcache = tcaches_elm_remove(tsd, elm); local [all...] |
arena.c | 1461 tcache_dalloc_large(tsdn_tsd(tsdn), tcache, ptr, local 2020 tcache_t *tcache = tcache_get(tsdn_tsd(tsdn)); local [all...] |
jemalloc.c | 642 * individual threads do not lock when recording tcache stats 650 tcache_t *tcache; local 653 ql_foreach(tcache, &arena->tcache_ql, link) { 654 tcache_stats_merge(tsdn, tcache, arena); 1150 CONF_HANDLE_BOOL(opt_tcache, "tcache") 1690 tcache_t *tcache; local 2238 idalloctm(tsd_tsdn(tsd), ptr, tcache, &alloc_ctx, false, local 2241 idalloctm(tsd_tsdn(tsd), ptr, tcache, &alloc_ctx, false, local 2296 isdalloct(tsd_tsdn(tsd), ptr, usize, tcache, ctx, false); local 2298 isdalloct(tsd_tsdn(tsd), ptr, usize, tcache, ctx, true); local 2317 tcache_t *tcache; local 2404 tcache_t *tcache; local 2685 tcache_t *tcache; local 2946 tcache_t *tcache; local 3008 tcache_t *tcache; local [all...] |