Home
last modified time | relevance | path

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

12

/src/contrib/jemalloc/src/
H A Dbackground_thread.c178 malloc_mutex_lock(tsdn, &background_thread_lock);
180 malloc_mutex_lock(tsdn, &info->mtx);
243 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx);
320 malloc_mutex_lock(tsdn, &info->mtx);
350 malloc_mutex_lock(tsdn, &background_thread_info[0].mtx);
389 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx);
408 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx);
469 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx);
482 malloc_mutex_lock(tsd_tsdn(tsd), &t0->mtx);
502 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx);
[all …]
H A Dprof_data.c156 malloc_mutex_lock(tsd_tsdn(tsd), &bt2gctx_mtx); in prof_enter()
224 malloc_mutex_lock(tsd_tsdn(tsd), gctx->lock); in prof_gctx_try_destroy()
306 malloc_mutex_lock(tsd_tsdn(tsd), gctx.p->lock); in prof_lookup_global()
339 malloc_mutex_lock(tsd_tsdn(tsd), tdata->lock); in prof_lookup()
378 malloc_mutex_lock(tsd_tsdn(tsd), tdata->lock); in prof_lookup()
388 malloc_mutex_lock(tsd_tsdn(tsd), gctx->lock); in prof_lookup()
416 malloc_mutex_lock(tsdn, &tdatas_mtx); in prof_tdata_count()
437 malloc_mutex_lock(tsd_tsdn(tsd), &bt2gctx_mtx); in prof_bt_count()
673 malloc_mutex_lock(tsdn, tctx->gctx->lock); in prof_tctx_merge_tdata()
809 malloc_mutex_lock(tsdn, gctx->lock); in prof_dump_gctx_prep()
[all …]
H A Dprof_sys.c505 malloc_mutex_lock(tsd_tsdn(tsd), &prof_dump_mtx); in prof_dump()
551 malloc_mutex_lock(tsdn, &prof_dump_filename_mtx); in prof_prefix_is_empty()
582 malloc_mutex_lock(tsdn, &prof_dump_filename_mtx); in prof_get_default_filename()
593 malloc_mutex_lock(tsd_tsdn(tsd), &prof_dump_filename_mtx); in prof_fdump_impl()
603 malloc_mutex_lock(tsdn, &prof_dump_filename_mtx); in prof_prefix_set()
612 malloc_mutex_lock(tsdn, &prof_dump_filename_mtx); in prof_prefix_set()
626 malloc_mutex_lock(tsd_tsdn(tsd), &prof_dump_filename_mtx); in prof_idump_impl()
643 malloc_mutex_lock(tsd_tsdn(tsd), &prof_dump_filename_mtx); in prof_mdump_impl()
659 malloc_mutex_lock(tsdn, &prof_dump_filename_mtx); in prof_gdump_impl()
H A Dprof.c92 malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock); in prof_alloc_rollback()
113 malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock); in prof_malloc_sample_object()
158 malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock); in prof_free_sampled_object()
373 malloc_mutex_lock(tsdn, &next_thr_uid_mtx); in prof_thr_uid_alloc()
419 malloc_mutex_lock(tsdn, &prof_active_mtx); in prof_active_get()
430 malloc_mutex_lock(tsdn, &prof_active_mtx); in prof_active_set()
491 malloc_mutex_lock(tsdn, &prof_thread_active_init_mtx); in prof_thread_active_init_get()
501 malloc_mutex_lock(tsdn, &prof_thread_active_init_mtx); in prof_thread_active_init_set()
512 malloc_mutex_lock(tsdn, &prof_gdump_mtx); in prof_gdump_get()
522 malloc_mutex_lock(tsdn, &prof_gdump_mtx); in prof_gdump_set()
H A Dedata_cache.c23 malloc_mutex_lock(tsdn, &edata_cache->mtx); in edata_cache_get()
37 malloc_mutex_lock(tsdn, &edata_cache->mtx); in edata_cache_put()
69 malloc_mutex_lock(tsdn, &ecs->fallback->mtx); in edata_cache_fast_try_fill_from_fallback()
122 malloc_mutex_lock(tsdn, &ecs->fallback->mtx); in edata_cache_fast_flush_all()
H A Dhpa.c102 malloc_mutex_lock(tsdn, &central->grow_mtx); in hpa_central_extract()
259 malloc_mutex_lock(tsdn, &shard->grow_mtx); in hpa_shard_stats_merge()
260 malloc_mutex_lock(tsdn, &shard->mtx); in hpa_shard_stats_merge()
437 malloc_mutex_lock(tsdn, &shard->mtx); in hpa_try_purge()
503 malloc_mutex_lock(tsdn, &shard->mtx); in hpa_try_hugify()
629 malloc_mutex_lock(tsdn, &shard->mtx); in hpa_try_alloc_batch_no_grow()
664 malloc_mutex_lock(tsdn, &shard->grow_mtx); in hpa_alloc_batch_psset()
693 malloc_mutex_lock(tsdn, &shard->mtx); in hpa_alloc_batch_psset()
858 malloc_mutex_lock(tsdn, &shard->mtx); in hpa_dalloc_batch()
891 malloc_mutex_lock(tsdn, &shard->mtx); in hpa_time_until_deferred_work()
[all …]
H A Dprof_recent.c97 malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock); in decrement_recent_count()
214 malloc_mutex_lock(tsd_tsdn(tsd), dalloc_tctx->tdata->lock); in prof_recent_alloc_reset()
220 malloc_mutex_lock(tsd_tsdn(tsd), &prof_recent_alloc_mtx); in prof_recent_alloc_reset()
285 malloc_mutex_lock(tsd_tsdn(tsd), &prof_recent_alloc_mtx); in prof_recent_alloc()
327 malloc_mutex_lock(tsd_tsdn(tsd), &prof_recent_alloc_mtx); in prof_recent_alloc()
463 malloc_mutex_lock(tsd_tsdn(tsd), &prof_recent_alloc_mtx); in prof_recent_alloc_max_ctl_write()
535 malloc_mutex_lock(tsd_tsdn(tsd), &prof_recent_dump_mtx); in prof_recent_alloc_dump()
544 malloc_mutex_lock(tsd_tsdn(tsd), &prof_recent_alloc_mtx); in prof_recent_alloc_dump()
567 malloc_mutex_lock(tsd_tsdn(tsd), &prof_recent_alloc_mtx); in prof_recent_alloc_dump()
H A Dtsd.c73 malloc_mutex_lock(TSDN_NULL, &tsd_nominal_tsds_lock); in tsd_in_nominal_list()
89 malloc_mutex_lock(tsd_tsdn(tsd), &tsd_nominal_tsds_lock); in tsd_add_nominal()
98 malloc_mutex_lock(tsd_tsdn(tsd), &tsd_nominal_tsds_lock); in tsd_remove_nominal()
110 malloc_mutex_lock(tsdn, &tsd_nominal_tsds_lock); in tsd_force_recompute()
508 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_check_recursion()
525 malloc_mutex_lock(TSDN_NULL, &head->lock); in tsd_init_finish()
H A Dsec.c191 malloc_mutex_lock(tsdn, &shard->mtx); in sec_batch_fill_and_alloc()
241 malloc_mutex_lock(tsdn, &shard->mtx); in sec_alloc()
347 malloc_mutex_lock(tsdn, &shard->mtx); in sec_dalloc()
360 malloc_mutex_lock(tsdn, &sec->shards[i].mtx); in sec_flush()
369 malloc_mutex_lock(tsdn, &sec->shards[i].mtx); in sec_disable()
385 malloc_mutex_lock(tsdn, &sec->shards[i].mtx); in sec_stats_merge()
396 malloc_mutex_lock(tsdn, &sec->shards[i].mtx); in sec_mutex_stats_read()
H A Dtcache.c376 malloc_mutex_lock(tsdn, &cur_bin->lock); in tcache_bin_flush_impl()
379 malloc_mutex_lock(tsdn, &cur_arena->large_mtx); in tcache_bin_flush_impl()
490 malloc_mutex_lock(tsdn, &bin->lock); in tcache_bin_flush_impl()
588 malloc_mutex_lock(tsdn, &arena->tcache_ql_mtx); in tcache_arena_associate()
608 malloc_mutex_lock(tsdn, &arena->tcache_ql_mtx); in tcache_arena_dissociate()
871 malloc_mutex_lock(tsdn, &bin->lock); in tcache_stats_merge()
913 malloc_mutex_lock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_create()
968 malloc_mutex_lock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_flush()
979 malloc_mutex_lock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_destroy()
H A Darena.c154 malloc_mutex_lock(tsdn, &arena->tcache_ql_mtx); in arena_stats_merge()
174 malloc_mutex_lock(tsdn, &arena->mtx); \ in arena_stats_merge()
426 malloc_mutex_lock(tsdn, &decay->mtx); in arena_decay_impl()
632 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in arena_bin_reset()
638 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in arena_bin_reset()
643 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in arena_bin_reset()
650 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in arena_bin_reset()
676 malloc_mutex_lock(tsd_tsdn(tsd), &arena->large_mtx); in arena_reset()
698 malloc_mutex_lock(tsd_tsdn(tsd), &arena->large_mtx); in arena_reset()
715 malloc_mutex_lock(tsd_tsdn(tsd), mutexes[i]); in arena_prepare_base_deletion_sync_finish()
[all …]
H A Dhook.c49 malloc_mutex_lock(tsdn, &hooks_mu); in hook_install()
81 malloc_mutex_lock(tsdn, &hooks_mu); in hook_remove()
H A Dctl.c1348 malloc_mutex_lock(tsdn, &mtx); \ in ctl_refresh()
1391 malloc_mutex_lock(tsdn, &ctl_mtx); in ctl_init()
1869 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); \
1893 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); \
1911 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); \
1987 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); in CTL_RO_NL_GEN()
2012 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); in background_thread_ctl()
2013 malloc_mutex_lock(tsd_tsdn(tsd), &background_thread_lock); in background_thread_ctl()
2064 malloc_mutex_lock(tsd_tsdn(tsd), &ctl_mtx); in max_background_threads_ctl()
2065 malloc_mutex_lock(tsd_tsdn(tsd), &background_thread_lock); in max_background_threads_ctl()
[all …]
H A Dbase.c280 malloc_mutex_lock(tsdn, &base->mtx); in base_block_alloc()
315 malloc_mutex_lock(tsdn, &base->mtx); in base_extent_alloc()
442 malloc_mutex_lock(tsdn, &base->mtx); in base_alloc_impl()
499 malloc_mutex_lock(tsdn, &base->mtx); in base_stats_get()
H A Dprof_log.c220 malloc_mutex_lock(tsd_tsdn(tsd), &log_mtx); in prof_try_log()
433 malloc_mutex_lock(tsdn, &log_mtx); in prof_log_start()
621 malloc_mutex_lock(tsdn, &log_mtx); in prof_log_stop()
690 malloc_mutex_lock(tsdn, &log_mtx); in prof_log_stop()
H A Drtree.c45 malloc_mutex_lock(tsdn, &rtree->init_lock); in rtree_node_init()
71 malloc_mutex_lock(tsdn, &rtree->init_lock); in rtree_leaf_init()
H A Dprof_stats.c15 malloc_mutex_lock(tsd_tsdn(tsd), &prof_stats_mtx); in prof_stats_enter()
H A Dlarge.c45 malloc_mutex_lock(tsdn, &arena->large_mtx); in large_palloc()
236 malloc_mutex_lock(tsdn, &arena->large_mtx); in large_dalloc_prep_impl()
H A Dpac.c328 malloc_mutex_lock(tsdn, &pac->grow_mtx); in pac_retain_grow_limit_get_set()
457 malloc_mutex_lock(tsdn, &decay->mtx); in pac_decay_to_limit()
531 malloc_mutex_lock(tsdn, &decay->mtx); in pac_decay_ms_set()
H A Dinspect.c61 malloc_mutex_lock(tsdn, &bin->lock); in inspect_extent_util_stats_verbose_get()
H A Dsan_bump.c22 malloc_mutex_lock(tsdn, &sba->mtx); in san_bump_alloc()
H A Dextent.c153 malloc_mutex_lock(tsdn, &ecache->mtx); in ecache_evict()
584 malloc_mutex_lock(tsdn, &ecache->mtx); in extent_recycle_split()
604 malloc_mutex_lock(tsdn, &ecache->mtx); in extent_recycle()
780 malloc_mutex_lock(tsdn, &pac->grow_mtx); in extent_alloc_retained()
921 malloc_mutex_lock(tsdn, &ecache->mtx); in extent_record()
H A Dmutex.c214 malloc_mutex_lock(tsdn, mutex); in malloc_mutex_prefork()
/src/contrib/jemalloc/include/jemalloc/internal/
H A Dbin.h66 malloc_mutex_lock(tsdn, &bin->lock); in bin_stats_merge()
H A Dlockedint.h32 # define LOCKEDINT_MTX_LOCK(tsdn, mu) malloc_mutex_lock(tsdn, &(mu))

12