Lines Matching refs:major_version
1173 if (sb->major_version != 0 || in super_90_load()
1177 sb->major_version, sb->minor_version, rdev->bdev); in super_90_load()
1266 mddev->major_version = 0; in super_90_validate()
1408 sb->major_version = mddev->major_version; in super_90_sync()
1623 sb->major_version != cpu_to_le32(1) || in super_1_load()
1777 mddev->major_version = 1; in super_1_validate()
2234 BUG_ON(mddev->major_version >= ARRAY_SIZE(super_types)); in sync_super()
2236 super_types[mddev->major_version].sync_super(mddev, rdev); in sync_super()
2499 mddev->major_version = 0; in export_array()
2796 super_types[mddev->major_version]. in add_bound_rdev()
3254 !super_types[mddev->major_version] in new_offset_store()
3339 sectors = super_types[my_mddev->major_version]. in rdev_size_store()
3469 if (rdev->mddev->major_version == 0) in ppl_sector_store()
3506 if (rdev->mddev->major_version == 0) in ppl_size_store()
3715 switch (super_types[mddev->major_version]. in analyze_sbs()
3734 super_types[mddev->major_version]. in analyze_sbs()
3749 if (super_types[mddev->major_version]. in analyze_sbs()
4542 rdev = md_import_device(dev, mddev->major_version, in new_dev_store()
4548 err = super_types[mddev->major_version] in new_dev_store()
4662 mddev->major_version, mddev->minor_version); in metadata_show()
4693 mddev->major_version = 0; in metadata_store()
4707 mddev->major_version = 0; in metadata_store()
4722 mddev->major_version = major; in metadata_store()
5277 mddev->major_version == 0) in reshape_direction_store()
6548 else if (mddev->raid_disks || mddev->major_version in autorun_devices()
6616 info.major_version = mddev->major_version; in get_array_info()
6741 rdev = md_import_device(dev, mddev->major_version, mddev->minor_version); in md_add_new_disk()
6751 err = super_types[mddev->major_version] in md_add_new_disk()
6780 rdev = md_import_device(dev, mddev->major_version, in md_add_new_disk()
6799 super_types[mddev->major_version]. in md_add_new_disk()
6883 if (mddev->major_version != 0) { in md_add_new_disk()
6977 if (mddev->major_version != 0) { in hot_add_disk()
7159 if (info->major_version < 0 || in md_set_array_info()
7160 info->major_version >= ARRAY_SIZE(super_types) || in md_set_array_info()
7161 super_types[info->major_version].name == NULL) { in md_set_array_info()
7164 info->major_version); in md_set_array_info()
7167 mddev->major_version = info->major_version; in md_set_array_info()
7177 mddev->major_version = MD_MAJOR_VERSION; in md_set_array_info()
7343 if (mddev->major_version != info->major_version || in update_array_info()
8347 if (mddev->major_version != 0 || in md_seq_show()
8350 mddev->major_version, in md_seq_show()
9832 err = super_types[mddev->major_version]. in read_rdev()