Home
last modified time | relevance | path

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

/external/jemalloc/src/
Dandroid_je_mallinfo.c24 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()
Dprof.c216 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 …]
Dtcache.c119 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 …]
Dhuge.c113 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()
Darena.c618 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 …]
Dtsd.c174 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_check_recursion()
193 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_finish()
Dbase.c105 malloc_mutex_lock(tsdn, &base_mtx); in base_alloc()
146 malloc_mutex_lock(tsdn, &base_mtx); in base_stats_get()
Dctl.c765 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 …]
Dmutex.c117 malloc_mutex_lock(tsdn, mutex); in malloc_mutex_prefork()
Dchunk.c71 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()
Djemalloc.c469 malloc_mutex_lock(tsdn, &arenas_lock); in arena_init()
614 malloc_mutex_lock(tsd_tsdn(tsd), &arenas_lock); in arena_choose_hard()
774 malloc_mutex_lock(tsdn, &arena->lock); in stats_print_atexit()
1339 malloc_mutex_lock(TSDN_NULL, &init_lock);
1403 malloc_mutex_lock(TSDN_NULL, &init_lock);
1492 malloc_mutex_lock(TSDN_NULL, &init_lock);
1511 malloc_mutex_lock(tsd_tsdn(tsd), &init_lock);
/external/jemalloc/include/jemalloc/internal/
Dmutex.h77 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
Dmb.h108 malloc_mutex_lock(TSDN_NULL, &mtx); in mb_write()
Dprivate_symbols.txt327 malloc_mutex_lock
Dprivate_namespace.h327 #define malloc_mutex_lock JEMALLOC_N(malloc_mutex_lock) macro
Dprivate_unnamespace.h327 #undef malloc_mutex_lock
Darena.h1092 malloc_mutex_lock(tsdn, &arena->lock); in arena_prof_accum()