| /redis-3.2.3/deps/jemalloc/include/jemalloc/internal/ |
| H A D | tcache.h | 138 tcache_t *tcache_get_hard(tsd_t *tsd); 140 void tcache_cleanup(tsd_t *tsd); 141 void tcache_enabled_cleanup(tsd_t *tsd); 144 void tcaches_flush(tsd_t *tsd, unsigned ind); 156 tcache_t *tcache_get(tsd_t *tsd, bool create); 174 tsd_t *tsd; in tcache_flush() 185 tsd_t *tsd; in tcache_enabled_get() 203 tsd_t *tsd; in tcache_enabled_set() 218 tcache_get(tsd_t *tsd, bool create) in tcache_get() 237 tcache_event(tsd_t *tsd, tcache_t *tcache) in tcache_event() [all …]
|
| H A D | prof.h | 289 prof_tctx_t *prof_lookup(tsd_t *tsd, prof_bt_t *bt); 302 prof_tdata_t *prof_tdata_init(tsd_t *tsd); 304 void prof_reset(tsd_t *tsd, size_t lg_sample); 305 void prof_tdata_cleanup(tsd_t *tsd); 309 int prof_thread_name_set(tsd_t *tsd, const char *thread_name); 331 prof_tdata_t *prof_tdata_get(tsd_t *tsd, bool create); 343 void prof_realloc(tsd_t *tsd, const void *ptr, size_t usize, 346 void prof_free(tsd_t *tsd, const void *ptr, size_t usize); 376 prof_tdata_get(tsd_t *tsd, bool create) in prof_tdata_get() 431 prof_sample_accum_update(tsd_t *tsd, size_t usize, bool update, in prof_sample_accum_update() [all …]
|
| H A D | quarantine.h | 32 void quarantine_alloc_hook_work(tsd_t *tsd); 33 void quarantine(tsd_t *tsd, void *ptr); 34 void quarantine_cleanup(tsd_t *tsd); 48 tsd_t *tsd; in quarantine_alloc_hook()
|
| H A D | tsd.h | 15 typedef struct tsd_s tsd_t; typedef 570 malloc_tsd_types(, tsd_t) 597 tsd_t *tsd_fetch(void); 598 bool tsd_nominal(tsd_t *tsd); 601 t tsd_##n##_get(tsd_t *tsd); \ 608 malloc_tsd_externs(, tsd_t) 611 JEMALLOC_ALWAYS_INLINE tsd_t * 614 tsd_t *tsd = tsd_get(); in tsd_fetch() 632 tsd_nominal(tsd_t *tsd) in tsd_nominal() 640 tsd_##n##p_get(tsd_t *tsd) \ [all …]
|
| H A D | huge.h | 12 void *huge_malloc(tsd_t *tsd, arena_t *arena, size_t size, bool zero, 14 void *huge_palloc(tsd_t *tsd, arena_t *arena, size_t size, size_t alignment, 18 void *huge_ralloc(tsd_t *tsd, arena_t *arena, void *ptr, size_t oldsize, 24 void huge_dalloc(tsd_t *tsd, void *ptr, tcache_t *tcache);
|
| H A D | jemalloc_internal.h.in | 454 arena_t *arena_choose_hard(tsd_t *tsd); 459 void arena_cleanup(tsd_t *tsd); 460 void arenas_cache_cleanup(tsd_t *tsd); 461 void narenas_cache_cleanup(tsd_t *tsd); 762 arena_choose(tsd_t *tsd, arena_t *arena) 825 void *imalloc(tsd_t *tsd, size_t size); 827 void *icalloc(tsd_t *tsd, size_t size); 838 void idalloc(tsd_t *tsd, void *ptr); 903 imalloc(tsd_t *tsd, size_t size) 917 icalloc(tsd_t *tsd, size_t size) [all …]
|
| H A D | ckh.h | 69 bool ckh_new(tsd_t *tsd, ckh_t *ckh, size_t minitems, ckh_hash_t *hash, 71 void ckh_delete(tsd_t *tsd, ckh_t *ckh); 74 bool ckh_insert(tsd_t *tsd, ckh_t *ckh, const void *key, const void *data); 75 bool ckh_remove(tsd_t *tsd, ckh_t *ckh, const void *searchkey, void **key,
|
| H A D | arena.h | 466 void *arena_palloc(tsd_t *tsd, arena_t *arena, size_t usize, 490 void *arena_ralloc(tsd_t *tsd, arena_t *arena, void *ptr, size_t oldsize, 561 void *arena_malloc(tsd_t *tsd, arena_t *arena, size_t size, bool zero, 565 void arena_dalloc(tsd_t *tsd, void *ptr, tcache_t *tcache); 566 void arena_sdalloc(tsd_t *tsd, void *ptr, size_t size, tcache_t *tcache); 1161 arena_malloc(tsd_t *tsd, arena_t *arena, size_t size, bool zero, in arena_malloc() 1254 arena_dalloc(tsd_t *tsd, void *ptr, tcache_t *tcache) in arena_dalloc() 1297 arena_sdalloc(tsd_t *tsd, void *ptr, size_t size, tcache_t *tcache) in arena_sdalloc()
|
| /redis-3.2.3/deps/jemalloc/src/ |
| H A D | quarantine.c | 15 static quarantine_t *quarantine_grow(tsd_t *tsd, quarantine_t *quarantine); 16 static void quarantine_drain_one(tsd_t *tsd, quarantine_t *quarantine); 17 static void quarantine_drain(tsd_t *tsd, quarantine_t *quarantine, 23 quarantine_init(tsd_t *tsd, size_t lg_maxobjs) in quarantine_init() 43 quarantine_alloc_hook_work(tsd_t *tsd) in quarantine_alloc_hook_work() 62 quarantine_grow(tsd_t *tsd, quarantine_t *quarantine) in quarantine_grow() 97 quarantine_drain_one(tsd_t *tsd, quarantine_t *quarantine) in quarantine_drain_one() 109 quarantine_drain(tsd_t *tsd, quarantine_t *quarantine, size_t upper_bound) in quarantine_drain() 117 quarantine(tsd_t *tsd, void *ptr) in quarantine() 170 quarantine_cleanup(tsd_t *tsd) in quarantine_cleanup()
|
| H A D | tcache.c | 33 tcache_event_hard(tsd_t *tsd, tcache_t *tcache) in tcache_event_hard() 74 tcache_alloc_small_hard(tsd_t *tsd, arena_t *arena, tcache_t *tcache, in tcache_alloc_small_hard() 297 tcache_get_hard(tsd_t *tsd) in tcache_get_hard() 313 tcache_create(tsd_t *tsd, arena_t *arena) in tcache_create() 345 tcache_destroy(tsd_t *tsd, tcache_t *tcache) in tcache_destroy() 386 tcache_cleanup(tsd_t *tsd) in tcache_cleanup() 400 tcache_enabled_cleanup(tsd_t *tsd) in tcache_enabled_cleanup() 434 tcaches_create(tsd_t *tsd, unsigned *r_ind) in tcaches_create() 468 tcaches_elm_flush(tsd_t *tsd, tcaches_t *elm) in tcaches_elm_flush() 478 tcaches_flush(tsd_t *tsd, unsigned ind) in tcaches_flush() [all …]
|
| H A D | jemalloc.c | 574 arena_choose_hard(tsd_t *tsd) in arena_choose_hard() 649 arena_cleanup(tsd_t *tsd) in arena_cleanup() 1421 tsd_t *tsd; in JEMALLOC_ATTR() 1490 tsd_t *tsd; in imemalign() 1622 tsd_t *tsd; in JEMALLOC_ATTR() 1838 tsd_t *tsd = tsd_fetch(); in je_free() 2055 tsd_t *tsd; in JEMALLOC_ATTR() 2158 tsd_t *tsd; in je_rallocx() 2293 tsd_t *tsd; in je_xallocx() 2362 tsd_t *tsd; in je_dallocx() [all …]
|
| H A D | prof.c | 911 tsd_t *tsd; in prof_bt_count() 1570 tsd_t *tsd; in prof_fdump() 1590 tsd_t *tsd; in prof_idump() 1619 tsd_t *tsd; in prof_mdump() 1644 tsd_t *tsd; in prof_gdump() 1754 prof_tdata_init(tsd_t *tsd) in prof_tdata_init() 1889 prof_tdata_cleanup(tsd_t *tsd) in prof_tdata_cleanup() 1927 tsd_t *tsd; in prof_thread_name_get() 1994 tsd_t *tsd; in prof_thread_active_get() 2007 tsd_t *tsd; in prof_thread_active_set() [all …]
|
| H A D | ckh.c | 43 static bool ckh_grow(tsd_t *tsd, ckh_t *ckh); 44 static void ckh_shrink(tsd_t *tsd, ckh_t *ckh); 246 ckh_grow(tsd_t *tsd, ckh_t *ckh) in ckh_grow() 302 ckh_shrink(tsd_t *tsd, ckh_t *ckh) in ckh_shrink() 350 ckh_new(tsd_t *tsd, ckh_t *ckh, size_t minitems, ckh_hash_t *hash, in ckh_new() 407 ckh_delete(tsd_t *tsd, ckh_t *ckh) in ckh_delete() 459 ckh_insert(tsd_t *tsd, ckh_t *ckh, const void *key, const void *data) in ckh_insert() 483 ckh_remove(tsd_t *tsd, ckh_t *ckh, const void *searchkey, void **key, in ckh_remove()
|
| H A D | tsd.c | 10 malloc_tsd_data(, , tsd_t, TSD_INITIALIZER) 73 tsd_t *tsd = (tsd_t *)arg; in tsd_cleanup()
|
| H A D | huge.c | 34 huge_malloc(tsd_t *tsd, arena_t *arena, size_t size, bool zero, in huge_malloc() 49 huge_palloc(tsd_t *tsd, arena_t *arena, size_t size, size_t alignment, in huge_palloc() 322 huge_ralloc_move_helper(tsd_t *tsd, arena_t *arena, size_t usize, in huge_ralloc_move_helper() 332 huge_ralloc(tsd_t *tsd, arena_t *arena, void *ptr, size_t oldsize, size_t usize, in huge_ralloc() 359 huge_dalloc(tsd_t *tsd, void *ptr, tcache_t *tcache) in huge_dalloc()
|
| H A D | ctl.c | 682 tsd_t *tsd; in ctl_refresh() 1188 tsd_t *tsd; \ 1294 tsd_t *tsd; in CTL_RO_BOOL_CONFIG_GEN() 1404 tsd_t *tsd; in thread_prof_name_ctl() 1461 tsd_t *tsd; in tcache_create_ctl() 1488 tsd_t *tsd; in tcache_flush_ctl() 1515 tsd_t *tsd; in tcache_destroy_ctl() 1543 tsd_t *tsd; in arena_purge() 1968 tsd_t *tsd; in prof_reset_ctl()
|
| H A D | arena.c | 2266 arena_palloc_large(tsd_t *tsd, arena_t *arena, size_t usize, size_t alignment, in arena_palloc_large() 2351 arena_palloc(tsd_t *tsd, arena_t *arena, size_t usize, size_t alignment, in arena_palloc() 2835 arena_ralloc_move_helper(tsd_t *tsd, arena_t *arena, size_t usize, in arena_ralloc_move_helper() 2848 arena_ralloc(tsd_t *tsd, arena_t *arena, void *ptr, size_t oldsize, size_t size, in arena_ralloc()
|
| /redis-3.2.3/deps/jemalloc/test/unit/ |
| H A D | ckh.c | 5 tsd_t *tsd; in TEST_BEGIN() 22 tsd_t *tsd; in TEST_BEGIN() 111 tsd_t *tsd; in TEST_BEGIN()
|