Searched refs:MD_DISK_ROLE_SPARE (Results 1 – 2 of 2) sorted by relevance
99 #define MD_DISK_ROLE_SPARE 0xffff macro
1898 role = MD_DISK_ROLE_SPARE; in super_1_validate()1903 case MD_DISK_ROLE_SPARE: /* spare */ in super_1_validate()2086 sb->dev_roles[i] = cpu_to_le16(MD_DISK_ROLE_SPARE); in super_1_sync()2112 sb->dev_roles[i] = cpu_to_le16(MD_DISK_ROLE_SPARE); in super_1_sync()2620 if (role == MD_DISK_ROLE_SPARE && rdev->raid_disk >= 0 && in does_sb_need_changing()9700 if (rdev2->raid_disk == -1 && role != MD_DISK_ROLE_SPARE && in check_sb_changes()