Searched refs:max_dev (Results 1 – 3 of 3) sorted by relevance
297 __le32 max_dev; /* size of devs[] array to consider */ member
1441 int size = 256 + le32_to_cpu(sb->max_dev)*2; in calc_sb_1_csum()1502 le32_to_cpu(sb->max_dev) > (4096-256)/2 || in super_1_load()1531 rdev->sb_size = le32_to_cpu(sb->max_dev) * 2 + 256; in super_1_load()1724 rdev->desc_nr < le32_to_cpu(sb->max_dev) && in super_1_validate()1745 rdev->desc_nr >= le32_to_cpu(sb->max_dev)) { in super_1_validate()1795 int max_dev, i; in super_1_sync() local1911 max_dev = 0; in super_1_sync()1913 if (rdev2->desc_nr+1 > max_dev) in super_1_sync()1914 max_dev = rdev2->desc_nr+1; in super_1_sync()1916 if (max_dev > le32_to_cpu(sb->max_dev)) { in super_1_sync()[all …]
83 static int max_dev = 0; variable94 module_param(max_dev, int, 0444);95 MODULE_PARM_DESC(max_dev, "Maximum number of OnStream Tape Drives to attach (4)");107 { "max_dev", &max_dev },5569 if (max_dev > 0) in validate_options()5570 osst_max_dev = max_dev; in validate_options()