Searched refs:pageind (Results 1 – 5 of 5) sorted by relevance
/external/jemalloc/include/jemalloc/internal/ |
D | arena.h | 553 size_t pageind, arena_chunk_map_bits_t *bitselm); 555 void *ptr, size_t pageind); 602 size_t pageind); 604 size_t pageind); 609 size_t *arena_mapbitsp_get(arena_chunk_t *chunk, size_t pageind); 611 size_t arena_mapbits_get(arena_chunk_t *chunk, size_t pageind); 614 size_t pageind); 615 size_t arena_mapbits_large_size_get(arena_chunk_t *chunk, size_t pageind); 616 size_t arena_mapbits_small_runind_get(arena_chunk_t *chunk, size_t pageind); 617 szind_t arena_mapbits_binind_get(arena_chunk_t *chunk, size_t pageind); [all …]
|
D | tcache.h | 389 size_t pageind = (((uintptr_t)ret - (uintptr_t)chunk) >> in tcache_alloc_large() local 391 arena_mapbits_large_binind_set(chunk, pageind, in tcache_alloc_large()
|
/external/jemalloc/src/ |
D | android_je_iterate.c | 87 size_t pageind; in je_iterate_chunk() local 89 pageind = map_bias; in je_iterate_chunk() 91 while (pageind < chunk_npages) { in je_iterate_chunk() 95 mapbits = arena_mapbits_get(chunk, pageind); in je_iterate_chunk() 96 if (!arena_mapbits_allocated_get(chunk, pageind)) { in je_iterate_chunk() 98 size = arena_mapbits_unallocated_size_get(chunk, pageind); in je_iterate_chunk() 99 } else if (arena_mapbits_large_get(chunk, pageind)) { in je_iterate_chunk() 103 size = arena_mapbits_large_size_get(chunk, pageind); in je_iterate_chunk() 104 rpages = arena_miscelm_to_rpages(arena_miscelm_get(chunk, pageind)); in je_iterate_chunk() 111 assert(arena_mapbits_small_runind_get(chunk, pageind) == pageind); in je_iterate_chunk() [all …]
|
D | arena.c | 54 size_t pageind, mapbits; in arena_miscelm_size_get() local 57 pageind = arena_miscelm_to_pageind(miscelm); in arena_miscelm_size_get() 58 mapbits = arena_mapbits_get(chunk, pageind); in arena_miscelm_size_get() 213 arena_avail_insert(arena_t *arena, arena_chunk_t *chunk, size_t pageind, in arena_avail_insert() argument 217 arena_miscelm_get(chunk, pageind)))); in arena_avail_insert() 218 assert(npages == (arena_mapbits_unallocated_size_get(chunk, pageind) >> in arena_avail_insert() 221 arena_miscelm_get(chunk, pageind)); in arena_avail_insert() 225 arena_avail_remove(arena_t *arena, arena_chunk_t *chunk, size_t pageind, in arena_avail_remove() argument 229 arena_miscelm_get(chunk, pageind)))); in arena_avail_remove() 230 assert(npages == (arena_mapbits_unallocated_size_get(chunk, pageind) >> in arena_avail_remove() [all …]
|
D | tcache.c | 128 size_t pageind = ((uintptr_t)ptr - in tcache_bin_flush_small() local 131 arena_bitselm_get(chunk, pageind); in tcache_bin_flush_small()
|