Lines Matching refs:need_pages

404     size_t flag_dirty, size_t flag_decommitted, size_t need_pages)  in arena_run_split_remove()  argument
414 assert(need_pages <= total_pages); in arena_run_split_remove()
415 rem_pages = total_pages - need_pages; in arena_run_split_remove()
420 arena_nactive_add(arena, need_pages); in arena_run_split_remove()
428 arena_mapbits_unallocated_set(chunk, run_ind+need_pages, in arena_run_split_remove()
430 (arena_mapbits_unzeroed_get(chunk, run_ind+need_pages) & in arena_run_split_remove()
437 arena_run_dirty_insert(arena, chunk, run_ind+need_pages, in arena_run_split_remove()
440 arena_avail_insert(arena, chunk, run_ind+need_pages, rem_pages); in arena_run_split_remove()
450 size_t flag_dirty, flag_decommitted, run_ind, need_pages; in arena_run_split_large_helper() local
458 need_pages = (size >> LG_PAGE); in arena_run_split_large_helper()
459 assert(need_pages > 0); in arena_run_split_large_helper()
467 flag_decommitted, need_pages); in arena_run_split_large_helper()
475 (need_pages << LG_PAGE)); in arena_run_split_large_helper()
478 arena_run_zero(chunk, run_ind, need_pages); in arena_run_split_large_helper()
485 for (i = 0; i < need_pages; i++) { in arena_run_split_large_helper()
500 (run_ind << LG_PAGE)), (need_pages << LG_PAGE)); in arena_run_split_large_helper()
509 arena_mapbits_large_set(chunk, run_ind+need_pages-1, 0, flag_dirty | in arena_run_split_large_helper()
511 run_ind+need_pages-1))); in arena_run_split_large_helper()
537 size_t flag_dirty, flag_decommitted, run_ind, need_pages, i; in arena_run_split_small() local
546 need_pages = (size >> LG_PAGE); in arena_run_split_small()
547 assert(need_pages > 0); in arena_run_split_small()
554 flag_decommitted, need_pages); in arena_run_split_small()
556 for (i = 0; i < need_pages; i++) { in arena_run_split_small()
565 (run_ind << LG_PAGE)), (need_pages << LG_PAGE)); in arena_run_split_small()