Lines Matching refs:stripe_pages
80 kfree(rbio->stripe_pages); in free_raid_bio_pointers()
98 if (rbio->stripe_pages[i]) { in free_raid_bio()
99 __free_page(rbio->stripe_pages[i]); in free_raid_bio()
100 rbio->stripe_pages[i] = NULL; in free_raid_bio()
251 rbio->stripe_sectors[i].page = rbio->stripe_pages[page_index]; in index_stripe_sectors()
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()
304 struct page *p = src->stripe_pages[i]; in steal_rbio()
924 rbio->stripe_pages = kcalloc(num_pages, sizeof(struct page *), in alloc_rbio()
933 if (!rbio->stripe_pages || !rbio->bio_sectors || !rbio->stripe_sectors || in alloc_rbio()
967 ret = btrfs_alloc_page_array(rbio->nr_pages, rbio->stripe_pages); in alloc_rbio_pages()
982 rbio->stripe_pages + data_pages); in alloc_rbio_parity_pages()
1533 ret = btrfs_alloc_page_array(data_pages, rbio->stripe_pages); in alloc_rbio_data_pages()
2389 if (rbio->stripe_pages[index]) in alloc_rbio_essential_pages()
2394 rbio->stripe_pages[index] = page; in alloc_rbio_essential_pages()
2773 struct page *dst = rbio->stripe_pages[page_nr + page_index]; in raid56_parity_cache_data_pages()