Home
last modified time | relevance | path

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

/external/jemalloc/include/jemalloc/internal/
Darena.h655 size_t arena_mapbits_size_decode(size_t mapbits);
669 void arena_mapbitsp_write(size_t *mapbitsp, size_t mapbits);
689 szind_t arena_ptr_small_binind_get(const void *ptr, size_t mapbits);
821 arena_mapbits_size_decode(size_t mapbits) in arena_mapbits_size_decode() argument
826 size = (mapbits & CHUNK_MAP_SIZE_MASK) >> CHUNK_MAP_SIZE_SHIFT; in arena_mapbits_size_decode()
828 size = mapbits & CHUNK_MAP_SIZE_MASK; in arena_mapbits_size_decode()
830 size = (mapbits & CHUNK_MAP_SIZE_MASK) << -CHUNK_MAP_SIZE_SHIFT; in arena_mapbits_size_decode()
839 size_t mapbits; in arena_mapbits_unallocated_size_get() local
841 mapbits = arena_mapbits_get(chunk, pageind); in arena_mapbits_unallocated_size_get()
842 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.c50 size_t pageind, mapbits; in arena_miscelm_size_get() local
54 mapbits = arena_mapbits_get(chunk, pageind); in arena_miscelm_size_get()
55 return (arena_mapbits_size_decode(mapbits)); in arena_miscelm_size_get()
304 size_t mapbits = arena_mapbits_get(chunk, pageind); in arena_run_reg_dalloc() local
305 szind_t binind = arena_ptr_small_binind_get(ptr, mapbits); in arena_run_reg_dalloc()