Lines Matching refs:r_sector
2957 sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector, in raid5_compute_sector() argument
2980 chunk_offset = sector_div(r_sector, sectors_per_chunk); in raid5_compute_sector()
2981 chunk_number = r_sector; in raid5_compute_sector()
3173 sector_t r_sector; in raid5_compute_blocknr() local
3266 r_sector = chunk_number * sectors_per_chunk + chunk_offset; in raid5_compute_blocknr()
3268 check = raid5_compute_sector(conf, r_sector, in raid5_compute_blocknr()
3276 return r_sector; in raid5_compute_blocknr()
6050 sector_t r_sector = bi->bi_iter.bi_sector & ~((sector_t)RAID5_STRIPE_SECTORS(conf)-1); in raid5_bio_lowest_chunk_sector() local
6054 sector = raid5_compute_sector(conf, r_sector, 0, &dd_idx, &sh); in raid5_bio_lowest_chunk_sector()
6057 return r_sector; in raid5_bio_lowest_chunk_sector()
6066 return r_sector; in raid5_bio_lowest_chunk_sector()
6067 return r_sector + sectors_per_chunk - chunk_offset; in raid5_bio_lowest_chunk_sector()