Lines Matching refs:major_version
1194 if (sb->major_version != 0 || in super_90_load()
1198 sb->major_version, sb->minor_version, rdev->bdev); in super_90_load()
1287 mddev->major_version = 0; in super_90_validate()
1429 sb->major_version = mddev->major_version; in super_90_sync()
1644 sb->major_version != cpu_to_le32(1) || in super_1_load()
1798 mddev->major_version = 1; in super_1_validate()
2255 BUG_ON(mddev->major_version >= ARRAY_SIZE(super_types)); in sync_super()
2257 super_types[mddev->major_version].sync_super(mddev, rdev); in sync_super()
2521 mddev->major_version = 0; in export_array()
2818 super_types[mddev->major_version]. in add_bound_rdev()
3273 !super_types[mddev->major_version] in new_offset_store()
3358 sectors = super_types[my_mddev->major_version]. in rdev_size_store()
3488 if (rdev->mddev->major_version == 0) in ppl_sector_store()
3525 if (rdev->mddev->major_version == 0) in ppl_size_store()
3718 switch (super_types[mddev->major_version]. in analyze_sbs()
3737 super_types[mddev->major_version]. in analyze_sbs()
3752 if (super_types[mddev->major_version]. in analyze_sbs()
4557 rdev = md_import_device(dev, mddev->major_version, in new_dev_store()
4563 err = super_types[mddev->major_version] in new_dev_store()
4677 mddev->major_version, mddev->minor_version); in metadata_show()
4708 mddev->major_version = 0; in metadata_store()
4722 mddev->major_version = 0; in metadata_store()
4737 mddev->major_version = major; in metadata_store()
5250 mddev->major_version == 0) in reshape_direction_store()
6506 else if (mddev->raid_disks || mddev->major_version in autorun_devices()
6574 info.major_version = mddev->major_version; in get_array_info()
6699 rdev = md_import_device(dev, mddev->major_version, mddev->minor_version); in md_add_new_disk()
6709 err = super_types[mddev->major_version] in md_add_new_disk()
6738 rdev = md_import_device(dev, mddev->major_version, in md_add_new_disk()
6758 super_types[mddev->major_version]. in md_add_new_disk()
6842 if (mddev->major_version != 0) { in md_add_new_disk()
6936 if (mddev->major_version != 0) { in hot_add_disk()
7109 if (info->major_version < 0 || in md_set_array_info()
7110 info->major_version >= ARRAY_SIZE(super_types) || in md_set_array_info()
7111 super_types[info->major_version].name == NULL) { in md_set_array_info()
7114 info->major_version); in md_set_array_info()
7117 mddev->major_version = info->major_version; in md_set_array_info()
7127 mddev->major_version = MD_MAJOR_VERSION; in md_set_array_info()
7293 if (mddev->major_version != info->major_version || in update_array_info()
8291 if (mddev->major_version != 0 || in md_seq_show()
8294 mddev->major_version, in md_seq_show()
9784 err = super_types[mddev->major_version]. in read_rdev()