Home
last modified time | relevance | path

Searched refs:malloc_mutex_lock (Results 1 – 21 of 21) sorted by relevance

/external/jemalloc_new/include/jemalloc/internal/
Dmutex_pool.h45 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()
Dprof_inlines_a.h31 malloc_mutex_lock(tsdn, &prof_accum->mtx); in prof_accum_add()
63 malloc_mutex_lock(tsdn, &prof_accum->mtx); in prof_accum_cancel()
Dbin.h92 malloc_mutex_lock(tsdn, &bin->lock); in bin_stats_merge()
Darena_stats.h117 malloc_mutex_lock(tsdn, &arena_stats->mtx); in arena_stats_lock()
Dmutex.h201 malloc_mutex_lock(tsdn_t *tsdn, malloc_mutex_t *mutex) { in malloc_mutex_lock() function
/external/jemalloc_new/src/
Dandroid_je_mallinfo.c40 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()
Dbackground_thread.c278 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 …]
Dprof.c230 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 …]
Dtcache.c138 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()
Dctl.c972 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 …]
Darena.c155 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 …]
Dbase.c285 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()
Dtsd.c330 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_check_recursion()
347 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_finish()
Drtree.c104 malloc_mutex_lock(tsdn, &rtree->init_lock); in rtree_node_init()
130 malloc_mutex_lock(tsdn, &rtree->init_lock); in rtree_leaf_init()
Dlarge.c63 malloc_mutex_lock(tsdn, &arena->large_mtx); in large_palloc()
322 malloc_mutex_lock(tsdn, &arena->large_mtx); in large_dalloc_prep_impl()
Djemalloc.c346 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);
Dextent.c178 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()
Dmutex.c187 malloc_mutex_lock(tsdn, mutex); in malloc_mutex_prefork()
/external/jemalloc_new/test/unit/
Drtree.c24 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()
Dbackground_thread.c92 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx); in TEST_BEGIN()
Darena_reset.c144 malloc_mutex_lock(tsdn, in do_arena_reset_post()