Home
last modified time | relevance | path

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

/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.h382 ql_head(tcache_t) tcache_ql;
580 size_t alignment, bool zero, tcache_t *tcache);
605 size_t size, size_t alignment, bool zero, tcache_t *tcache);
701 bool zero, tcache_t *tcache, bool slow_path);
704 void arena_dalloc(tsdn_t *tsdn, void *ptr, tcache_t *tcache, bool slow_path);
705 void arena_sdalloc(tsdn_t *tsdn, void *ptr, size_t size, tcache_t *tcache,
1346 tcache_t *tcache, bool slow_path) in arena_malloc()
1431 arena_dalloc(tsdn_t *tsdn, void *ptr, tcache_t *tcache, bool slow_path) in arena_dalloc()
1490 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);
Dtsd.h593 O(tcache, tcache_t *) \
/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()
Darena.c2791 bool zero, tcache_t *tcache) in arena_palloc()
3300 size_t alignment, bool zero, tcache_t *tcache) in arena_ralloc_move_helper()
3314 size_t alignment, bool zero, tcache_t *tcache) in arena_ralloc()
Dctl.c1342 tcache_t *tcache = tsd_tcache_get(tsd); in CTL_RO_CONFIG_GEN()