tag | line | file | source code |
sr_template | 288 | drivers/scsi/hosts.c | scsi_register_device(&sr_template); |
sr_template | 302 | drivers/scsi/hosts.h | extern struct Scsi_Device_Template sr_template; |
sr_template | 40 | drivers/scsi/sr.c | struct Scsi_Device_Template sr_template = {NULL, "cdrom", "sr", TYPE_ROM, |
sr_template | 99 | drivers/scsi/sr.c | if (target >= sr_template.nr_dev) { |
sr_template | 276 | drivers/scsi/sr.c | if(MINOR(inode->i_rdev) >= sr_template.nr_dev || |
sr_template | 332 | drivers/scsi/sr.c | if (!SCpnt && sr_template.nr_dev > 1){ |
sr_template | 382 | drivers/scsi/sr.c | if (dev >= sr_template.nr_dev) |
sr_template | 657 | drivers/scsi/sr.c | sr_template.dev_noticed++, |
sr_template | 672 | drivers/scsi/sr.c | if (sr_template.nr_dev >= sr_template.dev_max) |
sr_template | 675 | drivers/scsi/sr.c | for(cpnt = scsi_CDs, i=0; i<sr_template.dev_max; i++, cpnt++) |
sr_template | 678 | drivers/scsi/sr.c | if(i >= sr_template.dev_max) panic ("scsi_devices corrupt (sr)"); |
sr_template | 682 | drivers/scsi/sr.c | sr_template.nr_dev++; |
sr_template | 683 | drivers/scsi/sr.c | if(sr_template.nr_dev > sr_template.dev_max) |
sr_template | 770 | drivers/scsi/sr.c | if(sr_template.dev_noticed == 0) return; |
sr_template | 782 | drivers/scsi/sr.c | sr_template.dev_max = sr_template.dev_noticed; |
sr_template | 783 | drivers/scsi/sr.c | scsi_CDs = (Scsi_CD *) scsi_init_malloc(sr_template.dev_max * sizeof(Scsi_CD)); |
sr_template | 784 | drivers/scsi/sr.c | memset(scsi_CDs, 0, sr_template.dev_max * sizeof(Scsi_CD)); |
sr_template | 786 | drivers/scsi/sr.c | sr_sizes = (int *) scsi_init_malloc(sr_template.dev_max * sizeof(int)); |
sr_template | 787 | drivers/scsi/sr.c | memset(sr_sizes, 0, sr_template.dev_max * sizeof(int)); |
sr_template | 789 | drivers/scsi/sr.c | sr_blocksizes = (int *) scsi_init_malloc(sr_template.dev_max * |
sr_template | 791 | drivers/scsi/sr.c | for(i=0;i<sr_template.dev_max;i++) sr_blocksizes[i] = 2048; |
sr_template | 800 | drivers/scsi/sr.c | for (i = 0; i < sr_template.nr_dev; ++i) |
sr_template | 100 | drivers/scsi/sr_ioctl.c | if (target >= sr_template.nr_dev || |