Home
last modified time | relevance | path

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

12

/external/jemalloc/include/jemalloc/internal/
Dtcache.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)
96 ql_elm(tcache_t) link; /* Used for aggregating stats. */
112 tcache_t *tcache;
146 void tcache_event_hard(tsd_t *tsd, tcache_t *tcache);
147 void *tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache,
149 void tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, tcache_bin_t *tbin,
152 unsigned rem, tcache_t *tcache);
[all …]
Djemalloc_internal.h994 tcache_t *tcache, bool is_metadata, arena_t *arena, bool slow_path);
998 tcache_t *tcache, bool is_metadata, arena_t *arena);
1000 tcache_t *tcache, arena_t *arena);
1005 void idalloctm(tsdn_t *tsdn, void *ptr, tcache_t *tcache, bool is_metadata,
1008 void iqalloc(tsd_t *tsd, void *ptr, tcache_t *tcache, bool slow_path);
1009 void isdalloct(tsdn_t *tsdn, void *ptr, size_t size, tcache_t *tcache,
1011 void isqalloc(tsd_t *tsd, void *ptr, size_t size, tcache_t *tcache,
1014 size_t extra, size_t alignment, bool zero, tcache_t *tcache,
1017 size_t alignment, bool zero, tcache_t *tcache, arena_t *arena);
1052 iallocztm(tsdn_t *tsdn, size_t size, szind_t ind, bool zero, tcache_t *tcache, in iallocztm()
[all …]
Djemalloc_internal.h.in994 tcache_t *tcache, bool is_metadata, arena_t *arena, bool slow_path);
998 tcache_t *tcache, bool is_metadata, arena_t *arena);
1000 tcache_t *tcache, arena_t *arena);
1005 void idalloctm(tsdn_t *tsdn, void *ptr, tcache_t *tcache, bool is_metadata,
1008 void iqalloc(tsd_t *tsd, void *ptr, tcache_t *tcache, bool slow_path);
1009 void isdalloct(tsdn_t *tsdn, void *ptr, size_t size, tcache_t *tcache,
1011 void isqalloc(tsd_t *tsd, void *ptr, size_t size, tcache_t *tcache,
1014 size_t extra, size_t alignment, bool zero, tcache_t *tcache,
1017 size_t alignment, bool zero, tcache_t *tcache, arena_t *arena);
1052 iallocztm(tsdn_t *tsdn, size_t size, szind_t ind, bool zero, tcache_t *tcache,
[all …]
Darena.h388 ql_head(tcache_t) tcache_ql;
586 size_t alignment, bool zero, tcache_t *tcache);
611 size_t size, size_t alignment, bool zero, tcache_t *tcache);
707 bool zero, tcache_t *tcache, bool slow_path);
710 void arena_dalloc(tsdn_t *tsdn, void *ptr, tcache_t *tcache, bool slow_path);
711 void arena_sdalloc(tsdn_t *tsdn, void *ptr, size_t size, tcache_t *tcache,
1352 tcache_t *tcache, bool slow_path) in arena_malloc()
1437 arena_dalloc(tsdn_t *tsdn, void *ptr, tcache_t *tcache, bool slow_path) in arena_dalloc()
1496 arena_sdalloc(tsdn_t *tsdn, void *ptr, size_t size, tcache_t *tcache, in arena_sdalloc()
Dhuge.h18 size_t usize, size_t alignment, bool zero, tcache_t *tcache);
/external/jemalloc_new/include/jemalloc/internal/
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);
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)
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()
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()
106 tcache_alloc_large(tsd_t *tsd, arena_t *arena, tcache_t *tcache, size_t size, in tcache_alloc_large()
168 tcache_dalloc_small(tsd_t *tsd, tcache_t *tcache, void *ptr, szind_t binind, in tcache_dalloc_small()
193 tcache_dalloc_large(tsd_t *tsd, tcache_t *tcache, void *ptr, szind_t binind, in tcache_dalloc_large()
218 JEMALLOC_ALWAYS_INLINE tcache_t *
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);
Dtcache_structs.h31 ql_elm(tcache_t) link;
56 tcache_t *tcache;
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 *
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()
Dtsd.h76 O(tcache, tcache_t, tcache_t) \
Darena_structs_b.h110 ql_head(tcache_t) tcache_ql;
Dlarge_externs.h10 size_t alignment, bool zero, tcache_t *tcache);
Darena_inlines_a.h49 tcache_t *tcache = tcache_get(tsd); in percpu_arena_update()
Djemalloc_internal_inlines_b.h25 tcache_t *tcache = tcache_get(tsd); in arena_choose_impl()
/external/jemalloc_new/src/
Dtcache.c44 tcache_event_hard(tsd_t *tsd, tcache_t *tcache) { in tcache_event_hard()
92 tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, in tcache_alloc_small_hard()
108 tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, cache_bin_t *tbin, in tcache_bin_flush_small()
198 unsigned rem, tcache_t *tcache) { in tcache_bin_flush_large()
301 tcache_arena_associate(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena) { in tcache_arena_associate()
322 tcache_arena_dissociate(tsdn_t *tsdn, tcache_t *tcache) { in tcache_arena_dissociate()
330 tcache_t *iter; in tcache_arena_dissociate()
349 tcache_arena_reassociate(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena) { in tcache_arena_reassociate()
370 tcache_init(tsd_t *tsd, tcache_t *tcache, void *avail_stack) { in tcache_init()
371 memset(&tcache->link, 0, sizeof(ql_elm(tcache_t))); in tcache_init()
[all …]
Djemalloc.c650 tcache_t *tcache; in stats_print_atexit()
1690 tcache_t *tcache;
2208 ifree(tsd_t *tsd, void *ptr, tcache_t *tcache, bool slow_path) {
2247 isfree(tsd_t *tsd, void *ptr, size_t usize, tcache_t *tcache, bool slow_path) {
2317 tcache_t *tcache;
2404 tcache_t *tcache;
2612 size_t usize, size_t alignment, bool zero, tcache_t *tcache, arena_t *arena,
2636 size_t alignment, size_t *usize, bool zero, tcache_t *tcache,
2685 tcache_t *tcache;
2946 tcache_t *tcache;
[all …]
Darena.c1250 arena_tcache_fill_small(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, in arena_tcache_fill_small()
1394 bool zero, tcache_t *tcache) { in arena_palloc()
1453 arena_dalloc_promoted(tsdn_t *tsdn, void *ptr, tcache_t *tcache, in arena_dalloc_promoted()
1623 size_t alignment, bool zero, tcache_t *tcache) { in arena_ralloc_move_helper()
1637 size_t size, size_t alignment, bool zero, tcache_t *tcache) { in arena_ralloc()
2020 tcache_t *tcache = tcache_get(tsdn_tsd(tsdn)); in arena_postfork_child()
Dlarge.c282 size_t alignment, bool zero, tcache_t *tcache) { in large_ralloc()
/external/jemalloc/src/
Dtcache.c37 tcache_event_hard(tsd_t *tsd, tcache_t *tcache) in tcache_event_hard()
77 tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, in tcache_alloc_small_hard()
92 tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, tcache_bin_t *tbin, in tcache_bin_flush_small()
175 unsigned rem, tcache_t *tcache) in tcache_bin_flush_large()
259 tcache_arena_associate(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena) in tcache_arena_associate()
272 tcache_arena_dissociate(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena) in tcache_arena_dissociate()
280 tcache_t *iter; in tcache_arena_dissociate()
296 tcache_arena_reassociate(tsdn_t *tsdn, tcache_t *tcache, arena_t *oldarena, in tcache_arena_reassociate()
304 tcache_t *
320 tcache_t *
[all …]
Djemalloc.c766 tcache_t *tcache; in stats_print_atexit()
1883 ifree(tsd_t *tsd, void *ptr, tcache_t *tcache, bool slow_path)
1912 isfree(tsd_t *tsd, void *ptr, size_t usize, tcache_t *tcache, bool slow_path)
2123 size_t *alignment, bool *zero, tcache_t **tcache, arena_t **arena)
2155 tcache_t *tcache, arena_t *arena, bool slow_path)
2169 tcache_t *tcache, arena_t *arena, bool slow_path)
2195 tcache_t *tcache;
2228 tcache_t *tcache;
2307 size_t usize, size_t alignment, bool zero, tcache_t *tcache, arena_t *arena,
2330 size_t alignment, size_t *usize, bool zero, tcache_t *tcache,
[all …]
Dhuge.c380 size_t usize, size_t alignment, bool zero, tcache_t *tcache) in huge_ralloc()

12