Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/
Dsd.c80 #define N_USED_SCSI_DISKS (sd_template.dev_max + SCSI_DISKS_PER_MAJOR - 1)
112 static struct Scsi_Device_Template sd_template = { variable
143 for (dp = rscsi_disks, i = 0; i < sd_template.dev_max; ++i, ++dp) in sd_find_target()
314 if (dev >= sd_template.dev_max || in sd_init_command()
451 SCSI_LOG_HLQUEUE(1, printk("target=%d, max=%d\n", target, sd_template.dev_max)); in sd_open()
453 if (target >= sd_template.dev_max || !rscsi_disks[target].device) in sd_open()
480 if (sd_template.module) in sd_open()
481 __MOD_INC_USE_COUNT(sd_template.module); in sd_open()
536 if (sd_template.module) in sd_open()
537 __MOD_DEC_USE_COUNT(sd_template.module); in sd_open()
[all …]