Searched refs:reshape_sectors (Results 1 – 2 of 2) sorted by relevance
1633 sector_t reshape_sectors = 0; in _get_reshape_sectors() local1637 reshape_sectors = (rdev->data_offset > rdev->new_data_offset) ? in _get_reshape_sectors()1643 return max(reshape_sectors, (sector_t) rs->data_offset); in _get_reshape_sectors()2851 sector_t reshape_sectors = _get_reshape_sectors(rs); in rs_setup_reshape() local2945 rdev->sectors += reshape_sectors; in rs_setup_reshape()3015 sector_t sb_array_sectors, rdev_sectors, reshape_sectors; in raid_ctr() local3102 reshape_sectors = _get_reshape_sectors(rs); in raid_ctr()3104 resize = (rs->dev_sectors != rdev_sectors - reshape_sectors); in raid_ctr()3105 if (rs->dev_sectors > rdev_sectors - reshape_sectors) in raid_ctr()3196 if (reshape_sectors || rs_is_raid1(rs)) { in raid_ctr()
6230 int reshape_sectors; in reshape_request() local6277 if (WARN_ON(writepos < reshape_sectors)) in reshape_request()6280 writepos -= reshape_sectors; in reshape_request()6281 readpos += reshape_sectors; in reshape_request()6282 safepos += reshape_sectors; in reshape_request()6284 writepos += reshape_sectors; in reshape_request()6289 readpos -= min_t(sector_t, reshape_sectors, readpos); in reshape_request()6302 ~((sector_t)reshape_sectors - 1)) - in reshape_request()6303 reshape_sectors - stripe_addr != sector_nr)) in reshape_request()6445 sector_nr += reshape_sectors; in reshape_request()[all …]