taglinefilesource code
scsi_CDs36drivers/scsi/sr.cScsi_CD * scsi_CDs;
scsi_CDs51drivers/scsi/sr.cif(! --scsi_CDs[MINOR(inode->i_rdev)].device->access_count)
scsi_CDs98drivers/scsi/sr.cscsi_CDs[target].device->changed = 1;
scsi_CDs103drivers/scsi/sr.cretval = scsi_CDs[target].device->changed;
scsi_CDs104drivers/scsi/sr.cif(!flag) scsi_CDs[target].device->changed = 0;
scsi_CDs208drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->changed = 1;
scsi_CDs217drivers/scsi/sr.cif (scsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten) {
scsi_CDs218drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten = 0;
scsi_CDs242drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, 
scsi_CDs243drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->id,
scsi_CDs244drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->lun,
scsi_CDs258drivers/scsi/sr.c!scsi_CDs[MINOR(inode->i_rdev)].device) return -ENODEV;   /* No such device */
scsi_CDs262drivers/scsi/sr.cif(!scsi_CDs[MINOR(inode->i_rdev)].device->access_count++)
scsi_CDs270drivers/scsi/sr.cif(scsi_CDs[MINOR(inode->i_rdev)].needs_sector_size)
scsi_CDs299drivers/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(CURRENT->dev))].device->index, 0); 
scsi_CDs317drivers/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(req->dev))].device->index);
scsi_CDs368drivers/scsi/sr.cif (!scsi_CDs[dev].use)
scsi_CDs376drivers/scsi/sr.cif (scsi_CDs[dev].device->changed)
scsi_CDs429drivers/scsi/sr.cthis_count_max = (scsi_CDs[dev].ten ? 0xffff : 0xff) << 4;
scsi_CDs557drivers/scsi/sr.cif (scsi_CDs[dev].sector_size == 2048)
scsi_CDs564drivers/scsi/sr.cif (scsi_CDs[dev].sector_size == 512) realcount = realcount << 2;
scsi_CDs566drivers/scsi/sr.cif (((realcount > 0xff) || (block > 0x1fffff)) && scsi_CDs[dev].ten) 
scsi_CDs571drivers/scsi/sr.cthis_count = realcount * (scsi_CDs[dev].sector_size >> 9);
scsi_CDs588drivers/scsi/sr.cthis_count = realcount * (scsi_CDs[dev].sector_size >> 9);
scsi_CDs611drivers/scsi/sr.crealcount * scsi_CDs[dev].sector_size, 
scsi_CDs616drivers/scsi/sr.cscsi_CDs = (Scsi_CD *) mem_start;
scsi_CDs622drivers/scsi/sr.cscsi_CDs[NR_SR++].device = SDp;
scsi_CDs648drivers/scsi/sr.cSCpnt = allocate_device(NULL, scsi_CDs[i].device->index, 1);
scsi_CDs653drivers/scsi/sr.ccmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0;
scsi_CDs681drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
scsi_CDs682drivers/scsi/sr.cscsi_CDs[i].sector_size = 2048;  /* A guess, just in case */
scsi_CDs683drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
scsi_CDs685drivers/scsi/sr.cscsi_CDs[i].capacity = (buffer[0] << 24) |
scsi_CDs687drivers/scsi/sr.cscsi_CDs[i].sector_size = (buffer[4] << 24) |
scsi_CDs689drivers/scsi/sr.cif(scsi_CDs[i].sector_size == 0) scsi_CDs[i].sector_size = 2048;
scsi_CDs690drivers/scsi/sr.cif(scsi_CDs[i].sector_size != 2048 && 
scsi_CDs691drivers/scsi/sr.cscsi_CDs[i].sector_size != 512) {
scsi_CDs693drivers/scsi/sr.ci, scsi_CDs[i].sector_size);
scsi_CDs694drivers/scsi/sr.cscsi_CDs[i].capacity = 0;
scsi_CDs696drivers/scsi/sr.cif(scsi_CDs[i].sector_size == 2048)
scsi_CDs697drivers/scsi/sr.cscsi_CDs[i].capacity *= 4;
scsi_CDs698drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 0;
scsi_CDs724drivers/scsi/sr.cprintk("Scd sectorsize = %d bytes\n", scsi_CDs[i].sector_size);
scsi_CDs725drivers/scsi/sr.cscsi_CDs[i].use = 1;
scsi_CDs726drivers/scsi/sr.cscsi_CDs[i].ten = 1;
scsi_CDs727drivers/scsi/sr.cscsi_CDs[i].remap = 1;
scsi_CDs728drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
scsi_CDs737drivers/scsi/sr.cif(scsi_CDs[0].device->host->sg_tablesize)
scsi_CDs35drivers/scsi/sr.hextern Scsi_CD * scsi_CDs;
scsi_CDs46drivers/scsi/sr_ioctl.cSCpnt = allocate_device(NULL, scsi_CDs[target].device->index, 1);
scsi_CDs64drivers/scsi/sr_ioctl.cscsi_CDs[target].device->changed = 1;
scsi_CDs75drivers/scsi/sr_ioctl.cscsi_CDs[target].device->host->host_no, 
scsi_CDs76drivers/scsi/sr_ioctl.cscsi_CDs[target].device->id,
scsi_CDs77drivers/scsi/sr_ioctl.cscsi_CDs[target].device->lun,
scsi_CDs109drivers/scsi/sr_ioctl.csr_cmd[1] = scsi_CDs[target].device->lun << 5;
scsi_CDs121drivers/scsi/sr_ioctl.csr_cmd[1] = scsi_CDs[target].device->lun << 5;
scsi_CDs137drivers/scsi/sr_ioctl.csr_cmd[1] = scsi_CDs[target].device->lun << 5;
scsi_CDs157drivers/scsi/sr_ioctl.csr_cmd[1] = scsi_CDs[target].device->lun << 5;
scsi_CDs178drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02;    /* MSF format */
scsi_CDs210drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02;    /* MSF format */
scsi_CDs241drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1;
scsi_CDs250drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1;
scsi_CDs258drivers/scsi/sr_ioctl.cif (scsi_CDs[target].device -> access_count == 1)
scsi_CDs262drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1;
scsi_CDs267drivers/scsi/sr_ioctl.cscsi_CDs[target].device -> changed = 1;
scsi_CDs282drivers/scsi/sr_ioctl.csr_cmd[1] = (scsi_CDs[target].device -> lun) << 5;
scsi_CDs298drivers/scsi/sr_ioctl.csr_cmd[1] = (scsi_CDs[target].device -> lun) << 5;
scsi_CDs325drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10;    /* Params are SCSI-2 */
scsi_CDs342drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02;    /* MSF format */
scsi_CDs383drivers/scsi/sr_ioctl.creturn scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg);