Home
last modified time | relevance | path

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

/external/jemalloc/include/jemalloc/internal/
Darena.h605 size_t arena_miscelm_to_pageind(const arena_chunk_map_misc_t *miscelm);
606 void *arena_miscelm_to_rpages(arena_chunk_map_misc_t *miscelm);
685 arena_miscelm_to_pageind(const arena_chunk_map_misc_t *miscelm) in arena_miscelm_to_pageind() argument
687 arena_chunk_t *chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(miscelm); in arena_miscelm_to_pageind()
688 size_t pageind = ((uintptr_t)miscelm - ((uintptr_t)chunk + in arena_miscelm_to_pageind()
698 arena_miscelm_to_rpages(arena_chunk_map_misc_t *miscelm) in arena_miscelm_to_rpages() argument
700 arena_chunk_t *chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(miscelm); in arena_miscelm_to_rpages()
701 size_t pageind = arena_miscelm_to_pageind(miscelm); in arena_miscelm_to_rpages()
709 arena_chunk_map_misc_t *miscelm = (arena_chunk_map_misc_t in arena_rd_to_miscelm() local
712 assert(arena_miscelm_to_pageind(miscelm) >= map_bias); in arena_rd_to_miscelm()
[all …]
/external/jemalloc/src/
Darena.c51 arena_miscelm_size_get(const arena_chunk_map_misc_t *miscelm) in arena_miscelm_size_get() argument
56 chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(miscelm); in arena_miscelm_size_get()
57 pageind = arena_miscelm_to_pageind(miscelm); in arena_miscelm_size_get()
240 arena_chunk_map_misc_t *miscelm = arena_miscelm_get(chunk, pageind); in arena_run_dirty_insert() local
248 qr_new(&miscelm->rd, rd_link); in arena_run_dirty_insert()
249 qr_meld(&arena->runs_dirty, &miscelm->rd, rd_link); in arena_run_dirty_insert()
257 arena_chunk_map_misc_t *miscelm = arena_miscelm_get(chunk, pageind); in arena_run_dirty_remove() local
265 qr_remove(&miscelm->rd, rd_link); in arena_run_dirty_remove()
305 arena_chunk_map_misc_t *miscelm; in arena_run_reg_alloc() local
312 miscelm = arena_run_to_miscelm(run); in arena_run_reg_alloc()
[all …]