Home
last modified time | relevance | path

Searched refs:mapbits (Results 1 – 3 of 3) sorted by relevance

/external/jemalloc/include/jemalloc/internal/
Darena.h612 size_t arena_mapbits_size_decode(size_t mapbits);
623 void arena_mapbitsp_write(size_t *mapbitsp, size_t mapbits);
643 szind_t arena_ptr_small_binind_get(const void *ptr, size_t mapbits);
752 arena_mapbits_size_decode(size_t mapbits) in arena_mapbits_size_decode() argument
757 size = (mapbits & CHUNK_MAP_SIZE_MASK) >> CHUNK_MAP_SIZE_SHIFT; in arena_mapbits_size_decode()
759 size = mapbits & CHUNK_MAP_SIZE_MASK; in arena_mapbits_size_decode()
761 size = (mapbits & CHUNK_MAP_SIZE_MASK) << -CHUNK_MAP_SIZE_SHIFT; in arena_mapbits_size_decode()
770 size_t mapbits; in arena_mapbits_unallocated_size_get() local
772 mapbits = arena_mapbits_get(chunk, pageind); in arena_mapbits_unallocated_size_get()
773 assert((mapbits & (CHUNK_MAP_LARGE|CHUNK_MAP_ALLOCATED)) == 0); in arena_mapbits_unallocated_size_get()
[all …]
/external/jemalloc/src/
Dandroid_je_iterate.c92 size_t mapbits; in je_iterate_chunk() local
95 mapbits = arena_mapbits_get(chunk, pageind); in je_iterate_chunk()
Darena.c54 size_t pageind, mapbits; in arena_miscelm_size_get() local
58 mapbits = arena_mapbits_get(chunk, pageind); in arena_miscelm_size_get()
59 return (arena_mapbits_size_decode(mapbits)); in arena_miscelm_size_get()
325 size_t mapbits = arena_mapbits_get(chunk, pageind); in arena_run_reg_dalloc() local
326 szind_t binind = arena_ptr_small_binind_get(ptr, mapbits); in arena_run_reg_dalloc()