Lines Matching defs:run_pages
972 size_t size, run_ind, run_pages, flag_dirty;
988 run_pages = (size >> LG_PAGE);
995 CHUNK_CEILING((arena->nactive - run_pages) << LG_PAGE);
999 arena->nactive -= run_pages;
1007 arena_mapbits_dirty_get(chunk, run_ind+run_pages-1));
1016 arena_mapbits_unallocated_set(chunk, run_ind+run_pages-1, size,
1021 arena_mapbits_unallocated_set(chunk, run_ind+run_pages-1, size,
1022 arena_mapbits_unzeroed_get(chunk, run_ind+run_pages-1));
1026 if (run_ind + run_pages < chunk_npages &&
1027 arena_mapbits_allocated_get(chunk, run_ind+run_pages) == 0 &&
1028 arena_mapbits_dirty_get(chunk, run_ind+run_pages) == flag_dirty) {
1030 run_ind+run_pages);
1038 run_ind+run_pages+nrun_pages-1) == nrun_size);
1040 run_ind+run_pages+nrun_pages-1) == flag_dirty);
1041 arena_avail_remove(arena, chunk, run_ind+run_pages, nrun_pages,
1045 run_pages += nrun_pages;
1048 arena_mapbits_unallocated_size_set(chunk, run_ind+run_pages-1,
1072 run_pages += prun_pages;
1075 arena_mapbits_unallocated_size_set(chunk, run_ind+run_pages-1,
1081 arena_mapbits_unallocated_size_get(chunk, run_ind+run_pages-1));
1083 arena_mapbits_dirty_get(chunk, run_ind+run_pages-1));
1084 arena_avail_insert(arena, chunk, run_ind, run_pages, true, true);
1089 assert(run_pages == (arena_maxclass >> LG_PAGE));