Lines Matching refs:pg_index
141 int pg_index;
232 for (pg_index = (upl_offset + isize) / PAGE_SIZE; pg_index > base_index;) {
233 if (upl_page_present(pl, --pg_index))
235 if (pg_index == base_index) {
246 isize = ((pg_index + 1) - base_index) * PAGE_SIZE;
249 pg_index = base_index;
255 if ( !upl_page_present(pl, pg_index)) {
264 pg_index++;
268 if ( !upl_dirty_page(pl, pg_index)) {
304 pg_index++;
314 if ( !upl_dirty_page(pl, pg_index + num_of_pages))
336 pg_index += num_of_pages;