Lines Matching refs:pg_index
388 int pg_index = 0;
422 for (pg_index = 0; pg_index < cb->nr_pages; pg_index++) {
425 page = compressed_pages[pg_index];
506 unsigned long pg_index;
529 pg_index = last_offset >> PAGE_SHIFT;
531 if (pg_index > end_index)
534 page = xa_load(&mapping->i_pages, pg_index);
547 if (add_to_page_cache_lru(page, mapping, pg_index, GFP_NOFS)) {
627 unsigned long pg_index;
679 for (pg_index = 0; pg_index < nr_pages; pg_index++) {
680 cb->compressed_pages[pg_index] = alloc_page(GFP_NOFS |
682 if (!cb->compressed_pages[pg_index]) {
683 faili = pg_index - 1;
702 for (pg_index = 0; pg_index < nr_pages; pg_index++) {
705 page = cb->compressed_pages[pg_index];