Home
last modified time | relevance | path

Searched refs:miscelm (Results 1 – 2 of 2) sorted by relevance

/external/jemalloc/include/jemalloc/internal/
Darena.h509 size_t arena_miscelm_to_pageind(arena_chunk_map_misc_t *miscelm);
510 void *arena_miscelm_to_rpages(arena_chunk_map_misc_t *miscelm);
582 arena_miscelm_to_pageind(arena_chunk_map_misc_t *miscelm) in arena_miscelm_to_pageind() argument
584 arena_chunk_t *chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(miscelm); in arena_miscelm_to_pageind()
585 size_t pageind = ((uintptr_t)miscelm - ((uintptr_t)chunk + in arena_miscelm_to_pageind()
595 arena_miscelm_to_rpages(arena_chunk_map_misc_t *miscelm) in arena_miscelm_to_rpages() argument
597 arena_chunk_t *chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(miscelm); in arena_miscelm_to_rpages()
598 size_t pageind = arena_miscelm_to_pageind(miscelm); in arena_miscelm_to_rpages()
606 arena_chunk_map_misc_t *miscelm = (arena_chunk_map_misc_t in arena_rd_to_miscelm() local
609 assert(arena_miscelm_to_pageind(miscelm) >= map_bias); in arena_rd_to_miscelm()
[all …]
/external/jemalloc/src/
Darena.c37 arena_miscelm_to_bits(arena_chunk_map_misc_t *miscelm) in arena_miscelm_to_bits() argument
39 arena_chunk_t *chunk = CHUNK_ADDR2BASE(miscelm); in arena_miscelm_to_bits()
40 size_t pageind = arena_miscelm_to_pageind(miscelm); in arena_miscelm_to_bits()
203 arena_chunk_map_misc_t *miscelm = arena_miscelm_get(chunk, pageind); in arena_run_dirty_insert() local
211 qr_new(&miscelm->rd, rd_link); in arena_run_dirty_insert()
212 qr_meld(&arena->runs_dirty, &miscelm->rd, rd_link); in arena_run_dirty_insert()
220 arena_chunk_map_misc_t *miscelm = arena_miscelm_get(chunk, pageind); in arena_run_dirty_remove() local
228 qr_remove(&miscelm->rd, rd_link); in arena_run_dirty_remove()
268 arena_chunk_map_misc_t *miscelm; in arena_run_reg_alloc() local
275 miscelm = arena_run_to_miscelm(run); in arena_run_reg_alloc()
[all …]