/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() 36 malloc_mutex_lock(TSDN_NULL, &bin->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() 72 malloc_mutex_lock(TSDN_NULL, &bin->lock); in __mallinfo_arena_info() 86 malloc_mutex_lock(TSDN_NULL, &arenas_lock); in __mallinfo_bin_info() 91 malloc_mutex_lock(TSDN_NULL, &bin->lock); in __mallinfo_bin_info()
|
D | prof.c | 216 malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock); in rb_gen() 232 malloc_mutex_lock(tsdn, tctx->tdata->lock); in prof_malloc_sample_object() 247 malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock); in prof_free_sampled_object() 281 malloc_mutex_lock(tsd_tsdn(tsd), &bt2gctx_mtx); in prof_enter() 590 malloc_mutex_lock(tsd_tsdn(tsd), gctx->lock); in prof_gctx_try_destroy() 658 malloc_mutex_lock(tsd_tsdn(tsd), gctx->lock); in prof_tctx_destroy() 748 malloc_mutex_lock(tsd_tsdn(tsd), gctx.p->lock); in prof_lookup_global() 777 malloc_mutex_lock(tsd_tsdn(tsd), tdata->lock); in prof_lookup() 812 malloc_mutex_lock(tsd_tsdn(tsd), tdata->lock); in prof_lookup() 821 malloc_mutex_lock(tsd_tsdn(tsd), gctx->lock); in prof_lookup() [all …]
|
D | tcache.c | 119 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small() 159 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small() 196 malloc_mutex_lock(tsd_tsdn(tsd), &locked_arena->lock); in tcache_bin_flush_large() 243 malloc_mutex_lock(tsd_tsdn(tsd), &arena->lock); in tcache_bin_flush_large() 264 malloc_mutex_lock(tsdn, &arena->lock); in tcache_arena_associate() 277 malloc_mutex_lock(tsdn, &arena->lock); in tcache_arena_dissociate() 375 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in tcache_destroy() 386 malloc_mutex_lock(tsd_tsdn(tsd), &arena->lock); in tcache_destroy() 435 malloc_mutex_lock(tsdn, &bin->lock); in tcache_stats_merge() 454 malloc_mutex_lock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_create_prep() [all …]
|
D | huge.c | 113 malloc_mutex_lock(tsdn, &arena->huge_mtx); in huge_palloc() 188 malloc_mutex_lock(tsdn, &arena->huge_mtx); in huge_ralloc_no_move_similar() 252 malloc_mutex_lock(tsdn, &arena->huge_mtx); in huge_ralloc_no_move_shrink() 277 malloc_mutex_lock(tsdn, &arena->huge_mtx); in huge_ralloc_no_move_expand() 290 malloc_mutex_lock(tsdn, &arena->huge_mtx); in huge_ralloc_no_move_expand() 418 malloc_mutex_lock(tsdn, &arena->huge_mtx); in huge_dalloc() 448 malloc_mutex_lock(tsdn, &arena->huge_mtx); in huge_salloc() 464 malloc_mutex_lock(tsdn, &arena->huge_mtx); in huge_prof_tctx_get() 479 malloc_mutex_lock(tsdn, &arena->huge_mtx); in huge_prof_tctx_set()
|
D | arena.c | 618 malloc_mutex_lock(tsdn, &arena->lock); in arena_chunk_alloc_internal_hard() 895 malloc_mutex_lock(tsdn, &arena->node_cache_mtx); in arena_node_alloc() 910 malloc_mutex_lock(tsdn, &arena->node_cache_mtx); in arena_node_dalloc() 928 malloc_mutex_lock(tsdn, &arena->lock); in arena_chunk_alloc_huge_hard() 949 malloc_mutex_lock(tsdn, &arena->lock); in arena_chunk_alloc_huge() 977 malloc_mutex_lock(tsdn, &arena->lock); in arena_chunk_dalloc_huge() 996 malloc_mutex_lock(tsdn, &arena->lock); in arena_chunk_ralloc_huge_similar() 1013 malloc_mutex_lock(tsdn, &arena->lock); in arena_chunk_ralloc_huge_shrink() 1044 malloc_mutex_lock(tsdn, &arena->lock); in arena_chunk_ralloc_huge_expand_hard() 1073 malloc_mutex_lock(tsdn, &arena->lock); in arena_chunk_ralloc_huge_expand() [all …]
|
D | tsd.c | 174 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_check_recursion() 193 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_finish()
|
D | base.c | 105 malloc_mutex_lock(tsdn, &base_mtx); in base_alloc() 146 malloc_mutex_lock(tsdn, &base_mtx); in base_stats_get()
|
D | ctl.c | 765 malloc_mutex_lock(tsdn, &ctl_mtx); in ctl_init() 1107 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); \ 1129 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); \ 1148 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); \ 1246 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); in CTL_RO_NL_GEN() 1320 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); in CTL_RO_CONFIG_GEN() 1545 malloc_mutex_lock(tsdn, &ctl_mtx); in arena_i_purge() 1631 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); in arena_i_reset_ctl() 1656 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); in arena_i_dss_ctl() 1780 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); in arena_i_chunk_hooks_ctl() [all …]
|
D | chunk.c | 71 malloc_mutex_lock(tsdn, &arena->chunks_mtx); in chunk_hooks_get() 83 malloc_mutex_lock(tsdn, &arena->chunks_mtx); in chunk_hooks_set() 226 malloc_mutex_lock(tsdn, &arena->chunks_mtx); in chunk_recycle() 523 malloc_mutex_lock(tsdn, &arena->chunks_mtx); in chunk_record()
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | mutex_pool.h | 45 malloc_mutex_lock(tsdn, mutex); in mutex_pool_lock() 64 malloc_mutex_lock(tsdn, mutex1); in mutex_pool_lock2() 65 malloc_mutex_lock(tsdn, mutex2); in mutex_pool_lock2() 67 malloc_mutex_lock(tsdn, mutex1); in mutex_pool_lock2() 69 malloc_mutex_lock(tsdn, mutex2); in mutex_pool_lock2() 70 malloc_mutex_lock(tsdn, mutex1); in mutex_pool_lock2()
|
D | prof_inlines_a.h | 31 malloc_mutex_lock(tsdn, &prof_accum->mtx); in prof_accum_add() 63 malloc_mutex_lock(tsdn, &prof_accum->mtx); in prof_accum_cancel()
|
D | bin.h | 92 malloc_mutex_lock(tsdn, &bin->lock); in bin_stats_merge()
|
/external/jemalloc_new/src/ |
D | background_thread.c | 278 malloc_mutex_lock(tsdn, &background_thread_lock); 280 malloc_mutex_lock(tsdn, &info->mtx); 323 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx); 400 malloc_mutex_lock(tsdn, &info->mtx); 430 malloc_mutex_lock(tsdn, &background_thread_info[0].mtx); 469 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx); 488 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx); 548 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx); 561 malloc_mutex_lock(tsd_tsdn(tsd), &t0->mtx); 581 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx); [all …]
|
D | prof.c | 230 malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock); in rb_gen() 245 malloc_mutex_lock(tsdn, tctx->tdata->lock); in prof_malloc_sample_object() 258 malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock); in prof_free_sampled_object() 289 malloc_mutex_lock(tsd_tsdn(tsd), &bt2gctx_mtx); in prof_enter() 591 malloc_mutex_lock(tsd_tsdn(tsd), gctx->lock); in prof_gctx_try_destroy() 661 malloc_mutex_lock(tsd_tsdn(tsd), gctx->lock); in prof_tctx_destroy() 765 malloc_mutex_lock(tsd_tsdn(tsd), gctx.p->lock); in prof_lookup_global() 800 malloc_mutex_lock(tsd_tsdn(tsd), tdata->lock); in prof_lookup() 838 malloc_mutex_lock(tsd_tsdn(tsd), tdata->lock); in prof_lookup() 848 malloc_mutex_lock(tsd_tsdn(tsd), gctx->lock); in prof_lookup() [all …]
|
D | android_je_mallinfo.c | 40 malloc_mutex_lock(TSDN_NULL, &bin->lock); in accumulate_small_allocs() 55 malloc_mutex_lock(TSDN_NULL, &arenas_lock); in je_mallinfo() 83 malloc_mutex_lock(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()
|
D | tcache.c | 138 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small() 179 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small() 225 malloc_mutex_lock(tsd_tsdn(tsd), &locked_arena->large_mtx); in tcache_bin_flush_large() 307 malloc_mutex_lock(tsdn, &arena->tcache_ql_mtx); in tcache_arena_associate() 327 malloc_mutex_lock(tsdn, &arena->tcache_ql_mtx); in tcache_arena_dissociate() 557 malloc_mutex_lock(tsdn, &bin->lock); in tcache_stats_merge() 576 malloc_mutex_lock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_create_prep() 616 malloc_mutex_lock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_create() 650 malloc_mutex_lock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_flush() 660 malloc_mutex_lock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_destroy()
|
D | ctl.c | 972 malloc_mutex_lock(tsdn, &mtx); \ in ctl_refresh() 1003 malloc_mutex_lock(tsdn, &ctl_mtx); in ctl_init() 1365 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); \ 1389 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); \ 1407 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); \ 1502 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); in CTL_RO_NL_GEN() 1526 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); in background_thread_ctl() 1527 malloc_mutex_lock(tsd_tsdn(tsd), &background_thread_lock); in background_thread_ctl() 1584 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); in max_background_threads_ctl() 1585 malloc_mutex_lock(tsd_tsdn(tsd), &background_thread_lock); in max_background_threads_ctl() [all …]
|
D | arena.c | 155 malloc_mutex_lock(tsdn, &arena->tcache_ql_mtx); in arena_stats_merge() 176 malloc_mutex_lock(tsdn, &arena->mtx); \ in arena_stats_merge() 693 malloc_mutex_lock(tsdn, &decay->mtx); in arena_decay_ms_set() 843 malloc_mutex_lock(tsdn, &decay->mtx); in arena_decay_to_limit() 851 malloc_mutex_lock(tsdn, &decay->mtx); in arena_decay_impl() 974 malloc_mutex_lock(tsd_tsdn(tsd), &arena->large_mtx); in arena_reset() 997 malloc_mutex_lock(tsd_tsdn(tsd), &arena->large_mtx); in arena_reset() 1005 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in arena_reset() 1011 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in arena_reset() 1017 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in arena_reset() [all …]
|
D | base.c | 285 malloc_mutex_lock(tsdn, &base->mtx); in base_block_alloc() 320 malloc_mutex_lock(tsdn, &base->mtx); in base_extent_alloc() 428 malloc_mutex_lock(tsdn, &base->mtx); in base_alloc_impl() 485 malloc_mutex_lock(tsdn, &base->mtx); in base_stats_get()
|
D | tsd.c | 330 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_check_recursion() 347 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_finish()
|
D | rtree.c | 104 malloc_mutex_lock(tsdn, &rtree->init_lock); in rtree_node_init() 130 malloc_mutex_lock(tsdn, &rtree->init_lock); in rtree_leaf_init()
|
/external/jemalloc/include/jemalloc/internal/ |
D | mutex.h | 77 void malloc_mutex_lock(tsdn_t *tsdn, malloc_mutex_t *mutex); 85 malloc_mutex_lock(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_lock() function
|
D | mb.h | 108 malloc_mutex_lock(TSDN_NULL, &mtx); in mb_write()
|
/external/jemalloc_new/test/unit/ |
D | rtree.c | 24 malloc_mutex_lock(tsdn, &rtree->init_lock); in rtree_node_alloc_intercept() 51 malloc_mutex_lock(tsdn, &rtree->init_lock); in rtree_leaf_alloc_intercept()
|
D | background_thread.c | 92 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx); in TEST_BEGIN()
|