Searched refs:my_mddev (Results 1 – 1 of 1) sorted by relevance
3370 struct mddev *my_mddev = rdev->mddev; in rdev_size_store() local3380 if (my_mddev->pers && rdev->raid_disk >= 0) { in rdev_size_store()3381 if (my_mddev->persistent) { in rdev_size_store()3382 sectors = super_types[my_mddev->major_version]. in rdev_size_store()3389 if (!my_mddev->pers->resize) in rdev_size_store()3393 if (sectors < my_mddev->dev_sectors) in rdev_size_store()3403 if (sectors > oldsectors && my_mddev->external && in rdev_size_store()