Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/raid/
Dmd_p.h255 __le32 max_dev; /* size of devs[] array to consider */ member
/linux-2.6.39/drivers/md/
Dmd.c1377 int size = 256 + le32_to_cpu(sb->max_dev)*2; in calc_sb_1_csum()
1439 le32_to_cpu(sb->max_dev) > (4096-256)/2 || in super_1_load()
1459 rdev->sb_size = le32_to_cpu(sb->max_dev) * 2 + 256; in super_1_load()
1566 rdev->desc_nr < le32_to_cpu(sb->max_dev) && in super_1_validate()
1584 rdev->desc_nr >= le32_to_cpu(sb->max_dev)) { in super_1_validate()
1616 int max_dev, i; in super_1_sync() local
1665 max_dev = 0; in super_1_sync()
1667 if (rdev2->desc_nr+1 > max_dev) in super_1_sync()
1668 max_dev = rdev2->desc_nr+1; in super_1_sync()
1670 if (max_dev > le32_to_cpu(sb->max_dev)) { in super_1_sync()
[all …]
/linux-2.6.39/drivers/scsi/
Dosst.c84 static int max_dev = 0; variable
95 module_param(max_dev, int, 0444);
96 MODULE_PARM_DESC(max_dev, "Maximum number of OnStream Tape Drives to attach (4)");
108 { "max_dev", &max_dev },
5564 if (max_dev > 0) in validate_options()
5565 osst_max_dev = max_dev; in validate_options()