Home
last modified time | relevance | path

Searched refs:MD_DISK_ROLE_MAX (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/include/uapi/linux/raid/
Dmd_p.h102 #define MD_DISK_ROLE_MAX 0xff00 /* max value of regular disk role */ macro
/linux-6.1.9/drivers/md/
Dmd.c1737 (le16_to_cpu(sb->dev_roles[rdev->desc_nr]) < MD_DISK_ROLE_MAX || in super_1_load()
1877 (le16_to_cpu(sb->dev_roles[rdev->desc_nr]) < MD_DISK_ROLE_MAX || in super_1_validate()
2624 if (test_bit(Faulty, &rdev->flags) && (role < MD_DISK_ROLE_MAX)) in does_sb_need_changing()