Home
last modified time | relevance | path

Searched refs:malloc_mutex_t (Results 1 – 20 of 20) sorted by relevance

/external/jemalloc_new/include/jemalloc/internal/
Dmutex.h19 typedef struct malloc_mutex_s malloc_mutex_t; typedef
44 malloc_mutex_t *postponed_next;
129 bool malloc_mutex_init(malloc_mutex_t *mutex, const char *name,
131 void malloc_mutex_prefork(tsdn_t *tsdn, malloc_mutex_t *mutex);
132 void malloc_mutex_postfork_parent(tsdn_t *tsdn, malloc_mutex_t *mutex);
133 void malloc_mutex_postfork_child(tsdn_t *tsdn, malloc_mutex_t *mutex);
135 void malloc_mutex_prof_data_reset(tsdn_t *tsdn, malloc_mutex_t *mutex);
137 void malloc_mutex_lock_slow(malloc_mutex_t *mutex);
140 malloc_mutex_lock_final(malloc_mutex_t *mutex) { in malloc_mutex_lock_final()
145 malloc_mutex_trylock_final(malloc_mutex_t *mutex) { in malloc_mutex_trylock_final()
[all …]
Dmutex_pool.h13 malloc_mutex_t mutexes[MUTEX_POOL_SIZE];
19 static inline malloc_mutex_t *
44 malloc_mutex_t *mutex = mutex_pool_mutex(pool, key); in mutex_pool_lock()
50 malloc_mutex_t *mutex = mutex_pool_mutex(pool, key); in mutex_pool_unlock()
61 malloc_mutex_t *mutex1 = mutex_pool_mutex(pool, key1); in mutex_pool_lock2()
62 malloc_mutex_t *mutex2 = mutex_pool_mutex(pool, key2); in mutex_pool_lock2()
77 malloc_mutex_t *mutex1 = mutex_pool_mutex(pool, key1); in mutex_pool_unlock2()
78 malloc_mutex_t *mutex2 = mutex_pool_mutex(pool, key2); in mutex_pool_unlock2()
Darena_structs_b.h19 malloc_mutex_t mtx;
112 malloc_mutex_t tcache_ql_mtx;
154 malloc_mutex_t large_mtx;
190 malloc_mutex_t extent_grow_mtx;
199 malloc_mutex_t extent_avail_mtx;
Dprof_structs.h25 malloc_mutex_t mtx;
101 malloc_mutex_t *lock;
136 malloc_mutex_t *lock;
Dbase_structs.h31 malloc_mutex_t mtx;
Dbackground_thread_structs.h26 malloc_mutex_t mtx;
Dbackground_thread_externs.h6 extern malloc_mutex_t background_thread_lock;
Dbin.h57 malloc_mutex_t lock;
Dextent_structs.h176 malloc_mutex_t mtx;
Dprof_externs.h6 extern malloc_mutex_t bt2gctx_mtx;
Darena_stats.h59 malloc_mutex_t mtx;
Darena_externs.h17 extern malloc_mutex_t arenas_lock;
Drtree.h81 malloc_mutex_t init_lock;
/external/jemalloc_new/src/
Dmutex.c21 static malloc_mutex_t *postponed_mutexes = NULL;
47 malloc_mutex_lock_slow(malloc_mutex_t *mutex) { in malloc_mutex_lock_slow()
112 malloc_mutex_prof_data_reset(tsdn_t *tsdn, malloc_mutex_t *mutex) { in malloc_mutex_prof_data_reset()
134 malloc_mutex_init(malloc_mutex_t *mutex, const char *name, in malloc_mutex_init()
186 malloc_mutex_prefork(tsdn_t *tsdn, malloc_mutex_t *mutex) { in malloc_mutex_prefork()
191 malloc_mutex_postfork_parent(tsdn_t *tsdn, malloc_mutex_t *mutex) { in malloc_mutex_postfork_parent()
196 malloc_mutex_postfork_child(tsdn_t *tsdn, malloc_mutex_t *mutex) { in malloc_mutex_postfork_child()
Dprof.c53 static malloc_mutex_t prof_active_mtx;
60 static malloc_mutex_t prof_thread_active_init_mtx;
67 static malloc_mutex_t prof_gdump_mtx;
80 static malloc_mutex_t *gctx_locks;
89 static malloc_mutex_t *tdata_locks;
97 malloc_mutex_t bt2gctx_mtx;
104 static malloc_mutex_t tdatas_mtx;
107 static malloc_mutex_t next_thr_uid_mtx;
109 static malloc_mutex_t prof_dump_seq_mtx;
119 static malloc_mutex_t prof_dump_mtx;
[all …]
Dtsd.c36 malloc_mutex_t lock;
Djemalloc.c74 malloc_mutex_t arenas_lock;
128 static malloc_mutex_t init_lock = SRWLOCK_INIT;
130 static malloc_mutex_t init_lock;
160 static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER;
Dbackground_thread.c17 malloc_mutex_t background_thread_lock;
Dtcache.c34 static malloc_mutex_t tcaches_mtx;
Dctl.c21 static malloc_mutex_t ctl_mtx;