Searched refs:pageind (Results 1 – 5 of 5) sorted by relevance
/external/jemalloc/include/jemalloc/internal/ |
D | arena.h | 591 void *ptr, size_t pageind, arena_chunk_map_bits_t *bitselm); 593 void *ptr, size_t pageind); 645 size_t pageind); 647 const arena_chunk_t *chunk, size_t pageind); 649 size_t pageind); 651 const arena_chunk_t *chunk, size_t pageind); 656 size_t *arena_mapbitsp_get_mutable(arena_chunk_t *chunk, size_t pageind); 658 size_t pageind); 660 size_t arena_mapbits_get(const arena_chunk_t *chunk, size_t pageind); 663 size_t pageind); [all …]
|
D | tcache.h | 390 size_t pageind = (((uintptr_t)ret - (uintptr_t)chunk) >> in tcache_alloc_large() local 392 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_mutable(chunk, pageind)); in je_iterate_chunk() 111 assert(arena_mapbits_small_runind_get(chunk, pageind) == pageind); in je_iterate_chunk() [all …]
|
D | arena.c | 50 size_t pageind, mapbits; in arena_miscelm_size_get() local 53 pageind = arena_miscelm_to_pageind(miscelm); in arena_miscelm_size_get() 54 mapbits = arena_mapbits_get(chunk, pageind); in arena_miscelm_size_get() 186 arena_avail_insert(arena_t *arena, arena_chunk_t *chunk, size_t pageind, in arena_avail_insert() argument 190 arena_miscelm_get_const(chunk, pageind)))); in arena_avail_insert() 191 assert(npages == (arena_mapbits_unallocated_size_get(chunk, pageind) >> in arena_avail_insert() 196 arena_miscelm_get_mutable(chunk, pageind)); in arena_avail_insert() 200 arena_avail_remove(arena_t *arena, arena_chunk_t *chunk, size_t pageind, in arena_avail_remove() argument 204 arena_miscelm_get_const(chunk, pageind)))); in arena_avail_remove() 205 assert(npages == (arena_mapbits_unallocated_size_get(chunk, pageind) >> in arena_avail_remove() [all …]
|
D | tcache.c | 133 size_t pageind = ((uintptr_t)ptr - in tcache_bin_flush_small() local 136 arena_bitselm_get_mutable(chunk, pageind); in tcache_bin_flush_small()
|