/external/jemalloc/src/ |
D | base.c | 18 base_node_try_alloc(tsdn_t *tsdn) in base_node_try_alloc() 33 base_node_dalloc(tsdn_t *tsdn, extent_node_t *node) in base_node_dalloc() 52 base_chunk_alloc(tsdn_t *tsdn, size_t minsize) in base_chunk_alloc() 90 base_alloc(tsdn_t *tsdn, size_t size) in base_alloc() 142 base_stats_get(tsdn_t *tsdn, size_t *allocated, size_t *resident, in base_stats_get() 169 base_prefork(tsdn_t *tsdn) in base_prefork() 176 base_postfork_parent(tsdn_t *tsdn) in base_postfork_parent() 183 base_postfork_child(tsdn_t *tsdn) in base_postfork_child()
|
D | huge.c | 18 huge_node_set(tsdn_t *tsdn, const void *ptr, extent_node_t *node) in huge_node_set() 27 huge_node_reset(tsdn_t *tsdn, const void *ptr, extent_node_t *node) in huge_node_reset() 43 huge_malloc(tsdn_t *tsdn, arena_t *arena, size_t usize, bool zero) in huge_malloc() 52 huge_palloc(tsdn_t *tsdn, arena_t *arena, size_t usize, size_t alignment, in huge_palloc() 152 huge_ralloc_no_move_similar(tsdn_t *tsdn, void *ptr, size_t oldsize, in huge_ralloc_no_move_similar() 215 huge_ralloc_no_move_shrink(tsdn_t *tsdn, void *ptr, size_t oldsize, in huge_ralloc_no_move_shrink() 269 huge_ralloc_no_move_expand(tsdn_t *tsdn, void *ptr, size_t oldsize, in huge_ralloc_no_move_expand() 317 huge_ralloc_no_move(tsdn_t *tsdn, void *ptr, size_t oldsize, size_t usize_min, in huge_ralloc_no_move() 369 huge_ralloc_move_helper(tsdn_t *tsdn, arena_t *arena, size_t usize, in huge_ralloc_move_helper() 410 huge_dalloc(tsdn_t *tsdn, void *ptr) in huge_dalloc() [all …]
|
D | chunk.c | 67 chunk_hooks_get(tsdn_t *tsdn, arena_t *arena) in chunk_hooks_get() 79 chunk_hooks_set(tsdn_t *tsdn, arena_t *arena, const chunk_hooks_t *chunk_hooks) in chunk_hooks_set() 114 chunk_hooks_assure_initialized_impl(tsdn_t *tsdn, arena_t *arena, in chunk_hooks_assure_initialized_impl() 128 chunk_hooks_assure_initialized_locked(tsdn_t *tsdn, arena_t *arena, in chunk_hooks_assure_initialized_locked() 136 chunk_hooks_assure_initialized(tsdn_t *tsdn, arena_t *arena, in chunk_hooks_assure_initialized() 144 chunk_register(tsdn_t *tsdn, const void *chunk, const extent_node_t *node) in chunk_register() 201 chunk_recycle(tsdn_t *tsdn, arena_t *arena, chunk_hooks_t *chunk_hooks, in chunk_recycle() 337 chunk_alloc_core(tsdn_t *tsdn, arena_t *arena, void *new_addr, size_t size, in chunk_alloc_core() 389 chunk_alloc_cache(tsdn_t *tsdn, arena_t *arena, chunk_hooks_t *chunk_hooks, in chunk_alloc_cache() 411 chunk_arena_get(tsdn_t *tsdn, unsigned arena_ind) in chunk_arena_get() [all …]
|
D | tcache.c | 30 tcache_salloc(tsdn_t *tsdn, const void *ptr) in tcache_salloc() 77 tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, in tcache_alloc_small_hard() 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() 296 tcache_arena_reassociate(tsdn_t *tsdn, tcache_t *tcache, arena_t *oldarena, in tcache_arena_reassociate() 321 tcache_create(tsdn_t *tsdn, arena_t *arena) in tcache_create() 423 tcache_stats_merge(tsdn_t *tsdn, tcache_t *tcache, arena_t *arena) in tcache_stats_merge() 550 tcache_boot(tsdn_t *tsdn) { in tcache_boot() 601 tcache_prefork(tsdn_t *tsdn) { in tcache_prefork() 608 tcache_postfork_parent(tsdn_t *tsdn) { in tcache_postfork_parent() [all …]
|
D | arena.c | 571 arena_chunk_register(tsdn_t *tsdn, arena_t *arena, arena_chunk_t *chunk, in arena_chunk_register() 587 arena_chunk_alloc_internal_hard(tsdn_t *tsdn, arena_t *arena, in arena_chunk_alloc_internal_hard() 623 arena_chunk_alloc_internal(tsdn_t *tsdn, arena_t *arena, bool *zero, in arena_chunk_alloc_internal() 653 arena_chunk_init_hard(tsdn_t *tsdn, arena_t *arena) in arena_chunk_init_hard() 710 arena_chunk_alloc(tsdn_t *tsdn, arena_t *arena) in arena_chunk_alloc() 730 arena_chunk_discard(tsdn_t *tsdn, arena_t *arena, arena_chunk_t *chunk) in arena_chunk_discard() 771 arena_spare_discard(tsdn_t *tsdn, arena_t *arena, arena_chunk_t *spare) in arena_spare_discard() 785 arena_chunk_dalloc(tsdn_t *tsdn, arena_t *arena, arena_chunk_t *chunk) in arena_chunk_dalloc() 891 arena_node_alloc(tsdn_t *tsdn, arena_t *arena) in arena_node_alloc() 907 arena_node_dalloc(tsdn_t *tsdn, arena_t *arena, extent_node_t *node) in arena_node_dalloc() [all …]
|
D | prof.c | 226 prof_malloc_sample_object(tsdn_t *tsdn, const void *ptr, size_t usize, in prof_malloc_sample_object() 550 prof_gctx_create(tsdn_t *tsdn, prof_bt_t *bt) in prof_gctx_create() 612 prof_tctx_should_destroy(tsdn_t *tsdn, prof_tctx_t *tctx) in prof_tctx_should_destroy() 900 tsdn_t *tsdn; in prof_tdata_count() local 1041 prof_tctx_merge_tdata(tsdn_t *tsdn, prof_tctx_t *tctx, prof_tdata_t *tdata) in prof_tctx_merge_tdata() 1074 prof_tctx_merge_gctx(tsdn_t *tsdn, prof_tctx_t *tctx, prof_gctx_t *gctx) in prof_tctx_merge_gctx() 1090 tsdn_t *tsdn = (tsdn_t *)arg; in prof_tctx_merge_iter() local 1110 tsdn_t *tsdn; member 1145 tsdn_t *tsdn = (tsdn_t *)arg; in prof_tctx_finish_iter() local 1170 prof_dump_gctx_prep(tsdn_t *tsdn, prof_gctx_t *gctx, prof_gctx_tree_t *gctxs) in prof_dump_gctx_prep() [all …]
|
D | mutex.c | 114 malloc_mutex_prefork(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_prefork() 121 malloc_mutex_postfork_parent(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_postfork_parent() 128 malloc_mutex_postfork_child(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_postfork_child()
|
D | quarantine.c | 23 quarantine_init(tsdn_t *tsdn, size_t lg_maxobjs) in quarantine_init() 97 quarantine_drain_one(tsdn_t *tsdn, quarantine_t *quarantine) in quarantine_drain_one() 109 quarantine_drain(tsdn_t *tsdn, quarantine_t *quarantine, size_t upper_bound) in quarantine_drain()
|
D | jemalloc.c | 438 arena_init_locked(tsdn_t *tsdn, unsigned ind) in arena_init_locked() 465 arena_init(tsdn_t *tsdn, unsigned ind) in arena_init() 751 tsdn_t *tsdn; in stats_print_atexit() local 1435 malloc_init_hard_finish(tsdn_t *tsdn) 1583 ialloc_body(size_t size, bool zero, tsdn_t **tsdn, size_t *usize, 1615 ialloc_post_check(void *ret, tsdn_t *tsdn, size_t usize, const char *func, 1643 tsdn_t *tsdn; local 1807 tsdn_t *tsdn; local 2154 imallocx_flags(tsdn_t *tsdn, size_t usize, size_t alignment, bool zero, 2168 imallocx_prof_sample(tsdn_t *tsdn, size_t usize, size_t alignment, bool zero, [all …]
|
D | ctl.c | 563 ctl_arena_stats_amerge(tsdn_t *tsdn, ctl_arena_stats_t *cstats, arena_t *arena) in ctl_arena_stats_amerge() 659 ctl_arena_refresh(tsdn_t *tsdn, arena_t *arena, unsigned i) in ctl_arena_refresh() 671 ctl_grow(tsdn_t *tsdn) in ctl_grow() 711 ctl_refresh(tsdn_t *tsdn) in ctl_refresh() 761 ctl_init(tsdn_t *tsdn) in ctl_init() 818 ctl_lookup(tsdn_t *tsdn, const char *name, ctl_node_t const **nodesp, in ctl_lookup() 947 ctl_nametomib(tsdn_t *tsdn, const char *name, size_t *mibp, size_t *miblenp) in ctl_nametomib() 1024 ctl_prefork(tsdn_t *tsdn) in ctl_prefork() 1031 ctl_postfork_parent(tsdn_t *tsdn) in ctl_postfork_parent() 1038 ctl_postfork_child(tsdn_t *tsdn) in ctl_postfork_child() [all …]
|
D | chunk_dss.c | 97 chunk_alloc_dss(tsdn_t *tsdn, arena_t *arena, void *new_addr, size_t size, in chunk_alloc_dss()
|
/external/jemalloc/include/jemalloc/internal/ |
D | mutex.h | 85 malloc_mutex_lock(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_lock() 108 malloc_mutex_unlock(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_unlock() 130 malloc_mutex_assert_owner(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_assert_owner() 138 malloc_mutex_assert_not_owner(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_assert_not_owner()
|
D | witness.h | 137 witness_assert_owner(tsdn_t *tsdn, const witness_t *witness) in witness_assert_owner() 156 witness_assert_not_owner(tsdn_t *tsdn, const witness_t *witness) in witness_assert_not_owner() 179 witness_assert_lockless(tsdn_t *tsdn) in witness_assert_lockless() 199 witness_lock(tsdn_t *tsdn, witness_t *witness) in witness_lock() 239 witness_unlock(tsdn_t *tsdn, witness_t *witness) in witness_unlock()
|
D | valgrind.h | 33 #define JEMALLOC_VALGRIND_MALLOC(cond, tsdn, ptr, usize, zero) do { \ argument 51 #define JEMALLOC_VALGRIND_REALLOC(moved, tsdn, ptr, usize, ptr_null, \ argument 100 #define JEMALLOC_VALGRIND_MALLOC(cond, tsdn, ptr, usize, zero) do {} while (0) argument 101 #define JEMALLOC_VALGRIND_REALLOC(maybe_moved, tsdn, ptr, usize, \ argument
|
D | jemalloc_internal.h | 948 arena_get(tsdn_t *tsdn, unsigned ind, bool init_if_missing) in arena_get() 1041 isalloc(tsdn_t *tsdn, const void *ptr, bool demote) in isalloc() 1052 iallocztm(tsdn_t *tsdn, size_t size, szind_t ind, bool zero, tcache_t *tcache, in iallocztm() 1078 ipallocztm(tsdn_t *tsdn, size_t usize, size_t alignment, bool zero, in ipallocztm() 1098 ipalloct(tsdn_t *tsdn, size_t usize, size_t alignment, bool zero, in ipalloct() 1114 ivsalloc(tsdn_t *tsdn, const void *ptr, bool demote) in ivsalloc() 1144 p2rz(tsdn_t *tsdn, const void *ptr) in p2rz() 1152 idalloctm(tsdn_t *tsdn, void *ptr, tcache_t *tcache, bool is_metadata, in idalloctm() 1185 isdalloct(tsdn_t *tsdn, void *ptr, size_t size, tcache_t *tcache, in isdalloct() 1267 ixalloc(tsdn_t *tsdn, void *ptr, size_t oldsize, size_t size, size_t extra, in ixalloc()
|
D | jemalloc_internal.h.in | 948 arena_get(tsdn_t *tsdn, unsigned ind, bool init_if_missing) 1041 isalloc(tsdn_t *tsdn, const void *ptr, bool demote) 1052 iallocztm(tsdn_t *tsdn, size_t size, szind_t ind, bool zero, tcache_t *tcache, 1078 ipallocztm(tsdn_t *tsdn, size_t usize, size_t alignment, bool zero, 1098 ipalloct(tsdn_t *tsdn, size_t usize, size_t alignment, bool zero, 1114 ivsalloc(tsdn_t *tsdn, const void *ptr, bool demote) 1144 p2rz(tsdn_t *tsdn, const void *ptr) 1152 idalloctm(tsdn_t *tsdn, void *ptr, tcache_t *tcache, bool is_metadata, 1185 isdalloct(tsdn_t *tsdn, void *ptr, size_t size, tcache_t *tcache, 1267 ixalloc(tsdn_t *tsdn, void *ptr, size_t oldsize, size_t size, size_t extra,
|
D | arena.h | 1081 arena_prof_accum(tsdn_t *tsdn, arena_t *arena, uint64_t accumbytes) in arena_prof_accum() 1230 arena_prof_tctx_get(tsdn_t *tsdn, const void *ptr) in arena_prof_tctx_get() 1257 arena_prof_tctx_set(tsdn_t *tsdn, const void *ptr, size_t usize, in arena_prof_tctx_set() 1293 arena_prof_tctx_reset(tsdn_t *tsdn, const void *ptr, size_t usize, in arena_prof_tctx_reset() 1322 arena_decay_ticks(tsdn_t *tsdn, arena_t *arena, unsigned nticks) in arena_decay_ticks() 1338 arena_decay_tick(tsdn_t *tsdn, arena_t *arena) in arena_decay_tick() 1345 arena_malloc(tsdn_t *tsdn, arena_t *arena, size_t size, szind_t ind, bool zero, in arena_malloc() 1382 arena_salloc(tsdn_t *tsdn, const void *ptr, bool demote) in arena_salloc() 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()
|
D | prof.h | 401 prof_tctx_get(tsdn_t *tsdn, const void *ptr) in prof_tctx_get() 411 prof_tctx_set(tsdn_t *tsdn, const void *ptr, size_t usize, prof_tctx_t *tctx) in prof_tctx_set() 421 prof_tctx_reset(tsdn_t *tsdn, const void *ptr, size_t usize, const void *old_ptr, in prof_tctx_reset() 483 prof_malloc(tsdn_t *tsdn, const void *ptr, size_t usize, prof_tctx_t *tctx) in prof_malloc()
|
D | tsd.h | 770 tsdn_null(const tsdn_t *tsdn) in tsdn_null() 777 tsdn_tsd(tsdn_t *tsdn) in tsdn_tsd()
|
/external/jemalloc/test/unit/ |
D | witness.c | 63 tsdn_t *tsdn; in TEST_BEGIN() local 91 tsdn_t *tsdn; in TEST_BEGIN() local 141 tsdn_t *tsdn; in TEST_BEGIN() local 173 tsdn_t *tsdn; in TEST_BEGIN() local 211 tsdn_t *tsdn; in TEST_BEGIN() local 238 tsdn_t *tsdn; in TEST_BEGIN() local
|
D | arena_reset.c | 89 tsdn_t *tsdn; in TEST_BEGIN() local
|
D | prof_reset.c | 98 prof_dump_header_intercept(tsdn_t *tsdn, bool propagate_err, in prof_dump_header_intercept()
|