Home
last modified time | relevance | path

Searched refs:TSDN_NULL (Results 1 – 15 of 15) 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()
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 …]
Dtsd.c174 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()
Djemalloc.c336 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 …]
Dquarantine.c31 false, NULL, true, arena_get(TSDN_NULL, 0, true), true); in quarantine_init()
Dprof.c557 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()
Dtcache.c336 arena_get(TSDN_NULL, 0, true)); in tcache_create()
Dchunk.c751 return ((rtree_node_elm_t *)base_alloc(TSDN_NULL, nelms * in chunks_rtree_node_alloc()
/external/jemalloc_new/src/
Dandroid_je_mallinfo.c26 …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 …]
Dtsd.c330 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()
Djemalloc.c234 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 …]
Dtcache.c412 NULL, true, arena_get(TSDN_NULL, 0, true)); in tsd_tcache_data_init()
459 arena_get(TSDN_NULL, 0, true)); in tcache_create_explicit()
Dprof.c559 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/
Dmb.h108 malloc_mutex_lock(TSDN_NULL, &mtx); in mb_write()
109 malloc_mutex_unlock(TSDN_NULL, &mtx); in mb_write()
Dtsd.h18 #define TSDN_NULL ((tsdn_t *)0) macro
/external/jemalloc_new/include/jemalloc/internal/
Dtsd.h135 #define TSDN_NULL ((tsdn_t *)0) macro