Searched refs:pg_index (Results 1 – 3 of 3) sorted by relevance
815 unsigned long pg_index) in ocfs2_page_index_to_clusters() argument817 u32 clusters = pg_index; in ocfs2_page_index_to_clusters()821 clusters = pg_index << (PAGE_SHIFT - cbits); in ocfs2_page_index_to_clusters()823 clusters = pg_index >> (cbits - PAGE_SHIFT); in ocfs2_page_index_to_clusters()
549 u64 pg_index = cur >> PAGE_SHIFT; in add_ra_bio_pages() local552 if (pg_index > end_index) in add_ra_bio_pages()555 page = xa_load(&mapping->i_pages, pg_index); in add_ra_bio_pages()568 cur = (pg_index << PAGE_SHIFT) + PAGE_SIZE; in add_ra_bio_pages()577 if (add_to_page_cache_lru(page, mapping, pg_index, GFP_NOFS)) { in add_ra_bio_pages()580 cur = (pg_index << PAGE_SHIFT) + PAGE_SIZE; in add_ra_bio_pages()596 page_end = (pg_index << PAGE_SHIFT) + PAGE_SIZE - 1; in add_ra_bio_pages()
242 int pg_index = header->args.pgbase >> PAGE_SHIFT; in bl_read_pagelist() local260 for (i = pg_index; i < header->page_array.npages; i++) { in bl_read_pagelist()386 int pg_index = header->args.pgbase >> PAGE_SHIFT; in bl_write_pagelist() local408 for (i = pg_index; i < header->page_array.npages; i++) { in bl_write_pagelist()