Home
last modified time | relevance | path

Searched refs:map_bias (Results 1 – 7 of 7) sorted by relevance

/external/jemalloc/src/
Darena.c20 size_t map_bias; variable
558 assert(arena_mapbits_allocated_get(chunk, map_bias) == 0); in arena_chunk_init_spare()
560 assert(arena_mapbits_unallocated_size_get(chunk, map_bias) == in arena_chunk_init_spare()
564 assert(arena_mapbits_dirty_get(chunk, map_bias) == in arena_chunk_init_spare()
599 if (chunk_hooks->commit(chunk, chunksize, 0, map_bias << in arena_chunk_alloc_internal_hard()
610 chunk_hooks->decommit(chunk, chunksize, 0, map_bias << in arena_chunk_alloc_internal_hard()
646 arena->stats.metadata_mapped += (map_bias << LG_PAGE); in arena_chunk_alloc_internal()
676 arena_mapbits_unallocated_set(chunk, map_bias, arena_maxrun, in arena_chunk_init_hard()
684 (void *)arena_bitselm_get_const(chunk, map_bias+1), in arena_chunk_init_hard()
687 (uintptr_t)arena_bitselm_get_const(chunk, map_bias+1))); in arena_chunk_init_hard()
[all …]
Dandroid_je_iterate.c89 pageind = map_bias; in je_iterate_chunk()
/external/jemalloc/include/jemalloc/internal/
Darena.h531 extern size_t map_bias; /* Number of arena chunk header pages. */
721 assert(pageind >= map_bias); in arena_bitselm_get_mutable()
724 return (&chunk->map_bits[pageind-map_bias]); in arena_bitselm_get_mutable()
738 assert(pageind >= map_bias); in arena_miscelm_get_mutable()
742 (uintptr_t)map_misc_offset) + pageind-map_bias); in arena_miscelm_get_mutable()
757 map_misc_offset)) / sizeof(arena_chunk_map_misc_t) + map_bias; in arena_miscelm_to_pageind()
759 assert(pageind >= map_bias); in arena_miscelm_to_pageind()
780 assert(arena_miscelm_to_pageind(miscelm) >= map_bias); in arena_rd_to_miscelm()
792 assert(arena_miscelm_to_pageind(miscelm) >= map_bias); in arena_run_to_miscelm()
1033 assert(pageind - runind >= map_bias); in arena_mapbits_small_set()
[all …]
Dprivate_symbols.txt344 map_bias
Dprivate_namespace.h344 #define map_bias JEMALLOC_N(map_bias) macro
Dprivate_unnamespace.h344 #undef map_bias
/external/jemalloc/test/unit/
Dpack.c97 return ((chunksize >> LG_PAGE) - map_bias); in npages_per_chunk_compute()