Home
last modified time | relevance | path

Searched refs:r_sector (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/md/
Draid5-ppl.c860 sector_t r_sector = r_sector_first + i + in ppl_recover_entry() local
867 if (r_sector >= r_sector_last) { in ppl_recover_entry()
870 (unsigned long long)r_sector); in ppl_recover_entry()
878 sector = raid5_compute_sector(conf, r_sector, 0, in ppl_recover_entry()
882 (unsigned long long)r_sector, dd_idx, in ppl_recover_entry()
Draid5.h810 sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector,
Draid5.c3000 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()
[all …]