Lines Matching refs:array_sectors
246 sector_t array_sectors; member
703 set_capacity_and_notify(gendisk, rs->md.array_sectors); in rs_set_capacity()
1627 sector_t array_sectors = sectors, dev_sectors = sectors; in rs_set_dev_and_array_sectors() local
1652 array_sectors = (data_stripes + delta_disks) * dev_sectors; in rs_set_dev_and_array_sectors()
1653 if (sector_div(array_sectors, rs->raid10_copies)) in rs_set_dev_and_array_sectors()
1661 array_sectors = (data_stripes + delta_disks) * dev_sectors; in rs_set_dev_and_array_sectors()
1663 mddev->array_sectors = array_sectors; in rs_set_dev_and_array_sectors()
1977 __le64 array_sectors; /* Array size in sectors */ member
2147 sb->array_sectors = cpu_to_le64(mddev->array_sectors); in super_sync()
2245 mddev->array_sectors = le64_to_cpu(sb->array_sectors); in super_init_validation()
3066 rs->array_sectors = rs->md.array_sectors; in raid_ctr()
3081 sb_array_sectors = rs->md.array_sectors; in raid_ctr()
3223 if (sb_array_sectors > rs->array_sectors) in raid_ctr()
3337 if (unlikely(bio_end_sector(bio) > mddev->array_sectors)) in raid_map()
3997 mddev->array_sectors = rs->array_sectors; in raid_preresume()