Home
last modified time | relevance | path

Searched refs:extent_addr_get (Results 1 – 9 of 9) sorted by relevance

/external/jemalloc_new/src/
Dlarge.c74 memset(extent_addr_get(extent), JEMALLOC_ALLOC_JUNK, in large_palloc()
79 return extent_addr_get(extent); in large_palloc()
126 large_dalloc_maybe_junk(extent_addr_get(trail), in large_ralloc_no_move_shrink()
192 (uintptr_t)extent_addr_get(extent), szind, false); in large_ralloc_no_move_expand()
208 ((uintptr_t)extent_addr_get(extent) + oldusize); in large_ralloc_no_move_expand()
217 memset((void *)((uintptr_t)extent_addr_get(extent) + oldusize), in large_ralloc_no_move_expand()
292 return extent_addr_get(extent); in large_ralloc()
307 memcpy(ret, extent_addr_get(extent), copysize); in large_ralloc()
308 isdalloct(tsdn, extent_addr_get(extent), oldusize, tcache, NULL, true); in large_ralloc()
326 large_dalloc_maybe_junk(extent_addr_get(extent), in large_dalloc_prep_impl()
Dandroid_je_iterate.c52 uintptr_t first_ptr = (uintptr_t)extent_addr_get(extent); in je_malloc_iterate()
67 uintptr_t base_ptr = (uintptr_t)extent_addr_get(extent); in je_malloc_iterate()
Dbase.c187 *gap_size = ALIGNMENT_CEILING((uintptr_t)extent_addr_get(extent), in base_extent_bump_alloc_helper()
188 alignment) - (uintptr_t)extent_addr_get(extent); in base_extent_bump_alloc_helper()
189 ret = (void *)((uintptr_t)extent_addr_get(extent) + *gap_size); in base_extent_bump_alloc_helper()
191 extent_binit(extent, (void *)((uintptr_t)extent_addr_get(extent) + in base_extent_bump_alloc_helper()
Darena.c233 ret = (void *)((uintptr_t)extent_addr_get(slab) + in arena_slab_reg_alloc()
247 assert((uintptr_t)ptr >= (uintptr_t)extent_addr_get(slab)); in arena_slab_regind()
250 assert(((uintptr_t)ptr - (uintptr_t)extent_addr_get(slab)) % in arena_slab_regind()
253 diff = (size_t)((uintptr_t)ptr - (uintptr_t)extent_addr_get(slab)); in arena_slab_regind()
Dextent.c1008 (uintptr_t)extent_addr_get(*extent), szind, slab); in extent_split_interior()
2020 extent_init(&lead, arena, extent_addr_get(extent), size_a, in extent_split_impl()
/external/jemalloc_new/test/unit/
Dslab.c13 assert_ptr_not_null(extent_addr_get(&slab), in TEST_BEGIN()
16 void *reg = (void *)((uintptr_t)extent_addr_get(&slab) + in TEST_BEGIN()
23 free(extent_addr_get(&slab)); in TEST_BEGIN()
Dbase.c177 r_exp = extent_addr_get(&base->blocks->extent); in TEST_BEGIN()
/external/jemalloc_new/include/jemalloc/internal/
Dextent_inlines.h123 extent_addr_get(const extent_t *extent) { in extent_addr_get() function
194 assert(extent_base_get(extent) == extent_addr_get(extent)); in extent_addr_randomize()
393 uintptr_t a_addr = (uintptr_t)extent_addr_get(a); in extent_ad_comp()
394 uintptr_t b_addr = (uintptr_t)extent_addr_get(b); in extent_ad_comp()
Darena_inlines_b.h153 assert(extent_addr_get(extent) == ptr || extent_slab_get(extent)); in arena_vsalloc()