taglinefilesource code
scsi_CDs45drivers/scsi/sr.cScsi_CD * scsi_CDs;
scsi_CDs61drivers/scsi/sr.cif(! --scsi_CDs[MINOR(inode->i_rdev)].device->access_count)
scsi_CDs112drivers/scsi/sr.cscsi_CDs[target].device->changed = 1;
scsi_CDs117drivers/scsi/sr.cretval = scsi_CDs[target].device->changed;
scsi_CDs119drivers/scsi/sr.cscsi_CDs[target].device->changed = 0;
scsi_CDs122drivers/scsi/sr.cif (retval) scsi_CDs[target].needs_sector_size = 1;
scsi_CDs227drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->changed = 1;
scsi_CDs236drivers/scsi/sr.cif (scsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten) {
scsi_CDs237drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten = 0;
scsi_CDs261drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, 
scsi_CDs262drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->id,
scsi_CDs263drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->lun,
scsi_CDs277drivers/scsi/sr.c!scsi_CDs[MINOR(inode->i_rdev)].device) return -ENXIO;   /* No such device */
scsi_CDs284drivers/scsi/sr.cif(!scsi_CDs[MINOR(inode->i_rdev)].device->access_count++)
scsi_CDs292drivers/scsi/sr.cif(scsi_CDs[MINOR(inode->i_rdev)].needs_sector_size)
scsi_CDs321drivers/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(CURRENT->dev))].device, 0); 
scsi_CDs339drivers/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(req->dev))].device);
scsi_CDs390drivers/scsi/sr.cif (!scsi_CDs[dev].use)
scsi_CDs398drivers/scsi/sr.cif (scsi_CDs[dev].device->changed)
scsi_CDs451drivers/scsi/sr.cthis_count_max = (scsi_CDs[dev].ten ? 0xffff : 0xff) << 4;
scsi_CDs579drivers/scsi/sr.cif (scsi_CDs[dev].sector_size == 2048)
scsi_CDs586drivers/scsi/sr.cif (scsi_CDs[dev].sector_size == 512) realcount = realcount << 2;
scsi_CDs588drivers/scsi/sr.cif (((realcount > 0xff) || (block > 0x1fffff)) && scsi_CDs[dev].ten) 
scsi_CDs593drivers/scsi/sr.cthis_count = realcount * (scsi_CDs[dev].sector_size >> 9);
scsi_CDs610drivers/scsi/sr.cthis_count = realcount * (scsi_CDs[dev].sector_size >> 9);
scsi_CDs641drivers/scsi/sr.cSCpnt->transfersize = (scsi_CDs[dev].sector_size > 1024) ?
scsi_CDs642drivers/scsi/sr.c1024 : scsi_CDs[dev].sector_size;
scsi_CDs646drivers/scsi/sr.crealcount * scsi_CDs[dev].sector_size, 
scsi_CDs675drivers/scsi/sr.cfor(cpnt = scsi_CDs, i=0; i<sr_template.dev_max; i++, cpnt++) 
scsi_CDs681drivers/scsi/sr.cscsi_CDs[i].device = SDp;
scsi_CDs706drivers/scsi/sr.cSCpnt = allocate_device(NULL, scsi_CDs[i].device, 1);
scsi_CDs711drivers/scsi/sr.ccmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0;
scsi_CDs743drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
scsi_CDs744drivers/scsi/sr.cscsi_CDs[i].sector_size = 2048;  /* A guess, just in case */
scsi_CDs745drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
scsi_CDs747drivers/scsi/sr.cscsi_CDs[i].capacity = (buffer[0] << 24) |
scsi_CDs749drivers/scsi/sr.cscsi_CDs[i].sector_size = (buffer[4] << 24) |
scsi_CDs751drivers/scsi/sr.cif(scsi_CDs[i].sector_size == 0) scsi_CDs[i].sector_size = 2048;
scsi_CDs752drivers/scsi/sr.cif(scsi_CDs[i].sector_size != 2048 && 
scsi_CDs753drivers/scsi/sr.cscsi_CDs[i].sector_size != 512) {
scsi_CDs755drivers/scsi/sr.ci, scsi_CDs[i].sector_size);
scsi_CDs756drivers/scsi/sr.cscsi_CDs[i].capacity = 0;
scsi_CDs757drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
scsi_CDs759drivers/scsi/sr.cif(scsi_CDs[i].sector_size == 2048)
scsi_CDs760drivers/scsi/sr.cscsi_CDs[i].capacity *= 4;
scsi_CDs761drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 0;
scsi_CDs783drivers/scsi/sr.cscsi_CDs = (Scsi_CD *) scsi_init_malloc(sr_template.dev_max * sizeof(Scsi_CD));
scsi_CDs784drivers/scsi/sr.cmemset(scsi_CDs, 0, sr_template.dev_max * sizeof(Scsi_CD));
scsi_CDs803drivers/scsi/sr.cprintk("Scd sectorsize = %d bytes\n", scsi_CDs[i].sector_size);
scsi_CDs804drivers/scsi/sr.cscsi_CDs[i].use = 1;
scsi_CDs805drivers/scsi/sr.cscsi_CDs[i].ten = 1;
scsi_CDs806drivers/scsi/sr.cscsi_CDs[i].remap = 1;
scsi_CDs807drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
scsi_CDs816drivers/scsi/sr.cif(scsi_CDs[0].device->host->sg_tablesize)
scsi_CDs35drivers/scsi/sr.hextern Scsi_CD * scsi_CDs;
scsi_CDs42drivers/scsi/sr_ioctl.cSCpnt = allocate_device(NULL, scsi_CDs[target].device, 1);
scsi_CDs62drivers/scsi/sr_ioctl.cscsi_CDs[target].device->changed = 1;
scsi_CDs73drivers/scsi/sr_ioctl.cscsi_CDs[target].device->host->host_no, 
scsi_CDs74drivers/scsi/sr_ioctl.cscsi_CDs[target].device->id,
scsi_CDs75drivers/scsi/sr_ioctl.cscsi_CDs[target].device->lun,
scsi_CDs101drivers/scsi/sr_ioctl.c!scsi_CDs[target].device) return -ENXIO;
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_CDs212drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02;    /* MSF format */
scsi_CDs245drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1;
scsi_CDs254drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1;
scsi_CDs262drivers/scsi/sr_ioctl.cif (scsi_CDs[target].device -> access_count == 1)
scsi_CDs266drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1;
scsi_CDs271drivers/scsi/sr_ioctl.cscsi_CDs[target].device -> changed = 1;
scsi_CDs286drivers/scsi/sr_ioctl.csr_cmd[1] = (scsi_CDs[target].device -> lun) << 5;
scsi_CDs302drivers/scsi/sr_ioctl.csr_cmd[1] = (scsi_CDs[target].device -> lun) << 5;
scsi_CDs330drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10;    /* Params are SCSI-2 */
scsi_CDs347drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02;    /* MSF format */
scsi_CDs396drivers/scsi/sr_ioctl.creturn scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg);