Lines Matching refs:major_version

1180 	if (sb->major_version != 0 ||  in super_90_load()
1184 sb->major_version, sb->minor_version, rdev->bdev); in super_90_load()
1273 mddev->major_version = 0; in super_90_validate()
1415 sb->major_version = mddev->major_version; in super_90_sync()
1630 sb->major_version != cpu_to_le32(1) || in super_1_load()
1784 mddev->major_version = 1; in super_1_validate()
2241 BUG_ON(mddev->major_version >= ARRAY_SIZE(super_types)); in sync_super()
2243 super_types[mddev->major_version].sync_super(mddev, rdev); in sync_super()
2540 mddev->major_version = 0; in export_array()
2837 super_types[mddev->major_version]. in add_bound_rdev()
3292 !super_types[mddev->major_version] in new_offset_store()
3377 sectors = super_types[my_mddev->major_version]. in rdev_size_store()
3507 if (rdev->mddev->major_version == 0) in ppl_sector_store()
3544 if (rdev->mddev->major_version == 0) in ppl_size_store()
3729 switch (super_types[mddev->major_version]. in analyze_sbs()
3748 super_types[mddev->major_version]. in analyze_sbs()
3763 if (super_types[mddev->major_version]. in analyze_sbs()
4567 rdev = md_import_device(dev, mddev->major_version, in new_dev_store()
4573 err = super_types[mddev->major_version] in new_dev_store()
4687 mddev->major_version, mddev->minor_version); in metadata_show()
4718 mddev->major_version = 0; in metadata_store()
4732 mddev->major_version = 0; in metadata_store()
4747 mddev->major_version = major; in metadata_store()
5261 mddev->major_version == 0) in reshape_direction_store()
6502 else if (mddev->raid_disks || mddev->major_version in autorun_devices()
6570 info.major_version = mddev->major_version; in get_array_info()
6695 rdev = md_import_device(dev, mddev->major_version, mddev->minor_version); in md_add_new_disk()
6705 err = super_types[mddev->major_version] in md_add_new_disk()
6734 rdev = md_import_device(dev, mddev->major_version, in md_add_new_disk()
6754 super_types[mddev->major_version]. in md_add_new_disk()
6838 if (mddev->major_version != 0) { in md_add_new_disk()
6932 if (mddev->major_version != 0) { in hot_add_disk()
7105 if (info->major_version < 0 || in md_set_array_info()
7106 info->major_version >= ARRAY_SIZE(super_types) || in md_set_array_info()
7107 super_types[info->major_version].name == NULL) { in md_set_array_info()
7110 info->major_version); in md_set_array_info()
7113 mddev->major_version = info->major_version; in md_set_array_info()
7123 mddev->major_version = MD_MAJOR_VERSION; in md_set_array_info()
7289 if (mddev->major_version != info->major_version || in update_array_info()
8282 if (mddev->major_version != 0 || in md_seq_show()
8285 mddev->major_version, in md_seq_show()
9768 err = super_types[mddev->major_version]. in read_rdev()