| /f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/ |
| H A D | tsd.h | 133 tsd_t tsd; 137 tsd_tsdn(tsd_t *tsd) { in tsd_tsdn() 146 JEMALLOC_ALWAYS_INLINE tsd_t * 156 tsd_t *malloc_tsd_boot0(void); 159 tsd_t *tsd_fetch_slow(tsd_t *tsd, bool internal); 240 tsd_assert_fast(tsd_t *tsd) { in tsd_assert_fast() 246 tsd_fast(tsd_t *tsd) { in tsd_fast() 255 JEMALLOC_ALWAYS_INLINE tsd_t * 257 tsd_t *tsd = tsd_get(init); in tsd_fetch_impl() 295 tsd_nominal(tsd_t *tsd) { in tsd_nominal() [all …]
|
| H A D | tcache_externs.h | 31 void tcache_event_hard(tsd_t *tsd, tcache_t *tcache); 34 void tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, cache_bin_t *tbin, 36 void tcache_bin_flush_large(tsd_t *tsd, cache_bin_t *tbin, szind_t binind, 40 tcache_t *tcache_create_explicit(tsd_t *tsd); 41 void tcache_cleanup(tsd_t *tsd); 43 bool tcaches_create(tsd_t *tsd, unsigned *r_ind); 44 void tcaches_flush(tsd_t *tsd, unsigned ind); 45 void tcaches_destroy(tsd_t *tsd, unsigned ind); 51 void tcache_flush(tsd_t *tsd); 52 bool tsd_tcache_data_init(tsd_t *tsd); [all …]
|
| H A D | prof_externs.h | 51 prof_tctx_t *prof_lookup(tsd_t *tsd, prof_bt_t *bt); 67 bool prof_mdump(tsd_t *tsd, const char *filename); 69 prof_tdata_t *prof_tdata_init(tsd_t *tsd); 70 prof_tdata_t *prof_tdata_reinit(tsd_t *tsd, prof_tdata_t *tdata); 71 void prof_reset(tsd_t *tsd, size_t lg_sample); 72 void prof_tdata_cleanup(tsd_t *tsd); 75 const char *prof_thread_name_get(tsd_t *tsd); 76 int prof_thread_name_set(tsd_t *tsd, const char *thread_name); 77 bool prof_thread_active_get(tsd_t *tsd); 78 bool prof_thread_active_set(tsd_t *tsd, bool active); [all …]
|
| H A D | jemalloc_internal_externs.h | 42 arena_tdata_t *arena_tdata_get_hard(tsd_t *tsd, unsigned ind); 43 arena_t *arena_choose_hard(tsd_t *tsd, bool internal); 44 void arena_migrate(tsd_t *tsd, unsigned oldind, unsigned newind); 45 void iarena_cleanup(tsd_t *tsd); 46 void arena_cleanup(tsd_t *tsd); 47 void arenas_tdata_cleanup(tsd_t *tsd);
|
| H A D | jemalloc_internal_inlines_a.h | 58 arena_tdata_get(tsd_t *tsd, unsigned ind, bool refresh_if_missing) { in arena_tdata_get() 99 decay_ticker_get(tsd_t *tsd, unsigned ind) { in decay_ticker_get() 122 tcache_available(tsd_t *tsd) { in tcache_available() 140 tcache_get(tsd_t *tsd) { in tcache_get() 149 pre_reentrancy(tsd_t *tsd, arena_t *arena) { in pre_reentrancy() 164 post_reentrancy(tsd_t *tsd) { in post_reentrancy()
|
| 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() 215 tcaches_get(tsd_t *tsd, unsigned ind) { in tcaches_get()
|
| H A D | ckh.h | 70 bool ckh_new(tsd_t *tsd, ckh_t *ckh, size_t minitems, ckh_hash_t *hash, 72 void ckh_delete(tsd_t *tsd, ckh_t *ckh); 90 bool ckh_insert(tsd_t *tsd, ckh_t *ckh, const void *key, const void *data); 91 bool ckh_remove(tsd_t *tsd, ckh_t *ckh, const void *searchkey, void **key,
|
| H A D | tsd_win.h | 8 tsd_t val; 61 tsd_t tsd_initializer = TSD_INITIALIZER; in tsd_wrapper_get() 93 tsd_t initializer = TSD_INITIALIZER; in tsd_boot1() 117 JEMALLOC_ALWAYS_INLINE tsd_t * 130 tsd_set(tsd_t *val) { in tsd_set()
|
| H A D | tsd_generic.h | 18 tsd_t val; 80 tsd_t initializer = TSD_INITIALIZER; in tsd_wrapper_get() 110 tsd_t initializer = TSD_INITIALIZER; in tsd_boot1() 135 JEMALLOC_ALWAYS_INLINE tsd_t * 148 tsd_set(tsd_t *val) { in tsd_set()
|
| H A D | tsd_malloc_thread_cleanup.h | 6 extern __thread tsd_t tsd_tls; 48 JEMALLOC_ALWAYS_INLINE tsd_t * 54 tsd_set(tsd_t *val) { in tsd_set()
|
| H A D | tsd_tls.h | 6 extern __thread tsd_t tsd_tls; 41 JEMALLOC_ALWAYS_INLINE tsd_t * 48 tsd_set(tsd_t *val) { in tsd_set()
|
| H A D | background_thread_externs.h | 13 bool background_thread_create(tsd_t *tsd, unsigned arena_ind); 14 bool background_threads_enable(tsd_t *tsd); 15 bool background_threads_disable(tsd_t *tsd);
|
| H A D | ctl.h | 24 int (*ctl)(tsd_t *, const size_t *, size_t, void *, size_t *, void *, 93 int ctl_byname(tsd_t *tsd, const char *name, void *oldp, size_t *oldlenp, 95 int ctl_nametomib(tsd_t *tsd, const char *name, size_t *mibp, size_t *miblenp); 97 int ctl_bymib(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp,
|
| H A D | prof_inlines_b.h | 17 prof_tdata_get(tsd_t *tsd, bool create) { in prof_tdata_get() 65 prof_sample_accum_update(tsd_t *tsd, size_t usize, bool update, in prof_sample_accum_update() 102 prof_alloc_prep(tsd_t *tsd, size_t usize, bool prof_active, bool update) { in prof_alloc_prep() 137 prof_realloc(tsd_t *tsd, const void *ptr, size_t usize, prof_tctx_t *tctx, in prof_realloc() 195 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 | arena_externs.h | 45 void arena_reset(tsd_t *tsd, arena_t *arena); 46 void arena_destroy(tsd_t *tsd, arena_t *arena); 75 bool arena_retain_grow_limit_get_set(tsd_t *tsd, arena_t *arena,
|
| 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() 195 iralloc(tsd_t *tsd, void *ptr, size_t oldsize, size_t size, size_t alignment, in iralloc()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/src/ |
| H A D | tsd.c | 55 tsd_slow_update(tsd_t *tsd) { in tsd_slow_update() 67 tsd_data_init(tsd_t *tsd) { in tsd_data_init() 88 assert_tsd_data_cleanup_done(tsd_t *tsd) { in assert_tsd_data_cleanup_done() 99 tsd_data_init_nocleanup(tsd_t *tsd) { in tsd_data_init_nocleanup() 116 tsd_t * 117 tsd_fetch_slow(tsd_t *tsd, bool minimal) { in tsd_fetch_slow() 204 tsd_do_data_cleanup(tsd_t *tsd) { in tsd_do_data_cleanup() 215 tsd_t *tsd = (tsd_t *)arg; in tsd_cleanup() 258 tsd_t * 260 tsd_t *tsd; in malloc_tsd_boot0() [all …]
|
| H A D | tcache.c | 40 tcache_event_hard(tsd_t *tsd, tcache_t *tcache) { in tcache_event_hard() 341 tsd_tcache_enabled_data_init(tsd_t *tsd) { in tsd_tcache_enabled_data_init() 390 tsd_tcache_data_init(tsd_t *tsd) { in tsd_tcache_data_init() 432 tcache_create_explicit(tsd_t *tsd) { in tcache_create_explicit() 486 tcache_flush(tsd_t *tsd) { in tcache_flush() 510 tcache_cleanup(tsd_t *tsd) { in tcache_cleanup() 553 tcaches_create_prep(tsd_t *tsd) { in tcaches_create_prep() 579 tcaches_create(tsd_t *tsd, unsigned *r_ind) { in tcaches_create() 617 tcaches_elm_remove(tsd_t *tsd, tcaches_t *elm) { in tcaches_elm_remove() 629 tcaches_flush(tsd_t *tsd, unsigned ind) { in tcaches_flush() [all …]
|
| H A D | ctl.c | 50 static int n##_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, \ 642 arenas_i_impl(tsd_t *tsd, size_t i, bool compat, bool init) { in arenas_i_impl() 885 ctl_arena_init(tsd_t *tsd, extent_hooks_t *extent_hooks) { in ctl_arena_init() 999 ctl_init(tsd_t *tsd) { in ctl_init() 1219 ctl_bymib(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in ctl_bymib() 1356 n##_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, \ 1381 n##_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, \ 1402 n##_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, \ 1424 n##_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, \ 1443 n##_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, \ [all …]
|
| H A D | prof.c | 785 prof_lookup(tsd_t *tsd, prof_bt_t *bt) { in prof_lookup() 940 tsd_t *tsd; in prof_bt_count() 1677 tsd_t *tsd; in prof_cnt_all() 1742 tsd_t *tsd; in prof_fdump() 1779 tsd_t *tsd; in prof_idump() 1836 tsd_t *tsd; in prof_gdump() 1949 prof_tdata_init(tsd_t *tsd) { in prof_tdata_init() 2088 prof_tdata_cleanup(tsd_t *tsd) { in prof_tdata_cleanup() 2123 prof_thread_name_get(tsd_t *tsd) { in prof_thread_name_get() 2195 prof_thread_active_get(tsd_t *tsd) { in prof_thread_active_get() [all …]
|
| H A D | ckh.c | 53 static bool ckh_grow(tsd_t *tsd, ckh_t *ckh); 54 static void ckh_shrink(tsd_t *tsd, ckh_t *ckh); 257 ckh_grow(tsd_t *tsd, ckh_t *ckh) { in ckh_grow() 311 ckh_shrink(tsd_t *tsd, ckh_t *ckh) { in ckh_shrink() 359 ckh_new(tsd_t *tsd, ckh_t *ckh, size_t minitems, ckh_hash_t *hash, in ckh_new() 416 ckh_delete(tsd_t *tsd, ckh_t *ckh) { in ckh_delete() 466 ckh_insert(tsd_t *tsd, ckh_t *ckh, const void *key, const void *data) { in ckh_insert() 489 ckh_remove(tsd_t *tsd, ckh_t *ckh, const void *searchkey, void **key, in ckh_remove()
|
| H A D | jemalloc.c | 609 arena_cleanup(tsd_t *tsd) { in arena_cleanup() 1501 tsd_t *tsd; in malloc_init_hard() 1999 tsd_t *tsd = tsd_fetch(); in imalloc() 2357 tsd_t *tsd; in je_realloc() 2663 tsd_t *tsd; in je_rallocx() 2830 tsd_t *tsd; in je_xallocx() 3057 tsd_t *tsd; in je_mallctl() 3099 tsd_t *tsd; in je_mallctlbymib() 3196 tsd_t *tsd; in jemalloc_prefork() 3269 tsd_t *tsd; in jemalloc_postfork_parent() [all …]
|
| H A D | background_thread.c | 56 bool background_thread_create(tsd_t *tsd, unsigned arena_ind) NOT_REACHED in background_thread_create() 57 bool background_threads_enable(tsd_t *tsd) NOT_REACHED in background_thread_create() 58 bool background_threads_disable(tsd_t *tsd) NOT_REACHED in background_thread_create() 313 background_threads_disable_single(tsd_t *tsd, background_thread_info_t *info) { 386 check_background_thread_creation(tsd_t *tsd, unsigned *n_created, 436 background_thread0_work(tsd_t *tsd) { 485 background_work(tsd_t *tsd, unsigned ind) { 530 background_thread_init(tsd_t *tsd, background_thread_info_t *info) { 539 background_thread_create(tsd_t *tsd, unsigned arena_ind) { 593 background_threads_enable(tsd_t *tsd) { [all …]
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | tsd.c | 46 tsd_t *tsd = tsd_fetch(); in thd_start() 89 tsd_t *tsd = tsd_fetch(); in thd_start_reincarnated()
|