Lines Matching defs:pg_index
255 int pg_index;
383 for (pg_index = (upl_offset + isize) / PAGE_SIZE; pg_index > base_index;) {
384 if (upl_page_present(pl, --pg_index))
386 if (pg_index == base_index) {
397 isize = ((pg_index + 1) - base_index) * PAGE_SIZE;
400 pg_index = base_index;
406 if ( !upl_page_present(pl, pg_index)) {
415 pg_index++;
419 if ( !upl_dirty_page(pl, pg_index)) {
453 pg_index++;
461 if ( !upl_dirty_page(pl, pg_index + num_of_pages))
485 pg_index += num_of_pages;