Home
last modified time | relevance | path

Searched refs:tcache_t (Results 1 – 17 of 17) sorted by relevance

/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/
H A Dtcache_externs.h31 void tcache_event_hard(tsd_t *tsd, tcache_t *tcache);
32 void *tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache,
34 void tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, cache_bin_t *tbin,
37 unsigned rem, tcache_t *tcache);
38 void tcache_arena_reassociate(tsdn_t *tsdn, tcache_t *tcache,
40 tcache_t *tcache_create_explicit(tsd_t *tsd);
42 void tcache_stats_merge(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena);
47 void tcache_arena_associate(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena);
H A Dtcache_types.h6 typedef struct tcache_s tcache_t; typedef
14 #define TCACHE_STATE_DISABLED ((tcache_t *)(uintptr_t)1)
15 #define TCACHE_STATE_REINCARNATED ((tcache_t *)(uintptr_t)2)
16 #define TCACHE_STATE_PURGATORY ((tcache_t *)(uintptr_t)3)
H A Dtcache_inlines.h31 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()
214 JEMALLOC_ALWAYS_INLINE tcache_t *
H A Djemalloc_internal_inlines_c.h41 iallocztm(tsdn_t *tsdn, size_t size, szind_t ind, bool zero, tcache_t *tcache, in iallocztm()
68 tcache_t *tcache, bool is_internal, arena_t *arena) { in ipallocztm()
88 tcache_t *tcache, arena_t *arena) { in ipalloct()
104 idalloctm(tsdn_t *tsdn, void *ptr, tcache_t *tcache, alloc_ctx_t *alloc_ctx, in idalloctm()
127 isdalloct(tsdn_t *tsdn, void *ptr, size_t size, tcache_t *tcache, in isdalloct()
136 size_t extra, size_t alignment, bool zero, tcache_t *tcache, in iralloct_realign()
174 bool zero, tcache_t *tcache, arena_t *arena) { in iralloct()
H A Dtcache_structs.h31 ql_elm(tcache_t) link;
56 tcache_t *tcache;
H A Darena_externs.h47 void arena_tcache_fill_small(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache,
58 size_t alignment, bool zero, tcache_t *tcache);
60 void arena_dalloc_promoted(tsdn_t *tsdn, void *ptr, tcache_t *tcache,
68 size_t size, size_t alignment, bool zero, tcache_t *tcache);
H A Djemalloc_internal_inlines_a.h110 tcache_small_bin_get(tcache_t *tcache, szind_t binind) { in tcache_small_bin_get()
116 tcache_large_bin_get(tcache_t *tcache, szind_t binind) { in tcache_large_bin_get()
139 JEMALLOC_ALWAYS_INLINE tcache_t *
H A Darena_structs_b.h110 ql_head(tcache_t) tcache_ql;
H A Dlarge_externs.h10 size_t alignment, bool zero, tcache_t *tcache);
H A Dtsd.h76 O(tcache, tcache_t, tcache_t) \
H A Darena_inlines_a.h49 tcache_t *tcache = tcache_get(tsd); in percpu_arena_update()
H A Darena_inlines_b.h88 tcache_t *tcache, bool slow_path) { in arena_malloc()
190 arena_dalloc(tsdn_t *tsdn, void *ptr, tcache_t *tcache, in arena_dalloc()
287 arena_sdalloc(tsdn_t *tsdn, void *ptr, size_t size, tcache_t *tcache, in arena_sdalloc()
H A Djemalloc_internal_inlines_b.h25 tcache_t *tcache = tcache_get(tsd); in arena_choose_impl()
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Dtcache.c40 tcache_event_hard(tsd_t *tsd, tcache_t *tcache) { in tcache_event_hard()
190 unsigned rem, tcache_t *tcache) { in tcache_bin_flush_large()
316 tcache_t *iter; in tcache_arena_dissociate()
391 tcache_t *tcache = tsd_tcachep_get_unsafe(tsd); in tsd_tcache_data_init()
431 tcache_t *
433 tcache_t *tcache; in tcache_create_explicit()
436 size = sizeof(tcache_t); in tcache_create_explicit()
511 tcache_t *tcache = tsd_tcachep_get(tsd); in tcache_cleanup()
589 tcache_t *tcache = tcache_create_explicit(tsd); in tcaches_create()
616 static tcache_t *
[all …]
H A Djemalloc.c650 tcache_t *tcache; in stats_print_atexit()
1674 tcache_t *tcache; in imalloc_no_sample()
2192 ifree(tsd_t *tsd, void *ptr, tcache_t *tcache, bool slow_path) { in ifree()
2231 isfree(tsd_t *tsd, void *ptr, size_t usize, tcache_t *tcache, bool slow_path) { in isfree()
2301 tcache_t *tcache; in je_realloc()
2388 tcache_t *tcache; in je_free()
2596 size_t usize, size_t alignment, bool zero, tcache_t *tcache, arena_t *arena, in irallocx_prof_sample()
2620 size_t alignment, size_t *usize, bool zero, tcache_t *tcache, in irallocx_prof()
2669 tcache_t *tcache; in je_rallocx()
2930 tcache_t *tcache; in je_dallocx()
[all …]
H A Darena.c1250 arena_tcache_fill_small(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, in arena_tcache_fill_small()
1390 bool zero, tcache_t *tcache) { in arena_palloc()
1449 arena_dalloc_promoted(tsdn_t *tsdn, void *ptr, tcache_t *tcache, in arena_dalloc_promoted()
1619 size_t alignment, bool zero, tcache_t *tcache) { in arena_ralloc_move_helper()
1633 size_t size, size_t alignment, bool zero, tcache_t *tcache) { in arena_ralloc()
2016 tcache_t *tcache = tcache_get(tsdn_tsd(tsdn)); in arena_postfork_child()
H A Dlarge.c274 size_t alignment, bool zero, tcache_t *tcache) { in large_ralloc()