Home
last modified time | relevance | path

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

/drivers/md/
Dmd.c1050 int size = 256 + le32_to_cpu(sb->max_dev)*2; in calc_sb_1_csum()
1112 le32_to_cpu(sb->max_dev) > (4096-256)/2 || in super_1_load()
1143 rdev->sb_size = le32_to_cpu(sb->max_dev) * 2 + 256; in super_1_load()
1293 int max_dev, i; in super_1_sync() local
1338 max_dev = 0; in super_1_sync()
1340 if (rdev2->desc_nr+1 > max_dev) in super_1_sync()
1341 max_dev = rdev2->desc_nr+1; in super_1_sync()
1343 if (max_dev > le32_to_cpu(sb->max_dev)) in super_1_sync()
1344 sb->max_dev = cpu_to_le32(max_dev); in super_1_sync()
1345 for (i=0; i<max_dev;i++) in super_1_sync()
[all …]
/drivers/scsi/
Dosst.c82 static int max_dev = 0; variable
93 module_param(max_dev, int, 0444);
94 MODULE_PARM_DESC(max_dev, "Maximum number of OnStream Tape Drives to attach (4)");
106 { "max_dev", &max_dev },
5486 if (max_dev > 0) in validate_options()
5487 osst_max_dev = max_dev; in validate_options()