Lines Matching refs:sector_nr
1766 static sector_t sync_request(mddev_t *mddev, sector_t sector_nr, int *skipped, int go_faster) in sync_request() argument
1788 if (sector_nr >= max_sector) { in sync_request()
1821 return (max_sector - sector_nr) + sectors_skipped; in sync_request()
1831 max_sector > (sector_nr | conf->chunk_mask)) in sync_request()
1832 max_sector = (sector_nr | conf->chunk_mask) + 1; in sync_request()
1867 sector_t sect = raid10_find_virt(conf, sector_nr, i); in sync_request()
1976 bitmap_cond_end_sync(mddev->bitmap, sector_nr); in sync_request()
1978 if (!bitmap_start_sync(mddev->bitmap, sector_nr, in sync_request()
1992 conf->next_resync = sector_nr; in sync_request()
1995 r10_bio->sector = sector_nr; in sync_request()
1998 r10_bio->sectors = (sector_nr | conf->chunk_mask) - sector_nr +1; in sync_request()
2045 if (sector_nr + max_sync < max_sector) in sync_request()
2046 max_sector = sector_nr + max_sync; in sync_request()
2051 if (sector_nr + (len>>9) > max_sector) in sync_request()
2052 len = (max_sector - sector_nr) << 9; in sync_request()
2072 sector_nr += len>>9; in sync_request()
2102 if (sector_nr + max_sync < max_sector) in sync_request()
2103 max_sector = sector_nr + max_sync; in sync_request()
2105 sectors_skipped += (max_sector - sector_nr); in sync_request()
2107 sector_nr = max_sector; in sync_request()