Home
last modified time | relevance | path

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

/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dtcache_externs.h29 void tcache_event_hard(tsd_t *tsd, tcache_t *tcache);
30 void *tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache,
32 void tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, cache_bin_t *tbin,
35 unsigned rem, tcache_t *tcache);
36 void tcache_arena_reassociate(tsdn_t *tsdn, tcache_t *tcache,
38 tcache_t *tcache_create_explicit(tsd_t *tsd);
40 void tcache_stats_merge(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena);
45 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)
57 #define TCACHES_ELM_NEED_REINIT ((tcache_t *)(uintptr_t)1)
H A Djemalloc_internal_inlines_c.h42 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 alignment, bool zero, tcache_t *tcache, arena_t *arena, in iralloct_realign()
175 bool zero, tcache_t *tcache, arena_t *arena, hook_ralloc_args_t *hook_args) in iralloct()
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()
215 JEMALLOC_ALWAYS_INLINE tcache_t *
H A Dtcache_structs.h35 ql_elm(tcache_t) link;
65 tcache_t *tcache;
H A Djemalloc_internal_inlines_a.h112 tcache_small_bin_get(tcache_t *tcache, szind_t binind) { in tcache_small_bin_get()
118 tcache_large_bin_get(tcache_t *tcache, szind_t binind) { in tcache_large_bin_get()
141 JEMALLOC_ALWAYS_INLINE tcache_t *
H A Darena_externs.h51 void arena_tcache_fill_small(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache,
62 size_t alignment, bool zero, tcache_t *tcache);
64 void arena_dalloc_promoted(tsdn_t *tsdn, void *ptr, tcache_t *tcache,
72 size_t size, size_t alignment, bool zero, tcache_t *tcache,
H A Darena_inlines_b.h160 tcache_t *tcache, bool slow_path) { in arena_malloc()
270 arena_dalloc_large(tsdn_t *tsdn, void *ptr, tcache_t *tcache, szind_t szind, in arena_dalloc_large()
286 arena_dalloc(tsdn_t *tsdn, void *ptr, tcache_t *tcache, in arena_dalloc()
371 arena_sdalloc(tsdn_t *tsdn, void *ptr, size_t size, tcache_t *tcache, in arena_sdalloc()
H A Darena_structs_b.h113 ql_head(tcache_t) tcache_ql;
H A Dtsd.h79 O(tcache, tcache_t, tcache_t) \
H A Darena_inlines_a.h49 tcache_t *tcache = tcache_get(tsd); in percpu_arena_update()
H A Dlarge_externs.h12 size_t alignment, bool zero, tcache_t *tcache,
H A Djemalloc_internal_inlines_b.h25 tcache_t *tcache = tcache_get(tsd); in arena_choose_impl()
/freebsd/contrib/jemalloc/src/
H A Dtcache.c41 tcache_event_hard(tsd_t *tsd, tcache_t *tcache) { in tcache_event_hard()
89 tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, in tcache_alloc_small_hard()
134 tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, cache_bin_t *tbin, in tcache_bin_flush_small()
231 unsigned rem, tcache_t *tcache) { in tcache_bin_flush_large()
341 tcache_arena_associate(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena) { in tcache_arena_associate()
362 tcache_arena_dissociate(tsdn_t *tsdn, tcache_t *tcache) { in tcache_arena_dissociate()
370 tcache_t *iter; in tcache_arena_dissociate()
389 tcache_arena_reassociate(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena) { in tcache_arena_reassociate()
410 tcache_init(tsd_t *tsd, tcache_t *tcache, void *avail_stack) { in tcache_init()
411 memset(&tcache->link, 0, sizeof(ql_elm(tcache_t))); in tcache_init()
[all …]
H A Djemalloc.c668 tcache_t *tcache; in stats_print_atexit()
1918 tcache_t *tcache; in imalloc_no_sample()
2339 tcache_t *tcache = tsd_tcachep_get(tsd); in JEMALLOC_ATTR()
2560 ifree(tsd_t *tsd, void *ptr, tcache_t *tcache, bool slow_path) { in ifree()
2599 isfree(tsd_t *tsd, void *ptr, size_t usize, tcache_t *tcache, bool slow_path) { in isfree()
2770 tcache_t *tcache; in free_default()
2797 tcache_t *tcache = tsd_tcachep_get(tsd); in free_fastpath()
3135 size_t usize, size_t alignment, bool zero, tcache_t *tcache, arena_t *arena, in irallocx_prof_sample()
3160 size_t alignment, size_t *usize, bool zero, tcache_t *tcache, in irallocx_prof()
3209 tcache_t *tcache; in je_rallocx()
[all …]
H A Dhook.c133 tcache_t *tcache = tsdn_tcachep_get(tsdn); in hook_reentrantp()
H A Darena.c1381 arena_tcache_fill_small(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, in arena_tcache_fill_small()
1533 bool zero, tcache_t *tcache) { in arena_palloc()
1597 arena_dalloc_promoted(tsdn_t *tsdn, void *ptr, tcache_t *tcache, in arena_dalloc_promoted()
1787 size_t alignment, bool zero, tcache_t *tcache) { in arena_ralloc_move_helper()
1801 size_t size, size_t alignment, bool zero, tcache_t *tcache, in arena_ralloc()
2269 tcache_t *tcache = tcache_get(tsdn_tsd(tsdn)); in arena_postfork_child()
H A Dlarge.c275 size_t alignment, bool zero, tcache_t *tcache, in large_ralloc()
/freebsd/contrib/jemalloc/
H A DFREEBSD-diffs384 - tcache_t *tcache;