Lines Matching refs:stripe_sectors
82 kfree(rbio->stripe_sectors); in free_raid_bio_pointers()
185 ASSERT(rbio->stripe_sectors[i].uptodate); in cache_rbio_pages()
189 ASSERT(rbio->stripe_sectors[i].page); in cache_rbio_pages()
190 memcpy_page(rbio->stripe_sectors[i].page, in cache_rbio_pages()
191 rbio->stripe_sectors[i].pgoff, in cache_rbio_pages()
195 rbio->stripe_sectors[i].uptodate = 1; in cache_rbio_pages()
230 if (!rbio->stripe_sectors[i].uptodate) in full_page_sectors_uptodate()
251 rbio->stripe_sectors[i].page = rbio->stripe_pages[page_index]; in index_stripe_sectors()
252 rbio->stripe_sectors[i].pgoff = offset_in_page(offset); in index_stripe_sectors()
271 dest->stripe_sectors[i].uptodate = true; in steal_rbio_page()
613 return &rbio->stripe_sectors[rbio_stripe_sector_index(rbio, stripe_nr, in rbio_stripe_sector()
905 return &rbio->stripe_sectors[index]; in sector_in_rbio()
938 rbio->stripe_sectors = kcalloc(num_sectors, sizeof(struct sector_ptr), in alloc_rbio()
943 if (!rbio->stripe_pages || !rbio->bio_sectors || !rbio->stripe_sectors || in alloc_rbio()
1376 struct sector_ptr *sector = &rbio->stripe_sectors[i]; in find_stripe_sector()
1418 sector = &rbio->stripe_sectors[i]; in get_bio_sector_nr()
2216 struct sector_ptr *sector = &rbio->stripe_sectors[i]; in need_read_stripe_sectors()