Lines Matching refs:map_bias

20 size_t		map_bias;  variable
579 assert(arena_mapbits_allocated_get(chunk, map_bias) == 0); in arena_chunk_init_spare()
581 assert(arena_mapbits_unallocated_size_get(chunk, map_bias) == in arena_chunk_init_spare()
585 assert(arena_mapbits_dirty_get(chunk, map_bias) == in arena_chunk_init_spare()
618 if (chunk_hooks->commit(chunk, chunksize, 0, map_bias << in arena_chunk_alloc_internal_hard()
628 chunk_hooks->decommit(chunk, chunksize, 0, map_bias << in arena_chunk_alloc_internal_hard()
663 arena->stats.metadata_mapped += (map_bias << LG_PAGE); in arena_chunk_alloc_internal()
691 arena_mapbits_unallocated_set(chunk, map_bias, arena_maxrun, in arena_chunk_init_hard()
699 (void *)arena_bitselm_get(chunk, map_bias+1), in arena_chunk_init_hard()
702 map_bias+1))); in arena_chunk_init_hard()
703 for (i = map_bias+1; i < chunk_npages-1; i++) in arena_chunk_init_hard()
707 *)arena_bitselm_get(chunk, map_bias+1), (size_t)((uintptr_t) in arena_chunk_init_hard()
709 (uintptr_t)arena_bitselm_get(chunk, map_bias+1))); in arena_chunk_init_hard()
711 for (i = map_bias+1; i < chunk_npages-1; i++) { in arena_chunk_init_hard()
736 arena_avail_insert(arena, chunk, map_bias, chunk_npages-map_bias); in arena_chunk_alloc()
745 assert(arena_mapbits_allocated_get(chunk, map_bias) == 0); in arena_chunk_dalloc()
747 assert(arena_mapbits_unallocated_size_get(chunk, map_bias) == in arena_chunk_dalloc()
751 assert(arena_mapbits_dirty_get(chunk, map_bias) == in arena_chunk_dalloc()
753 assert(arena_mapbits_decommitted_get(chunk, map_bias) == in arena_chunk_dalloc()
757 arena_avail_remove(arena, chunk, map_bias, chunk_npages-map_bias); in arena_chunk_dalloc()
765 if (arena_mapbits_dirty_get(spare, map_bias) != 0) { in arena_chunk_dalloc()
766 arena_run_dirty_remove(arena, spare, map_bias, in arena_chunk_dalloc()
767 chunk_npages-map_bias); in arena_chunk_dalloc()
772 committed = (arena_mapbits_decommitted_get(spare, map_bias) == in arena_chunk_dalloc()
783 chunk_hooks.decommit(spare, chunksize, 0, map_bias << in arena_chunk_dalloc()
792 arena->stats.metadata_mapped -= (map_bias << LG_PAGE); in arena_chunk_dalloc()
1121 run = &arena_miscelm_get(chunk, map_bias)->run; in arena_run_alloc_large()
1166 run = &arena_miscelm_get(chunk, map_bias)->run; in arena_run_alloc_small()
1838 if (run_ind > map_bias && arena_mapbits_allocated_get(chunk, in arena_run_coalesce()
1887 assert(run_ind >= map_bias); in arena_run_size_get()
1913 assert(run_ind >= map_bias); in arena_run_dalloc()
1962 assert(run_ind == map_bias); in arena_run_dalloc()
3609 map_bias = 0; in arena_boot()
3613 sizeof(arena_chunk_map_misc_t)) * (chunk_npages-map_bias)); in arena_boot()
3614 map_bias = (header_size + PAGE_MASK) >> LG_PAGE; in arena_boot()
3616 assert(map_bias > 0); in arena_boot()
3619 sizeof(arena_chunk_map_bits_t) * (chunk_npages-map_bias); in arena_boot()
3621 arena_maxrun = chunksize - (map_bias << LG_PAGE); in arena_boot()