Home
last modified time | relevance | path

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

12

/external/jemalloc/include/jemalloc/internal/
Dmutex.h4 typedef struct malloc_mutex_s malloc_mutex_t; typedef
47 malloc_mutex_t *postponed_next;
65 bool malloc_mutex_init(malloc_mutex_t *mutex, const char *name,
67 void malloc_mutex_prefork(tsdn_t *tsdn, malloc_mutex_t *mutex);
68 void malloc_mutex_postfork_parent(tsdn_t *tsdn, malloc_mutex_t *mutex);
69 void malloc_mutex_postfork_child(tsdn_t *tsdn, malloc_mutex_t *mutex);
77 void malloc_mutex_lock(tsdn_t *tsdn, malloc_mutex_t *mutex);
78 void malloc_mutex_unlock(tsdn_t *tsdn, malloc_mutex_t *mutex);
79 void malloc_mutex_assert_owner(tsdn_t *tsdn, malloc_mutex_t *mutex);
80 void malloc_mutex_assert_not_owner(tsdn_t *tsdn, malloc_mutex_t *mutex);
[all …]
Dmb.h105 malloc_mutex_t mtx; in mb_write()
Dprof.h142 malloc_mutex_t *lock;
177 malloc_mutex_t *lock;
Darena.h334 malloc_mutex_t lock;
380 malloc_mutex_t lock;
472 malloc_mutex_t huge_mtx;
486 malloc_mutex_t chunks_mtx;
489 malloc_mutex_t node_cache_mtx;
/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;
/external/jemalloc/src/
Dmutex.c20 static malloc_mutex_t *postponed_mutexes = NULL;
72 malloc_mutex_init(malloc_mutex_t *mutex, const char *name, witness_rank_t rank) in malloc_mutex_init()
114 malloc_mutex_prefork(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_prefork()
121 malloc_mutex_postfork_parent(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_postfork_parent()
128 malloc_mutex_postfork_child(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_postfork_child()
Dprof.c38 static malloc_mutex_t prof_active_mtx;
45 static malloc_mutex_t prof_thread_active_init_mtx;
52 static malloc_mutex_t prof_gdump_mtx;
65 static malloc_mutex_t *gctx_locks;
74 static malloc_mutex_t *tdata_locks;
81 static malloc_mutex_t bt2gctx_mtx;
88 static malloc_mutex_t tdatas_mtx;
91 static malloc_mutex_t next_thr_uid_mtx;
93 static malloc_mutex_t prof_dump_seq_mtx;
103 static malloc_mutex_t prof_dump_mtx;
[all …]
Dbase.c7 static malloc_mutex_t base_mtx;
Djemalloc.c55 static malloc_mutex_t arenas_lock;
211 static malloc_mutex_t init_lock = SRWLOCK_INIT;
213 static malloc_mutex_t init_lock;
241 static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER;

12