Lines Matching refs:miscelm
37 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()
276 rpages = arena_miscelm_to_rpages(miscelm); in arena_run_reg_alloc()
400 arena_chunk_map_misc_t *miscelm; in arena_run_split_large_helper() local
404 miscelm = arena_run_to_miscelm(run); in arena_run_split_large_helper()
405 run_ind = arena_miscelm_to_pageind(miscelm); in arena_run_split_large_helper()
469 arena_chunk_map_misc_t *miscelm; in arena_run_split_small() local
475 miscelm = arena_run_to_miscelm(run); in arena_run_split_small()
476 run_ind = arena_miscelm_to_pageind(miscelm); in arena_run_split_small()
993 arena_chunk_map_misc_t *miscelm = in arena_run_first_best_fit() local
995 if (miscelm == NULL) in arena_run_first_best_fit()
997 return (&miscelm->run); in arena_run_first_best_fit()
1158 arena_chunk_map_misc_t *miscelm = in arena_dirty_count() local
1160 size_t pageind = arena_miscelm_to_pageind(miscelm); in arena_dirty_count()
1234 arena_chunk_map_misc_t *miscelm = in arena_stash_dirty() local
1236 size_t pageind = arena_miscelm_to_pageind(miscelm); in arena_stash_dirty()
1237 arena_run_t *run = &miscelm->run; in arena_stash_dirty()
1309 arena_chunk_map_misc_t *miscelm = in arena_purge_stashed() local
1311 pageind = arena_miscelm_to_pageind(miscelm); in arena_purge_stashed()
1375 arena_chunk_map_misc_t *miscelm = in arena_unstash_purged() local
1377 arena_run_t *run = &miscelm->run; in arena_unstash_purged()
1515 arena_chunk_map_misc_t *miscelm; in arena_run_dalloc() local
1519 miscelm = arena_run_to_miscelm(run); in arena_run_dalloc()
1520 run_ind = arena_miscelm_to_pageind(miscelm); in arena_run_dalloc()
1594 arena_chunk_map_misc_t *miscelm = arena_run_to_miscelm(run); in arena_run_trim_head() local
1595 size_t pageind = arena_miscelm_to_pageind(miscelm); in arena_run_trim_head()
1627 arena_chunk_map_misc_t *miscelm = arena_run_to_miscelm(run); in arena_run_trim_tail() local
1628 size_t pageind = arena_miscelm_to_pageind(miscelm); in arena_run_trim_tail()
1663 arena_chunk_map_misc_t *miscelm = arena_run_tree_first(&bin->runs); in arena_bin_runs_first() local
1664 if (miscelm != NULL) in arena_bin_runs_first()
1665 return (&miscelm->run); in arena_bin_runs_first()
1673 arena_chunk_map_misc_t *miscelm = arena_run_to_miscelm(run); in arena_bin_runs_insert() local
1675 assert(arena_run_tree_search(&bin->runs, miscelm) == NULL); in arena_bin_runs_insert()
1677 arena_run_tree_insert(&bin->runs, miscelm); in arena_bin_runs_insert()
1683 arena_chunk_map_misc_t *miscelm = arena_run_to_miscelm(run); in arena_bin_runs_remove() local
1685 assert(arena_run_tree_search(&bin->runs, miscelm) != NULL); in arena_bin_runs_remove()
1687 arena_run_tree_remove(&bin->runs, miscelm); in arena_bin_runs_remove()
2020 arena_chunk_map_misc_t *miscelm; in arena_malloc_large() local
2042 miscelm = arena_run_to_miscelm(run); in arena_malloc_large()
2043 ret = (void *)((uintptr_t)arena_miscelm_to_rpages(miscelm) + in arena_malloc_large()
2082 arena_chunk_map_misc_t *miscelm; in arena_palloc_large() local
2101 miscelm = arena_run_to_miscelm(run); in arena_palloc_large()
2102 rpages = arena_miscelm_to_rpages(miscelm); in arena_palloc_large()
2109 arena_chunk_map_misc_t *head_miscelm = miscelm; in arena_palloc_large()
2112 miscelm = arena_miscelm_get(chunk, in arena_palloc_large()
2115 run = &miscelm->run; in arena_palloc_large()
2125 ret = arena_miscelm_to_rpages(miscelm); in arena_palloc_large()
2366 arena_chunk_map_misc_t *miscelm = arena_miscelm_get(chunk, pageind); in arena_dalloc_large_locked_impl() local
2367 arena_run_t *run = &miscelm->run; in arena_dalloc_large_locked_impl()
2410 arena_chunk_map_misc_t *miscelm = arena_miscelm_get(chunk, pageind); in arena_ralloc_large_shrink() local
2411 arena_run_t *run = &miscelm->run; in arena_ralloc_large_shrink()