Searched refs:my_mddev (Results 1 – 1 of 1) sorted by relevance
2597 mddev_t *my_mddev = rdev->mddev; in rdev_size_store() local2603 if (my_mddev->pers && rdev->raid_disk >= 0) { in rdev_size_store()2604 if (my_mddev->persistent) { in rdev_size_store()2605 sectors = super_types[my_mddev->major_version]. in rdev_size_store()2613 if (sectors < my_mddev->dev_sectors) in rdev_size_store()2617 if (sectors > oldsectors && my_mddev->external) { in rdev_size_store()2627 mddev_unlock(my_mddev); in rdev_size_store()2647 mddev_lock(my_mddev); in rdev_size_store()