/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()
|
D | arena_stats.h | 117 malloc_mutex_lock(tsdn, &arena_stats->mtx); in arena_stats_lock()
|
D | mutex.h | 201 malloc_mutex_lock(tsdn_t *tsdn, malloc_mutex_t *mutex) { in malloc_mutex_lock() function
|
/external/jemalloc_new/src/ |
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 | 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 | 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()
|
D | large.c | 63 malloc_mutex_lock(tsdn, &arena->large_mtx); in large_palloc() 322 malloc_mutex_lock(tsdn, &arena->large_mtx); in large_dalloc_prep_impl()
|
D | jemalloc.c | 346 malloc_mutex_lock(tsdn, &background_thread_lock); in arena_new_create_background_thread() 361 malloc_mutex_lock(tsdn, &arenas_lock); in arena_init() 516 malloc_mutex_lock(tsd_tsdn(tsd), &arenas_lock); in arena_choose_hard() 652 malloc_mutex_lock(tsdn, &arena->tcache_ql_mtx); in stats_print_atexit() 1273 malloc_mutex_lock(TSDN_NULL, &init_lock); 1345 malloc_mutex_lock(TSDN_NULL, &init_lock); 1522 malloc_mutex_lock(TSDN_NULL, &init_lock); 1547 malloc_mutex_lock(tsd_tsdn(tsd), &init_lock); 1580 malloc_mutex_lock(tsd_tsdn(tsd), &background_thread_lock);
|
D | extent.c | 178 malloc_mutex_lock(tsdn, &arena->extent_avail_mtx); in extent_alloc() 191 malloc_mutex_lock(tsdn, &arena->extent_avail_mtx); in extent_dalloc() 206 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx); in extent_hooks_set() 553 malloc_mutex_lock(tsdn, &extents->mtx); in extents_evict() 657 malloc_mutex_lock(tsdn, &extents->mtx); in extent_deactivate() 889 malloc_mutex_lock(tsdn, &extents->mtx); in extent_recycle_extract() 1412 malloc_mutex_lock(tsdn, &arena->extent_grow_mtx); in extent_alloc_retained() 1533 malloc_mutex_lock(tsdn, &extents->mtx); in extent_coalesce() 1622 malloc_mutex_lock(tsdn, &extents->mtx); in extent_record()
|
D | mutex.c | 187 malloc_mutex_lock(tsdn, mutex); in malloc_mutex_prefork()
|
/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()
|
D | arena_reset.c | 144 malloc_mutex_lock(tsdn, in do_arena_reset_post()
|