/freebsd/contrib/jemalloc/src/ |
H A D | tsd.c | 69 tsd_in_nominal_list(tsd_t *tsd) { in tsd_in_nominal_list() 88 tsd_add_nominal(tsd_t *tsd) { in tsd_add_nominal() 98 tsd_remove_nominal(tsd_t *tsd) { in tsd_remove_nominal() 145 tsd_local_slow(tsd_t *tsd) { in tsd_local_slow() 158 tsd_state_compute(tsd_t *tsd) { in tsd_state_compute() 171 tsd_slow_update(tsd_t *tsd) { in tsd_slow_update() 181 tsd_state_set(tsd_t *tsd, uint8_t new_state) { in tsd_state_set() 219 tsd_data_init(tsd_t *tsd) { in tsd_data_init() 240 assert_tsd_data_cleanup_done(tsd_t *tsd) { in assert_tsd_data_cleanup_done() 252 tsd_data_init_nocleanup(tsd_t *tsd) { in tsd_data_init_nocleanup() [all …]
|
H A D | tcache.c | 41 tcache_event_hard(tsd_t *tsd, tcache_t *tcache) { in tcache_event_hard() 134 tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, cache_bin_t *tbin, in tcache_bin_flush_small() 230 tcache_bin_flush_large(tsd_t *tsd, cache_bin_t *tbin, szind_t binind, in tcache_bin_flush_large() 395 tsd_tcache_enabled_data_init(tsd_t *tsd) { in tsd_tcache_enabled_data_init() 410 tcache_init(tsd_t *tsd, tcache_t *tcache, void *avail_stack) { in tcache_init() 444 tsd_tcache_data_init(tsd_t *tsd) { in tsd_tcache_data_init() 486 tcache_create_explicit(tsd_t *tsd) { in tcache_create_explicit() 512 tcache_flush_cache(tsd_t *tsd, tcache_t *tcache) { in tcache_flush_cache() 540 tcache_flush(tsd_t *tsd) { in tcache_flush() 546 tcache_destroy(tsd_t *tsd, tcache_t *tcache, bool tsd_tcache) { in tcache_destroy() [all …]
|
H A D | ctl.c | 726 arenas_i_impl(tsd_t *tsd, size_t i, bool compat, bool init) { in arenas_i_impl() 1004 ctl_arena_init(tsd_t *tsd, extent_hooks_t *extent_hooks) { in ctl_arena_init() 1118 ctl_init(tsd_t *tsd) { in ctl_init() 1292 ctl_byname(tsd_t *tsd, const char *name, void *oldp, size_t *oldlenp, in ctl_byname() 1324 ctl_nametomib(tsd_t *tsd, const char *name, size_t *mibp, size_t *miblenp) { in ctl_nametomib() 1338 ctl_bymib(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in ctl_bymib() 1635 background_thread_ctl(tsd_t *tsd, const size_t *mib, in background_thread_ctl() 1687 max_background_threads_ctl(tsd_t *tsd, const size_t *mib, in max_background_threads_ctl() 1890 thread_tcache_flush_ctl(tsd_t *tsd, const size_t *mib, in thread_tcache_flush_ctl() 1911 thread_prof_name_ctl(tsd_t *tsd, const size_t *mib, in thread_prof_name_ctl() [all …]
|
H A D | prof.c | 365 prof_log_bt_index(tsd_t *tsd, prof_bt_t *bt) { in prof_log_bt_index() 407 prof_log_thr_index(tsd_t *tsd, uint64_t thr_uid, const char *name) { in prof_log_thr_index() 444 prof_try_log(tsd_t *tsd, const void *ptr, size_t usize, prof_tctx_t *tctx) { in prof_try_log() 521 prof_free_sampled_object(tsd_t *tsd, const void *ptr, size_t usize, in prof_free_sampled_object() 548 prof_enter(tsd_t *tsd, prof_tdata_t *tdata) { in prof_enter() 561 prof_leave(tsd_t *tsd, prof_tdata_t *tdata) { in prof_leave() 847 prof_gctx_try_destroy(tsd_t *tsd, prof_tdata_t *tdata_self, prof_gctx_t *gctx, in prof_gctx_try_destroy() 912 prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx) { in prof_tctx_destroy() 988 prof_lookup_global(tsd_t *tsd, prof_bt_t *bt, prof_tdata_t *tdata, in prof_lookup_global() 1053 prof_lookup(tsd_t *tsd, prof_bt_t *bt) { in prof_lookup() [all …]
|
H A D | jemalloc.c | 381 arena_bind(tsd_t *tsd, unsigned ind, bool internal) { in arena_bind() 401 arena_migrate(tsd_t *tsd, unsigned oldind, unsigned newind) { in arena_migrate() 412 arena_unbind(tsd_t *tsd, unsigned ind, bool internal) { in arena_unbind() 426 arena_tdata_get_hard(tsd_t *tsd, unsigned ind) { in arena_tdata_get_hard() 503 arena_choose_hard(tsd_t *tsd, bool internal) { in arena_choose_hard() 617 iarena_cleanup(tsd_t *tsd) { in iarena_cleanup() 627 arena_cleanup(tsd_t *tsd) { in arena_cleanup() 637 arenas_tdata_cleanup(tsd_t *tsd) { in arenas_tdata_cleanup() 695 tsd_t *tsd = tsdn_tsd(tsdn); in check_entry_exit_locking() local 1730 tsd_t *tsd = tsdn_tsd(tsdn); in malloc_init_hard_cleanup() local [all …]
|
H A D | ckh.c | 257 ckh_grow(tsd_t *tsd, ckh_t *ckh) { in ckh_grow() 312 ckh_shrink(tsd_t *tsd, ckh_t *ckh) { in ckh_shrink() 360 ckh_new(tsd_t *tsd, ckh_t *ckh, size_t minitems, ckh_hash_t *hash, in ckh_new() 417 ckh_delete(tsd_t *tsd, ckh_t *ckh) { in ckh_delete() 467 ckh_insert(tsd_t *tsd, ckh_t *ckh, const void *key, const void *data) { in ckh_insert() 490 ckh_remove(tsd_t *tsd, ckh_t *ckh, const void *searchkey, void **key, in ckh_remove()
|
H A D | background_thread.c | 54 bool background_thread_create(tsd_t *tsd, unsigned arena_ind) NOT_REACHED in background_thread_create()
|
H A D | base.c | 44 tsd_t *tsd = tsdn_null(tsdn) ? tsd_fetch() : tsdn_tsd(tsdn); in base_map() local 83 tsd_t *tsd = tsdn_null(tsdn) ? tsd_fetch() : tsdn_tsd(tsdn); in base_unmap() local
|
H A D | arena.c | 1065 arena_bin_reset(tsd_t *tsd, arena_t *arena, bin_t *bin) { in arena_bin_reset() 1096 arena_reset(tsd_t *tsd, arena_t *arena) { in arena_reset() 1170 arena_destroy(tsd_t *tsd, arena_t *arena) { in arena_destroy() 1896 arena_retain_grow_limit_get_set(tsd_t *tsd, arena_t *arena, size_t *old_limit, in arena_retain_grow_limit_get_set() 2111 arena_choose_huge(tsd_t *tsd) { in arena_choose_huge()
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | tcache_inlines.h | 12 tcache_enabled_get(tsd_t *tsd) { in tcache_enabled_get() 17 tcache_enabled_set(tsd_t *tsd, bool enabled) { in tcache_enabled_set() 31 tcache_event(tsd_t *tsd, tcache_t *tcache) { in tcache_event() 42 tcache_alloc_small(tsd_t *tsd, arena_t *arena, tcache_t *tcache, in tcache_alloc_small() 104 tcache_alloc_large(tsd_t *tsd, arena_t *arena, tcache_t *tcache, size_t size, in tcache_alloc_large() 164 tcache_dalloc_small(tsd_t *tsd, tcache_t *tcache, void *ptr, szind_t binind, in tcache_dalloc_small() 189 tcache_dalloc_large(tsd_t *tsd, tcache_t *tcache, void *ptr, szind_t binind, in tcache_dalloc_large() 216 tcaches_get(tsd_t *tsd, unsigned ind) { in tcaches_get()
|
H A D | jemalloc_internal_inlines_a.h | 60 arena_tdata_get(tsd_t *tsd, unsigned ind, bool refresh_if_missing) { in arena_tdata_get() 101 decay_ticker_get(tsd_t *tsd, unsigned ind) { in decay_ticker_get() 124 tcache_available(tsd_t *tsd) { in tcache_available() 142 tcache_get(tsd_t *tsd) { in tcache_get() 151 pre_reentrancy(tsd_t *tsd, arena_t *arena) { in pre_reentrancy() 166 post_reentrancy(tsd_t *tsd) { in post_reentrancy()
|
H A D | tsd.h | 205 tsd_state_get(tsd_t *tsd) { in tsd_state_get() 221 tsd_t tsd; member 225 tsd_tsdn(tsd_t *tsd) { in tsd_tsdn() 325 tsd_assert_fast(tsd_t *tsd) { in tsd_assert_fast() 336 tsd_fast(tsd_t *tsd) { in tsd_fast() 347 tsd_t *tsd = tsd_get(init); in tsd_fetch_impl() local 372 tsd_t *tsd = tsd_fetch_min(); in tsd_internal_fetch() local 385 tsd_nominal(tsd_t *tsd) { in tsd_nominal() 399 tsd_rtree_ctx(tsd_t *tsd) { in tsd_rtree_ctx()
|
H A D | prof_inlines_b.h | 18 prof_tdata_get(tsd_t *tsd, bool create) { in prof_tdata_get() 83 prof_sample_check(tsd_t *tsd, size_t usize, bool update) { in prof_sample_check() 101 prof_sample_accum_update(tsd_t *tsd, size_t usize, bool update, in prof_sample_accum_update() 146 prof_alloc_prep(tsd_t *tsd, size_t usize, bool prof_active, bool update) { in prof_alloc_prep() 181 prof_realloc(tsd_t *tsd, const void *ptr, size_t usize, prof_tctx_t *tctx, in prof_realloc() 239 prof_free(tsd_t *tsd, const void *ptr, size_t usize, alloc_ctx_t *alloc_ctx) { in prof_free()
|
H A D | jemalloc_internal_inlines_b.h | 8 arena_choose_impl(tsd_t *tsd, arena_t *arena, bool internal) { in arena_choose_impl() 62 arena_choose(tsd_t *tsd, arena_t *arena) { in arena_choose() 67 arena_ichoose(tsd_t *tsd, arena_t *arena) { in arena_ichoose()
|
H A D | jemalloc_internal_inlines_c.h | 61 ialloc(tsd_t *tsd, size_t size, szind_t ind, bool zero, bool slow_path) { in ialloc() 93 ipalloc(tsd_t *tsd, size_t usize, size_t alignment, bool zero) { in ipalloc() 122 idalloc(tsd_t *tsd, void *ptr) { in idalloc() 197 iralloc(tsd_t *tsd, void *ptr, size_t oldsize, size_t size, size_t alignment, in iralloc()
|
H A D | arena_inlines_a.h | 36 percpu_arena_update(tsd_t *tsd, unsigned cpu) { in percpu_arena_update()
|
H A D | arena_inlines_b.h | 17 arena_choose_maybe_huge(tsd_t *tsd, arena_t *arena, size_t size) { in arena_choose_maybe_huge() 114 tsd_t *tsd; in arena_decay_ticks() local
|
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_posix.cpp | 30 void TSDInit(void (*destructor)(void *tsd)) { in TSDInit() 41 void TSDSet(void *tsd) { in TSDSet() 46 void PlatformTSDDtor(void *tsd) { in PlatformTSDDtor()
|
H A D | memprof_thread.cpp | 88 void MemprofThread::TSDDtor(void *tsd) { in TSDDtor()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_linux.cpp | 239 void MsanTSDInit(void (*destructor)(void *tsd)) { in MsanTSDInit() 249 void SetCurrentThread(MsanThread *tsd) { in SetCurrentThread() 256 void MsanTSDDtor(void *tsd) { in MsanTSDDtor() 268 void MsanTSDInit(void (*destructor)(void *tsd)) { in MsanTSDInit() 289 void MsanTSDDtor(void *tsd) { in MsanTSDDtor()
|
H A D | msan_thread.cpp | 53 void MsanThread::TSDDtor(void *tsd) { in TSDDtor()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_thread.cpp | 51 void DFsanThread::TSDDtor(void *tsd) { in TSDDtor() 102 void DFsanTSDInit(void (*destructor)(void *tsd)) { in DFsanTSDInit() 121 void DFsanTSDDtor(void *tsd) { in DFsanTSDDtor()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_fuchsia.cpp | 99 void AsanTSDSet(void *tsd) { per_thread = tsd; } in AsanTSDSet() 104 void AsanTSDInit(void (*destructor)(void *tsd)) { in AsanTSDInit() 108 void PlatformTSDDtor(void *tsd) { UNREACHABLE(__func__); } in PlatformTSDDtor()
|
H A D | asan_win.cpp | 250 void AsanTSDInit(void (*destructor)(void *tsd)) { in AsanTSDInit() 260 void AsanTSDSet(void *tsd) { in AsanTSDSet() 265 void PlatformTSDDtor(void *tsd) { AsanThread::TSDDtor(tsd); } in PlatformTSDDtor()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_linux.cpp | 321 void HwasanTSDDtor(void *tsd) { in HwasanTSDDtor()
|