/external/jemalloc/src/ |
D | android_je_mallinfo.c | 24 malloc_mutex_lock(TSDN_NULL, &arenas_lock); in je_mallinfo() 27 malloc_mutex_lock(TSDN_NULL, &arenas[i]->lock); in je_mallinfo() 31 malloc_mutex_unlock(TSDN_NULL, &arenas[i]->lock); in je_mallinfo() 36 malloc_mutex_lock(TSDN_NULL, &bin->lock); in je_mallinfo() 38 malloc_mutex_unlock(TSDN_NULL, &bin->lock); in je_mallinfo() 42 malloc_mutex_unlock(TSDN_NULL, &arenas_lock); in je_mallinfo() 60 malloc_mutex_lock(TSDN_NULL, &arenas_lock); in __mallinfo_arena_info() 63 malloc_mutex_lock(TSDN_NULL, &arenas[aidx]->lock); in __mallinfo_arena_info() 67 malloc_mutex_unlock(TSDN_NULL, &arenas[aidx]->lock); in __mallinfo_arena_info() 72 malloc_mutex_lock(TSDN_NULL, &bin->lock); in __mallinfo_arena_info() [all …]
|
D | tsd.c | 174 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_check_recursion() 177 malloc_mutex_unlock(TSDN_NULL, &head->lock); in tsd_init_check_recursion() 185 malloc_mutex_unlock(TSDN_NULL, &head->lock); in tsd_init_check_recursion() 193 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_finish() 195 malloc_mutex_unlock(TSDN_NULL, &head->lock); in tsd_init_finish()
|
D | jemalloc.c | 336 return (iallocztm(TSDN_NULL, size, size2index(size), zero, NULL, in a0ialloc() 337 is_metadata, arena_get(TSDN_NULL, 0, true), true)); in a0ialloc() 344 idalloctm(TSDN_NULL, ptr, false, is_metadata, true); in a0idalloc() 1337 malloc_mutex_unlock(TSDN_NULL, &init_lock); 1339 malloc_mutex_lock(TSDN_NULL, &init_lock); 1374 if (config_tcache && tcache_boot(TSDN_NULL)) 1390 if (arena_init(TSDN_NULL, 0) == NULL) 1403 malloc_mutex_lock(TSDN_NULL, &init_lock); 1405 malloc_mutex_unlock(TSDN_NULL, &init_lock); 1492 malloc_mutex_lock(TSDN_NULL, &init_lock); [all …]
|
D | quarantine.c | 31 false, NULL, true, arena_get(TSDN_NULL, 0, true), true); in quarantine_init()
|
D | prof.c | 557 size2index(size), false, NULL, true, arena_get(TSDN_NULL, 0, true), in prof_gctx_create() 1803 arena_get(TSDN_NULL, 0, true), true); in prof_tdata_init_impl() 2043 arena_get(TSDN_NULL, 0, true), true); in prof_thread_name_alloc()
|
D | tcache.c | 336 arena_get(TSDN_NULL, 0, true)); in tcache_create()
|
D | chunk.c | 751 return ((rtree_node_elm_t *)base_alloc(TSDN_NULL, nelms * in chunks_rtree_node_alloc()
|
/external/jemalloc_new/src/ |
D | android_je_mallinfo.c | 26 …uint64_t ndalloc = arena_stats_read_u64(TSDN_NULL, &arena->stats, &arena->stats.lstats[j].ndalloc); in accumulate_large_allocs() 27 …uint64_t nmalloc = arena_stats_read_u64(TSDN_NULL, &arena->stats, &arena->stats.lstats[j].nmalloc); in accumulate_large_allocs() 40 malloc_mutex_lock(TSDN_NULL, &bin->lock); in accumulate_small_allocs() 42 malloc_mutex_unlock(TSDN_NULL, &bin->lock); in accumulate_small_allocs() 55 malloc_mutex_lock(TSDN_NULL, &arenas_lock); in je_mallinfo() 65 malloc_mutex_unlock(TSDN_NULL, &arenas_lock); in je_mallinfo() 83 malloc_mutex_lock(TSDN_NULL, &arenas_lock); in je_mallinfo_arena_info() 92 malloc_mutex_unlock(TSDN_NULL, &arenas_lock); in je_mallinfo_arena_info() 100 malloc_mutex_lock(TSDN_NULL, &arenas_lock); in je_mallinfo_bin_info() 106 malloc_mutex_lock(TSDN_NULL, &bin->lock); in je_mallinfo_bin_info() [all …]
|
D | tsd.c | 330 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_check_recursion() 333 malloc_mutex_unlock(TSDN_NULL, &head->lock); in tsd_init_check_recursion() 341 malloc_mutex_unlock(TSDN_NULL, &head->lock); in tsd_init_check_recursion() 347 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_finish() 349 malloc_mutex_unlock(TSDN_NULL, &head->lock); in tsd_init_finish()
|
D | jemalloc.c | 234 return iallocztm(TSDN_NULL, size, sz_size2index(size), zero, NULL, in a0ialloc() 235 is_internal, arena_get(TSDN_NULL, 0, true), true); in a0ialloc() 240 idalloctm(TSDN_NULL, ptr, NULL, NULL, is_internal, true); in a0idalloc() 1271 malloc_mutex_unlock(TSDN_NULL, &init_lock); 1273 malloc_mutex_lock(TSDN_NULL, &init_lock); 1301 if (base_boot(TSDN_NULL)) { 1314 if (tcache_boot(TSDN_NULL)) { 1331 if (arena_init(TSDN_NULL, 0, (extent_hooks_t *)&extent_hooks_default) 1335 a0 = arena_get(TSDN_NULL, 0, false); 1345 malloc_mutex_lock(TSDN_NULL, &init_lock); [all …]
|
D | tcache.c | 412 NULL, true, arena_get(TSDN_NULL, 0, true)); in tsd_tcache_data_init() 459 arena_get(TSDN_NULL, 0, true)); in tcache_create_explicit()
|
D | prof.c | 559 sz_size2index(size), false, NULL, true, arena_get(TSDN_NULL, 0, true), in prof_gctx_create() 1912 arena_get(TSDN_NULL, 0, true), true); in prof_tdata_init_impl() 2148 arena_get(TSDN_NULL, 0, true), true); in prof_thread_name_alloc()
|
/external/jemalloc/include/jemalloc/internal/ |
D | mb.h | 108 malloc_mutex_lock(TSDN_NULL, &mtx); in mb_write() 109 malloc_mutex_unlock(TSDN_NULL, &mtx); in mb_write()
|
D | tsd.h | 18 #define TSDN_NULL ((tsdn_t *)0) macro
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | tsd.h | 135 #define TSDN_NULL ((tsdn_t *)0) macro
|