Lines Matching refs:sector_nr
556 unsigned int sector_nr) in rbio_stripe_sector_index() argument
559 ASSERT(sector_nr < rbio->stripe_nsectors); in rbio_stripe_sector_index()
561 return stripe_nr * rbio->stripe_nsectors + sector_nr; in rbio_stripe_sector_index()
567 unsigned int sector_nr) in rbio_stripe_sector() argument
570 sector_nr)]; in rbio_stripe_sector()
575 unsigned int sector_nr) in rbio_pstripe_sector() argument
577 return rbio_stripe_sector(rbio, rbio->nr_data, sector_nr); in rbio_pstripe_sector()
582 unsigned int sector_nr) in rbio_qstripe_sector() argument
586 return rbio_stripe_sector(rbio, rbio->nr_data + 1, sector_nr); in rbio_qstripe_sector()
882 int stripe_nr, int sector_nr, in sector_in_rbio() argument
889 ASSERT(sector_nr >= 0 && sector_nr < rbio->stripe_nsectors); in sector_in_rbio()
891 index = stripe_nr * rbio->stripe_nsectors + sector_nr; in sector_in_rbio()
1018 unsigned int sector_nr, in rbio_add_io_sector() argument
1034 ASSERT(sector_nr >= 0 && sector_nr < rbio->stripe_nsectors); in rbio_add_io_sector()
1038 disk_start = stripe->physical + sector_nr * sectorsize; in rbio_add_io_sector()