Searched refs:pg_index (Results 1 – 4 of 4) sorted by relevance
337 int pg_index = 0; in btrfs_submit_compressed_write() local373 for (pg_index = 0; pg_index < cb->nr_pages; pg_index++) { in btrfs_submit_compressed_write()374 page = compressed_pages[pg_index]; in btrfs_submit_compressed_write()454 unsigned long pg_index; in add_ra_bio_pages() local478 pg_index = last_offset >> PAGE_SHIFT; in add_ra_bio_pages()480 if (pg_index > end_index) in add_ra_bio_pages()484 page = radix_tree_lookup(&mapping->page_tree, pg_index); in add_ra_bio_pages()498 if (add_to_page_cache_lru(page, mapping, pg_index, GFP_NOFS)) { in add_ra_bio_pages()581 unsigned long pg_index; in btrfs_submit_compressed_read() local636 for (pg_index = 0; pg_index < nr_pages; pg_index++) { in btrfs_submit_compressed_read()[all …]
38 unsigned long *pg_index,49 unsigned long pg_index,
821 unsigned long pg_index) in ocfs2_page_index_to_clusters() argument823 u32 clusters = pg_index; in ocfs2_page_index_to_clusters()827 clusters = pg_index << (PAGE_SHIFT - cbits); in ocfs2_page_index_to_clusters()829 clusters = pg_index >> (cbits - PAGE_SHIFT); in ocfs2_page_index_to_clusters()
236 int pg_index = header->args.pgbase >> PAGE_SHIFT; in bl_read_pagelist() local254 for (i = pg_index; i < header->page_array.npages; i++) { in bl_read_pagelist()379 int pg_index = header->args.pgbase >> PAGE_SHIFT; in bl_write_pagelist() local401 for (i = pg_index; i < header->page_array.npages; i++) { in bl_write_pagelist()