Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/
Dsd.c75 #define SCSI_DISKS_PER_MAJOR 16 macro
80 #define N_USED_SCSI_DISKS (sd_template.dev_max + SCSI_DISKS_PER_MAJOR - 1)
81 #define N_USED_SD_MAJORS (N_USED_SCSI_DISKS / SCSI_DISKS_PER_MAJOR)
589 #define SD_GENDISK(i) sd_gendisks[(i) / SCSI_DISKS_PER_MAJOR]
1139 if (sd_template.dev_max > N_SD_MAJORS * SCSI_DISKS_PER_MAJOR) in sd_init()
1140 sd_template.dev_max = N_SD_MAJORS * SCSI_DISKS_PER_MAJOR; in sd_init()
1191 blksize_size[SD_MAJOR(i)] = sd_blocksizes + i * (SCSI_DISKS_PER_MAJOR << 4); in sd_init()
1192 hardsect_size[SD_MAJOR(i)] = sd_hardsizes + i * (SCSI_DISKS_PER_MAJOR << 4); in sd_init()
1193 max_sectors[SD_MAJOR(i)] = sd_max_sectors + i * (SCSI_DISKS_PER_MAJOR << 4); in sd_init()
1201 sd_gendisks[i].de_arr = kmalloc (SCSI_DISKS_PER_MAJOR * sizeof *sd_gendisks[i].de_arr, in sd_init()
[all …]