Lines Matching refs:this_sector
596 const sector_t this_sector = r1_bio->sector;
626 if ((conf->mddev->recovery_cp < this_sector + sectors) ||
628 md_cluster_ops->area_resyncing(conf->mddev, READ, this_sector,
629 this_sector + sectors)))
647 rdev->recovery_offset < this_sector + sectors)
653 if (is_badblock(rdev, this_sector, sectors,
655 if (first_bad <= this_sector)
658 best_good_sectors = first_bad - this_sector;
669 if (is_badblock(rdev, this_sector, sectors,
674 if (first_bad <= this_sector) {
679 bad_sectors -= (this_sector - first_bad);
686 sector_t good_sectors = first_bad - this_sector;
708 dist = abs(this_sector - conf->mirrors[disk].head_position);
714 if (conf->mirrors[disk].next_seq_sect == this_sector
778 if (conf->mirrors[best_disk].next_seq_sect != this_sector)
779 conf->mirrors[best_disk].seq_start = this_sector;
781 conf->mirrors[best_disk].next_seq_sect = this_sector + sectors;