Lines Matching refs:rdev0
4035 struct md_rdev *rdev0 in new_dev_store() local
4039 .load_super(rdev, rdev0, mddev->minor_version); in new_dev_store()
5465 struct md_rdev *rdev0, *rdev, *tmp; in autorun_devices() local
5474 rdev0 = list_entry(pending_raid_disks.next, in autorun_devices()
5478 bdevname(rdev0->bdev,b)); in autorun_devices()
5481 if (super_90_load(rdev, rdev0, 0) >= 0) { in autorun_devices()
5493 rdev0->preferred_minor << MdpMinorShift); in autorun_devices()
5496 dev = MKDEV(MD_MAJOR, rdev0->preferred_minor); in autorun_devices()
5499 if (rdev0->preferred_minor != unit) { in autorun_devices()
5501 bdevname(rdev0->bdev, b), rdev0->preferred_minor); in autorun_devices()
5521 mdname(mddev), bdevname(rdev0->bdev,b)); in autorun_devices()
5713 struct md_rdev *rdev0 in add_new_disk() local
5717 .load_super(rdev, rdev0, mddev->minor_version); in add_new_disk()
5722 bdevname(rdev0->bdev,b2)); in add_new_disk()