Lines Matching refs:page_nr
219 unsigned int page_nr) in full_page_sectors_uptodate() argument
225 ASSERT(page_nr < rbio->nr_pages); in full_page_sectors_uptodate()
227 for (i = sectors_per_page * page_nr; in full_page_sectors_uptodate()
228 i < sectors_per_page * page_nr + sectors_per_page; in full_page_sectors_uptodate()
257 struct btrfs_raid_bio *dest, int page_nr) in steal_rbio_page() argument
263 if (dest->stripe_pages[page_nr]) in steal_rbio_page()
264 __free_page(dest->stripe_pages[page_nr]); in steal_rbio_page()
265 dest->stripe_pages[page_nr] = src->stripe_pages[page_nr]; in steal_rbio_page()
266 src->stripe_pages[page_nr] = NULL; in steal_rbio_page()
269 for (i = sectors_per_page * page_nr; in steal_rbio_page()
270 i < sectors_per_page * page_nr + sectors_per_page; i++) in steal_rbio_page()
274 static bool is_data_stripe_page(struct btrfs_raid_bio *rbio, int page_nr) in is_data_stripe_page() argument
276 const int sector_nr = (page_nr << PAGE_SHIFT) >> in is_data_stripe_page()
2772 for (int page_nr = 0; page_nr < (BTRFS_STRIPE_LEN >> PAGE_SHIFT); page_nr++) { in raid56_parity_cache_data_pages() local
2773 struct page *dst = rbio->stripe_pages[page_nr + page_index]; in raid56_parity_cache_data_pages()
2774 struct page *src = data_pages[page_nr]; in raid56_parity_cache_data_pages()