Home
last modified time | relevance | path

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

/Linux-v6.1/include/uapi/linux/raid/
Dmd_p.h297 __le32 max_dev; /* size of devs[] array to consider */ member
/Linux-v6.1/drivers/md/
Dmd.c1571 int size = 256 + le32_to_cpu(sb->max_dev)*2; in calc_sb_1_csum()
1631 le32_to_cpu(sb->max_dev) > (4096-256)/2 || in super_1_load()
1660 rdev->sb_size = le32_to_cpu(sb->max_dev) * 2 + 256; in super_1_load()
1731 rdev->desc_nr < le32_to_cpu(sb->max_dev) && in super_1_load()
1871 rdev->desc_nr < le32_to_cpu(sb->max_dev) && in super_1_validate()
1892 rdev->desc_nr >= le32_to_cpu(sb->max_dev)) { in super_1_validate()
1949 int max_dev, i; in super_1_sync() local
2065 max_dev = 0; in super_1_sync()
2067 if (rdev2->desc_nr+1 > max_dev) in super_1_sync()
2068 max_dev = rdev2->desc_nr+1; in super_1_sync()
[all …]