• Home
  • Raw
  • Download

Lines Matching refs:pg_index

337 	int pg_index = 0;  in btrfs_submit_compressed_write()  local
372 for (pg_index = 0; pg_index < cb->nr_pages; pg_index++) { in btrfs_submit_compressed_write()
373 page = compressed_pages[pg_index]; in btrfs_submit_compressed_write()
446 unsigned long pg_index; in add_ra_bio_pages() local
470 pg_index = last_offset >> PAGE_CACHE_SHIFT; in add_ra_bio_pages()
472 if (pg_index > end_index) in add_ra_bio_pages()
476 page = radix_tree_lookup(&mapping->page_tree, pg_index); in add_ra_bio_pages()
490 if (add_to_page_cache_lru(page, mapping, pg_index, GFP_NOFS)) { in add_ra_bio_pages()
573 unsigned long pg_index; in btrfs_submit_compressed_read() local
628 for (pg_index = 0; pg_index < nr_pages; pg_index++) { in btrfs_submit_compressed_read()
629 cb->compressed_pages[pg_index] = alloc_page(GFP_NOFS | in btrfs_submit_compressed_read()
631 if (!cb->compressed_pages[pg_index]) { in btrfs_submit_compressed_read()
632 faili = pg_index - 1; in btrfs_submit_compressed_read()
657 for (pg_index = 0; pg_index < nr_pages; pg_index++) { in btrfs_submit_compressed_read()
658 page = cb->compressed_pages[pg_index]; in btrfs_submit_compressed_read()
985 unsigned long *pg_index, in btrfs_decompress_buf2page() argument
994 struct page *page_out = bvec[*pg_index].bv_page; in btrfs_decompress_buf2page()
1035 (*pg_index)++; in btrfs_decompress_buf2page()
1036 if (*pg_index >= vcnt) in btrfs_decompress_buf2page()
1039 page_out = bvec[*pg_index].bv_page; in btrfs_decompress_buf2page()
1075 unsigned long pg_index, in btrfs_clear_biovec_end() argument
1078 while (pg_index < vcnt) { in btrfs_clear_biovec_end()
1079 struct page *page = bvec[pg_index].bv_page; in btrfs_clear_biovec_end()
1080 unsigned long off = bvec[pg_index].bv_offset; in btrfs_clear_biovec_end()
1081 unsigned long len = bvec[pg_index].bv_len; in btrfs_clear_biovec_end()
1093 pg_index++; in btrfs_clear_biovec_end()