Lines Matching refs:lock
114 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small()
142 malloc_mutex_unlock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small()
151 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small()
155 malloc_mutex_unlock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small()
187 malloc_mutex_lock(tsd_tsdn(tsd), &locked_arena->lock); in tcache_bin_flush_large()
222 malloc_mutex_unlock(tsd_tsdn(tsd), &locked_arena->lock); in tcache_bin_flush_large()
233 malloc_mutex_lock(tsd_tsdn(tsd), &arena->lock); in tcache_bin_flush_large()
238 malloc_mutex_unlock(tsd_tsdn(tsd), &arena->lock); in tcache_bin_flush_large()
253 malloc_mutex_lock(tsdn, &arena->lock); in tcache_arena_associate()
256 malloc_mutex_unlock(tsdn, &arena->lock); in tcache_arena_associate()
265 malloc_mutex_lock(tsdn, &arena->lock); in tcache_arena_dissociate()
279 malloc_mutex_unlock(tsdn, &arena->lock); in tcache_arena_dissociate()
403 malloc_mutex_assert_owner(tsdn, &arena->lock); in tcache_stats_merge()
409 malloc_mutex_lock(tsdn, &bin->lock); in tcache_stats_merge()
411 malloc_mutex_unlock(tsdn, &bin->lock); in tcache_stats_merge()