/external/jemalloc_new/include/jemalloc/internal/ |
D | extent_inlines.h | 12 extent_lock(tsdn_t *tsdn, extent_t *extent) { in extent_lock() 18 extent_unlock(tsdn_t *tsdn, extent_t *extent) { in extent_unlock() 24 extent_lock2(tsdn_t *tsdn, extent_t *extent1, extent_t *extent2) { in extent_lock2() 31 extent_unlock2(tsdn_t *tsdn, extent_t *extent1, extent_t *extent2) { in extent_unlock2() 38 extent_arena_get(const extent_t *extent) { in extent_arena_get() 53 extent_szind_get_maybe_invalid(const extent_t *extent) { in extent_szind_get_maybe_invalid() 61 extent_szind_get(const extent_t *extent) { in extent_szind_get() 68 extent_usize_get(const extent_t *extent) { in extent_usize_get() 73 extent_sn_get(const extent_t *extent) { in extent_sn_get() 79 extent_state_get(const extent_t *extent) { in extent_state_get() [all …]
|
D | extent_externs.h | 15 extent_t *extent_alloc(tsdn_t *tsdn, arena_t *arena); 16 void extent_dalloc(tsdn_t *tsdn, arena_t *arena, extent_t *extent); 27 rb_proto(, extent_avail_, extent_tree_t, extent_t) 28 ph_proto(, extent_heap_, extent_heap_t, extent_t) 34 extent_t *extents_alloc(tsdn_t *tsdn, arena_t *arena, 39 extent_hooks_t **r_extent_hooks, extents_t *extents, extent_t *extent); 40 extent_t *extents_evict(tsdn_t *tsdn, arena_t *arena, 45 extent_t *extent_alloc_wrapper(tsdn_t *tsdn, arena_t *arena, 48 void extent_dalloc_gap(tsdn_t *tsdn, arena_t *arena, extent_t *extent); 50 extent_hooks_t **r_extent_hooks, extent_t *extent); [all …]
|
D | large_externs.h | 7 bool large_ralloc_no_move(tsdn_t *tsdn, extent_t *extent, size_t usize_min, 9 void *large_ralloc(tsdn_t *tsdn, arena_t *arena, extent_t *extent, size_t usize, 18 void large_dalloc_prep_junked_locked(tsdn_t *tsdn, extent_t *extent); 19 void large_dalloc_finish(tsdn_t *tsdn, extent_t *extent); 20 void large_dalloc(tsdn_t *tsdn, extent_t *extent); 21 size_t large_salloc(tsdn_t *tsdn, const extent_t *extent); 22 prof_tctx_t *large_prof_tctx_get(tsdn_t *tsdn, const extent_t *extent); 23 void large_prof_tctx_set(tsdn_t *tsdn, extent_t *extent, prof_tctx_t *tctx); 24 void large_prof_tctx_reset(tsdn_t *tsdn, extent_t *extent);
|
D | extent_structs.h | 151 ql_elm(extent_t) ql_link; 157 phn(extent_t) ph_link; 170 typedef ql_head(extent_t) extent_list_t; 171 typedef ph(extent_t) extent_tree_t; 172 typedef ph(extent_t) extent_heap_t;
|
D | arena_inlines_b.h | 18 const extent_t *extent = iealloc(tsdn, ptr); in arena_prof_tctx_get() 38 extent_t *extent = iealloc(tsdn, ptr); in arena_prof_tctx_set() 54 extent_t *extent = iealloc(tsdn, ptr); in arena_prof_tctx_reset() 141 extent_t *extent; in arena_vsalloc() 173 extent_t *extent = rtree_extent_read(tsdn, &extents_rtree, in arena_dalloc_no_tcache() 184 extent_t *extent = iealloc(tsdn, ptr); in arena_dalloc_no_tcache() 215 extent_t *extent = rtree_extent_read(tsdn, &extents_rtree, in arena_dalloc() 236 extent_t *extent = iealloc(tsdn, ptr); in arena_dalloc() 270 extent_t *extent = rtree_extent_read(tsdn, in arena_sdalloc_no_tcache() 281 extent_t *extent = iealloc(tsdn, ptr); in arena_sdalloc_no_tcache() [all …]
|
D | arena_externs.h | 27 extent_hooks_t **r_extent_hooks, extent_t *extent); 29 size_t arena_slab_regind(extent_t *slab, szind_t binind, const void *ptr); 31 extent_t *arena_extent_alloc_large(tsdn_t *tsdn, arena_t *arena, 34 extent_t *extent); 36 extent_t *extent, size_t oldsize); 38 extent_t *extent, size_t oldsize); 63 extent_t *extent, void *ptr);
|
D | rtree.h | 179 JEMALLOC_ALWAYS_INLINE extent_t * 190 return (extent_t *)(bits & mask); in rtree_leaf_elm_bits_extent_get() 193 return (extent_t *)((uintptr_t)((intptr_t)(bits << RTREE_NHIB) >> in rtree_leaf_elm_bits_extent_get() 210 JEMALLOC_ALWAYS_INLINE extent_t * 217 extent_t *extent = (extent_t *)atomic_load_p(&elm->le_extent, dependent in rtree_leaf_elm_extent_read() 249 rtree_leaf_elm_t *elm, extent_t *extent) { in rtree_leaf_elm_extent_write() 296 extent_t *extent, szind_t szind, bool slab) { in rtree_leaf_elm_write() 397 extent_t *extent, szind_t szind, bool slab) { in rtree_write() 428 JEMALLOC_ALWAYS_INLINE extent_t * 462 uintptr_t key, bool dependent, extent_t **r_extent, szind_t *r_szind) { in rtree_extent_szind_read()
|
D | extent_types.h | 4 typedef struct extent_s extent_t; typedef
|
D | base_structs.h | 17 extent_t extent;
|
D | base_externs.h | 14 extent_t *base_alloc_extent(tsdn_t *tsdn, base_t *base);
|
D | bin.h | 65 extent_t *slabcur;
|
D | jemalloc_internal_inlines_b.h | 77 JEMALLOC_ALWAYS_INLINE extent_t *
|
/external/jemalloc_new/src/ |
D | extent.c | 35 extent_hooks_t **r_extent_hooks, extent_t *extent, size_t offset, 44 extent_hooks_t **r_extent_hooks, extent_t *extent, size_t offset, 51 extent_hooks_t **r_extent_hooks, extent_t *extent, size_t offset, 58 static extent_t *extent_split_impl(tsdn_t *tsdn, arena_t *arena, 59 extent_hooks_t **r_extent_hooks, extent_t *extent, size_t size_a, 68 extent_hooks_t **r_extent_hooks, extent_t *a, extent_t *b, 108 static void extent_deregister(tsdn_t *tsdn, extent_t *extent); 109 static extent_t *extent_recycle(tsdn_t *tsdn, arena_t *arena, 113 static extent_t *extent_try_coalesce(tsdn_t *tsdn, arena_t *arena, 115 extent_t *extent, bool *coalesced, bool growing_retained); [all …]
|
D | large.c | 24 extent_t *extent; in large_palloc() 104 large_ralloc_no_move_shrink(tsdn_t *tsdn, extent_t *extent, size_t usize) { in large_ralloc_no_move_shrink() 118 extent_t *trail = extent_split_wrapper(tsdn, arena, in large_ralloc_no_move_shrink() 139 large_ralloc_no_move_expand(tsdn_t *tsdn, extent_t *extent, size_t usize, in large_ralloc_no_move_expand() 161 extent_t *trail; in large_ralloc_no_move_expand() 227 large_ralloc_no_move(tsdn_t *tsdn, extent_t *extent, size_t usize_min, in large_ralloc_no_move() 281 large_ralloc(tsdn_t *tsdn, arena_t *arena, extent_t *extent, size_t usize, in large_ralloc() 317 large_dalloc_prep_impl(tsdn_t *tsdn, arena_t *arena, extent_t *extent, in large_dalloc_prep_impl() 338 large_dalloc_finish_impl(tsdn_t *tsdn, arena_t *arena, extent_t *extent) { in large_dalloc_finish_impl() 344 large_dalloc_prep_junked_locked(tsdn_t *tsdn, extent_t *extent) { in large_dalloc_prep_junked_locked() [all …]
|
D | arena.c | 56 static void arena_dalloc_bin_slab(tsdn_t *tsdn, arena_t *arena, extent_t *slab, 58 static void arena_bin_lower_slab(tsdn_t *tsdn, arena_t *arena, extent_t *slab, 210 extent_hooks_t **r_extent_hooks, extent_t *extent) { in arena_extents_dirty_dalloc() 224 arena_slab_reg_alloc(extent_t *slab, const bin_info_t *bin_info) { in arena_slab_reg_alloc() 243 arena_slab_regind(extent_t *slab, szind_t binind, const void *ptr) { in arena_slab_regind() 264 arena_slab_reg_dalloc(extent_t *slab, arena_slab_data_t *slab_data, void *ptr) { in arena_slab_reg_dalloc() 327 extent_t * 338 extent_t *extent = extents_alloc(tsdn, arena, &extent_hooks, in arena_extent_alloc_large() 380 arena_extent_dalloc_large_prep(tsdn_t *tsdn, arena_t *arena, extent_t *extent) { in arena_extent_dalloc_large_prep() 391 arena_extent_ralloc_large_shrink(tsdn_t *tsdn, arena_t *arena, extent_t *extent, in arena_extent_ralloc_large_shrink() [all …]
|
D | base.c | 119 base_extent_init(size_t *extent_sn_next, extent_t *extent, void *addr, in base_extent_init() 180 base_extent_bump_alloc_helper(extent_t *extent, size_t *gap_size, size_t size, in base_extent_bump_alloc_helper() 198 base_extent_bump_alloc_post(base_t *base, extent_t *extent, size_t gap_size, in base_extent_bump_alloc_post() 232 base_extent_bump_alloc(base_t *base, extent_t *extent, size_t size, in base_extent_bump_alloc() 307 static extent_t * 427 extent_t *extent = NULL; in base_alloc_impl() 468 extent_t * 471 extent_t *extent = base_alloc_impl(tsdn, base, sizeof(extent_t), in base_alloc_extent()
|
D | extent_dss.c | 112 extent_t *gap; in extent_alloc_dss() 198 extent_t extent; in extent_alloc_dss()
|
D | tcache.c | 118 VARIABLE_ARRAY(extent_t *, item_extent, nflush); in tcache_bin_flush_small() 126 extent_t *extent = item_extent[0]; in tcache_bin_flush_small() 209 VARIABLE_ARRAY(extent_t *, item_extent, nflush); in tcache_bin_flush_large() 217 extent_t *extent = item_extent[0]; in tcache_bin_flush_large()
|
D | android_je_iterate.c | 30 extent_t* extent = iealloc(tsd_tsdn(tsd), (void*)ptr); in je_malloc_iterate()
|
D | ctl.c | 2482 extent_t *extent; in arenas_lookup_ctl()
|
/external/jemalloc_new/test/unit/ |
D | rtree.c | 87 extent_t extent_a, extent_b; in TEST_BEGIN() 127 extent_t extent; in TEST_BEGIN() 168 extent_t extent; in TEST_BEGIN()
|
D | slab.c | 8 extent_t slab; in TEST_BEGIN()
|
D | arena_reset.c | 66 extent_t *extent; in vsalloc()
|
/external/jemalloc_new/ |
D | ChangeLog | 91 - Refactor extent_t bitpacking. (@rkmisra)
|