Lines Matching refs:this_sector
600 const sector_t this_sector = r1_bio->sector;
630 if ((conf->mddev->recovery_cp < this_sector + sectors) ||
632 md_cluster_ops->area_resyncing(conf->mddev, READ, this_sector,
633 this_sector + sectors)))
651 rdev->recovery_offset < this_sector + sectors)
657 if (is_badblock(rdev, this_sector, sectors,
659 if (first_bad <= this_sector)
662 best_good_sectors = first_bad - this_sector;
673 if (is_badblock(rdev, this_sector, sectors,
678 if (first_bad <= this_sector) {
683 bad_sectors -= (this_sector - first_bad);
690 sector_t good_sectors = first_bad - this_sector;
712 dist = abs(this_sector - conf->mirrors[disk].head_position);
718 if (conf->mirrors[disk].next_seq_sect == this_sector
782 if (conf->mirrors[best_disk].next_seq_sect != this_sector)
783 conf->mirrors[best_disk].seq_start = this_sector;
785 conf->mirrors[best_disk].next_seq_sect = this_sector + sectors;