Lines Matching refs:r_sector
3000 sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector, in raid5_compute_sector() argument
3023 chunk_offset = sector_div(r_sector, sectors_per_chunk); in raid5_compute_sector()
3024 chunk_number = r_sector; in raid5_compute_sector()
3216 sector_t r_sector; in raid5_compute_blocknr() local
3309 r_sector = chunk_number * sectors_per_chunk + chunk_offset; in raid5_compute_blocknr()
3311 check = raid5_compute_sector(conf, r_sector, in raid5_compute_blocknr()
3319 return r_sector; in raid5_compute_blocknr()
6111 sector_t r_sector = bi->bi_iter.bi_sector & ~((sector_t)RAID5_STRIPE_SECTORS(conf)-1); in raid5_bio_lowest_chunk_sector() local
6115 sector = raid5_compute_sector(conf, r_sector, 0, &dd_idx, &sh); in raid5_bio_lowest_chunk_sector()
6118 return r_sector; in raid5_bio_lowest_chunk_sector()
6127 return r_sector; in raid5_bio_lowest_chunk_sector()
6128 return r_sector + sectors_per_chunk - chunk_offset; in raid5_bio_lowest_chunk_sector()