dev_roles        1686 drivers/md/md.c 		(le16_to_cpu(sb->dev_roles[rdev->desc_nr]) < MD_DISK_ROLE_MAX ||
dev_roles        1687 drivers/md/md.c 		 le16_to_cpu(sb->dev_roles[rdev->desc_nr]) == MD_DISK_ROLE_JOURNAL)))
dev_roles        1827 drivers/md/md.c 		    (le16_to_cpu(sb->dev_roles[rdev->desc_nr]) < MD_DISK_ROLE_MAX ||
dev_roles        1828 drivers/md/md.c 		     le16_to_cpu(sb->dev_roles[rdev->desc_nr]) == MD_DISK_ROLE_JOURNAL))
dev_roles        1851 drivers/md/md.c 			role = le16_to_cpu(sb->dev_roles[rdev->desc_nr]);
dev_roles        2036 drivers/md/md.c 		sb->dev_roles[i] = cpu_to_le16(MD_DISK_ROLE_SPARE);
dev_roles        2054 drivers/md/md.c 			sb->dev_roles[i] = cpu_to_le16(MD_DISK_ROLE_FAULTY);
dev_roles        2056 drivers/md/md.c 			sb->dev_roles[i] = cpu_to_le16(rdev2->raid_disk);
dev_roles        2058 drivers/md/md.c 			sb->dev_roles[i] = cpu_to_le16(MD_DISK_ROLE_JOURNAL);
dev_roles        2060 drivers/md/md.c 			sb->dev_roles[i] = cpu_to_le16(rdev2->raid_disk);
dev_roles        2062 drivers/md/md.c 			sb->dev_roles[i] = cpu_to_le16(MD_DISK_ROLE_SPARE);
dev_roles        2526 drivers/md/md.c 		role = le16_to_cpu(sb->dev_roles[rdev->desc_nr]);
dev_roles        9381 drivers/md/md.c 		role = le16_to_cpu(sb->dev_roles[rdev2->desc_nr]);
dev_roles         306 include/uapi/linux/raid/md_p.h 	__le16	dev_roles[0];	/* role in array, or 0xffff for a spare, or 0xfffe for faulty */