Searched refs:sr_template (Results 1 – 1 of 1) sorted by relevance
72 static struct Scsi_Device_Template sr_template = variable107 if (sr_template.module) in sr_release()108 __MOD_DEC_USE_COUNT(sr_template.module); in sr_release()278 if (MINOR(dev) >= sr_template.dev_max || !scsi_CDs[MINOR(dev)].device) in sr_find_queue()395 if (dev >= sr_template.nr_dev || in sr_init_command()523 if (MINOR(cdi->dev) >= sr_template.dev_max in sr_open()537 if (sr_template.module) in sr_open()538 __MOD_INC_USE_COUNT(sr_template.module); in sr_open()556 sr_template.dev_noticed++; in sr_detect()568 if (sr_template.nr_dev >= sr_template.dev_max) { in sr_attach()[all …]