Searched refs:sector_nr (Results 1 - 4 of 4) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/ |
H A D | raid10.c | 1809 static sector_t sync_request(mddev_t *mddev, sector_t sector_nr, int *skipped, int go_faster) argument 1831 if (sector_nr >= max_sector) { 1864 return (max_sector - sector_nr) + sectors_skipped; 1874 max_sector > (sector_nr | conf->chunk_mask)) 1875 max_sector = (sector_nr | conf->chunk_mask) + 1; 1910 sector_t sect = raid10_find_virt(conf, sector_nr, i); 2019 bitmap_cond_end_sync(mddev->bitmap, sector_nr); 2021 if (!bitmap_start_sync(mddev->bitmap, sector_nr, 2035 conf->next_resync = sector_nr; 2038 r10_bio->sector = sector_nr; [all...] |
H A D | raid1.c | 1746 static sector_t sync_request(mddev_t *mddev, sector_t sector_nr, int *skipped, int go_faster) argument 1764 if (sector_nr >= max_sector) { 1786 return max_sector - sector_nr; 1791 if (!bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) && 1805 bitmap_cond_end_sync(mddev->bitmap, sector_nr); 1808 conf->next_resync = sector_nr; 1822 r1_bio->sector = sector_nr; 1866 bio->bi_sector = sector_nr + rdev->data_offset; 1883 sector_t rv = max_sector - sector_nr; 1896 if (sector_nr [all...] |
H A D | raid5.c | 4141 static sector_t reshape_request(mddev_t *mddev, sector_t sector_nr, int *skipped) argument 4165 if (sector_nr == 0) { 4169 sector_nr = raid5_size(mddev, 0, 0) 4173 sector_nr = conf->reshape_progress; 4174 sector_div(sector_nr, new_data_disks); 4175 if (sector_nr) { 4176 mddev->curr_resync_completed = sector_nr; 4179 return sector_nr; 4260 != sector_nr); 4262 BUG_ON(writepos != sector_nr 4358 sync_request(mddev_t *mddev, sector_t sector_nr, int *skipped, int go_faster) argument [all...] |
H A D | md.h | 386 sector_t (*sync_request)(mddev_t *mddev, sector_t sector_nr, int *skipped, int go_faster);
|
Completed in 42 milliseconds