Lines Matching refs:page_index
2911 int page_index;
3010 for (page_index = upl->size / vm_page_size; page_index > 0;)
3011 if (UPL_PAGE_PRESENT(pl, --page_index))
3013 num_of_pages = page_index + 1;
3017 for (page_index = 0; page_index < num_of_pages; ) {
3021 for ( ; page_index < num_of_pages; page_index++) {
3022 if (UPL_DIRTY_PAGE(pl, page_index)
3023 || UPL_PRECIOUS_PAGE(pl, page_index))
3035 if (UPL_PAGE_PRESENT(pl, page_index)) {
3038 page_index * vm_page_size,
3045 assert(page_index ==
3051 if (page_index == num_of_pages)
3064 for (first_dirty = page_index;
3065 page_index < num_of_pages; ) {
3066 if ( !UPL_DIRTY_PAGE(pl, page_index)
3067 && !UPL_PRECIOUS_PAGE(pl, page_index))
3069 page_index++;
3075 if (page_index < num_of_pages) {
3079 cur_seg = (base_index + (page_index - 1))/pages_in_cl;
3080 nxt_seg = (base_index + page_index)/pages_in_cl;
3097 num_dirty = page_index - first_dirty;
3136 assert(page_index == num_of_pages);
3146 page_index = 0;