taglinefilesource code
scsi_CDs51drivers/scsi/sr.cScsi_CD * scsi_CDs;
scsi_CDs67drivers/scsi/sr.cif(! --scsi_CDs[MINOR(inode->i_rdev)].device->access_count)
scsi_CDs69drivers/scsi/sr.cif (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)
scsi_CDs70drivers/scsi/sr.c(*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)--;
scsi_CDs120drivers/scsi/sr.cscsi_CDs[target].device->changed = 1;
scsi_CDs125drivers/scsi/sr.cretval = scsi_CDs[target].device->changed;
scsi_CDs127drivers/scsi/sr.cscsi_CDs[target].device->changed = 0;
scsi_CDs130drivers/scsi/sr.cif (retval) scsi_CDs[target].needs_sector_size = 1;
scsi_CDs235drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->changed = 1;
scsi_CDs247drivers/scsi/sr.cif (scsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten) {
scsi_CDs248drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten = 0;
scsi_CDs271drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, 
scsi_CDs272drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->id,
scsi_CDs273drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->lun,
scsi_CDs310drivers/scsi/sr.cif (scsi_CDs[MINOR(inode->i_rdev)].xa_flags & 0x02) {
scsi_CDs324drivers/scsi/sr.cif (1 == scsi_CDs[MINOR(inode->i_rdev)].device->access_count) {
scsi_CDs325drivers/scsi/sr.cscsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = 0;
scsi_CDs326drivers/scsi/sr.cscsi_CDs[MINOR(inode->i_rdev)].xa_flags &= ~0x01;
scsi_CDs336drivers/scsi/sr.cswitch(scsi_CDs[MINOR(inode->i_rdev)].device->manufacturer) {
scsi_CDs348drivers/scsi/sr.crc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device,
scsi_CDs383drivers/scsi/sr.crc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device,
scsi_CDs390drivers/scsi/sr.cif (kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device,
scsi_CDs420drivers/scsi/sr.crc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device,
scsi_CDs445drivers/scsi/sr.crc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device,
scsi_CDs451drivers/scsi/sr.cscsi_CDs[MINOR(inode->i_rdev)].needs_sector_size = 1;
scsi_CDs462drivers/scsi/sr.cscsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = sector;
scsi_CDs464drivers/scsi/sr.cscsi_CDs[MINOR(inode->i_rdev)].xa_flags |= 0x01;
scsi_CDs466drivers/scsi/sr.cscsi_CDs[MINOR(inode->i_rdev)].xa_flags &= ~0x01;
scsi_CDs468drivers/scsi/sr.cscsi_CDs[MINOR(inode->i_rdev)].xa_flags |= 0x02;
scsi_CDs475drivers/scsi/sr.c!scsi_CDs[MINOR(inode->i_rdev)].device) return -ENXIO;   /* No such device */
scsi_CDs482drivers/scsi/sr.cif(!scsi_CDs[MINOR(inode->i_rdev)].device->access_count++)
scsi_CDs484drivers/scsi/sr.cif (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)
scsi_CDs485drivers/scsi/sr.c(*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)++;
scsi_CDs494drivers/scsi/sr.cif(scsi_CDs[MINOR(inode->i_rdev)].needs_sector_size)
scsi_CDs525drivers/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(CURRENT->dev))].device, 0); 
scsi_CDs544drivers/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(req->dev))].device);
scsi_CDs595drivers/scsi/sr.cif (!scsi_CDs[dev].use)
scsi_CDs603drivers/scsi/sr.cif (scsi_CDs[dev].device->changed)
scsi_CDs656drivers/scsi/sr.cthis_count_max = (scsi_CDs[dev].ten ? 0xffff : 0xff) << 4;
scsi_CDs784drivers/scsi/sr.cif (scsi_CDs[dev].sector_size == 2048)
scsi_CDs791drivers/scsi/sr.cif (scsi_CDs[dev].sector_size == 512) realcount = realcount << 2;
scsi_CDs793drivers/scsi/sr.cif (((realcount > 0xff) || (block > 0x1fffff)) && scsi_CDs[dev].ten) 
scsi_CDs798drivers/scsi/sr.cthis_count = realcount * (scsi_CDs[dev].sector_size >> 9);
scsi_CDs815drivers/scsi/sr.cthis_count = realcount * (scsi_CDs[dev].sector_size >> 9);
scsi_CDs846drivers/scsi/sr.cSCpnt->transfersize = (scsi_CDs[dev].sector_size > 1024) ?
scsi_CDs847drivers/scsi/sr.c1024 : scsi_CDs[dev].sector_size;
scsi_CDs851drivers/scsi/sr.crealcount * scsi_CDs[dev].sector_size, 
scsi_CDs878drivers/scsi/sr.cfor(cpnt = scsi_CDs, i=0; i<sr_template.dev_max; i++, cpnt++) 
scsi_CDs884drivers/scsi/sr.cscsi_CDs[i].device = SDp;
scsi_CDs911drivers/scsi/sr.cSCpnt = allocate_device(NULL, scsi_CDs[i].device, 1);
scsi_CDs916drivers/scsi/sr.ccmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0;
scsi_CDs949drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
scsi_CDs950drivers/scsi/sr.cscsi_CDs[i].sector_size = 2048;  /* A guess, just in case */
scsi_CDs951drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
scsi_CDs953drivers/scsi/sr.cscsi_CDs[i].capacity = (buffer[0] << 24) |
scsi_CDs955drivers/scsi/sr.cscsi_CDs[i].sector_size = (buffer[4] << 24) |
scsi_CDs957drivers/scsi/sr.cif(scsi_CDs[i].sector_size == 0) scsi_CDs[i].sector_size = 2048;
scsi_CDs958drivers/scsi/sr.cif(scsi_CDs[i].sector_size != 2048 && 
scsi_CDs959drivers/scsi/sr.cscsi_CDs[i].sector_size != 512) {
scsi_CDs961drivers/scsi/sr.ci, scsi_CDs[i].sector_size);
scsi_CDs962drivers/scsi/sr.cscsi_CDs[i].capacity = 0;
scsi_CDs963drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
scsi_CDs965drivers/scsi/sr.cif(scsi_CDs[i].sector_size == 2048)
scsi_CDs966drivers/scsi/sr.cscsi_CDs[i].capacity *= 4;
scsi_CDs967drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 0;
scsi_CDs968drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
scsi_CDs989drivers/scsi/sr.cif (scsi_CDs) return;
scsi_CDs991drivers/scsi/sr.cscsi_CDs = (Scsi_CD *) scsi_init_malloc(sr_template.dev_max * sizeof(Scsi_CD), GFP_ATOMIC);
scsi_CDs992drivers/scsi/sr.cmemset(scsi_CDs, 0, sr_template.dev_max * sizeof(Scsi_CD));
scsi_CDs1015drivers/scsi/sr.cif (scsi_CDs[i].capacity) continue;
scsi_CDs1016drivers/scsi/sr.cscsi_CDs[i].capacity = 0x1fffff;
scsi_CDs1017drivers/scsi/sr.cscsi_CDs[i].sector_size = 2048;  /* A guess, just in case */
scsi_CDs1018drivers/scsi/sr.cscsi_CDs[i].needs_sector_size = 1;
scsi_CDs1022drivers/scsi/sr.cprintk("Scd sectorsize = %d bytes.\n", scsi_CDs[i].sector_size);
scsi_CDs1024drivers/scsi/sr.cscsi_CDs[i].use = 1;
scsi_CDs1025drivers/scsi/sr.cscsi_CDs[i].ten = 1;
scsi_CDs1026drivers/scsi/sr.cscsi_CDs[i].remap = 1;
scsi_CDs1027drivers/scsi/sr.csr_sizes[i] = scsi_CDs[i].capacity;
scsi_CDs1034drivers/scsi/sr.cif(scsi_CDs[0].device && scsi_CDs[0].device->host->sg_tablesize)
scsi_CDs1049drivers/scsi/sr.cfor(cpnt = scsi_CDs, i=0; i<sr_template.dev_max; i++, cpnt++) 
scsi_CDs37drivers/scsi/sr.hextern Scsi_CD * scsi_CDs;
scsi_CDs44drivers/scsi/sr_ioctl.cSCpnt = allocate_device(NULL, scsi_CDs[target].device, 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_CDs103drivers/scsi/sr_ioctl.c!scsi_CDs[target].device) return -ENXIO;
scsi_CDs111drivers/scsi/sr_ioctl.csr_cmd[1] = scsi_CDs[target].device->lun << 5;
scsi_CDs123drivers/scsi/sr_ioctl.csr_cmd[1] = scsi_CDs[target].device->lun << 5;
scsi_CDs139drivers/scsi/sr_ioctl.csr_cmd[1] = scsi_CDs[target].device->lun << 5;
scsi_CDs159drivers/scsi/sr_ioctl.csr_cmd[1] = scsi_CDs[target].device->lun << 5;
scsi_CDs180drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02;    /* MSF format */
scsi_CDs214drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02;    /* MSF format */
scsi_CDs247drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1;
scsi_CDs256drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1;
scsi_CDs264drivers/scsi/sr_ioctl.cif (scsi_CDs[target].device -> access_count == 1)
scsi_CDs268drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1;
scsi_CDs273drivers/scsi/sr_ioctl.cscsi_CDs[target].device -> changed = 1;
scsi_CDs288drivers/scsi/sr_ioctl.csr_cmd[1] = (scsi_CDs[target].device -> lun) << 5;
scsi_CDs304drivers/scsi/sr_ioctl.csr_cmd[1] = (scsi_CDs[target].device -> lun) << 5;
scsi_CDs332drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10;    /* Params are SCSI-2 */
scsi_CDs349drivers/scsi/sr_ioctl.csr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02;    /* MSF format */
scsi_CDs403drivers/scsi/sr_ioctl.clba = scsi_CDs[target].mpcd_sector+CD_BLOCK_OFFSET;
scsi_CDs409drivers/scsi/sr_ioctl.cms_info.addr.lba=scsi_CDs[target].mpcd_sector;
scsi_CDs412drivers/scsi/sr_ioctl.cms_info.xa_flag=scsi_CDs[target].xa_flags & 0x01;
scsi_CDs430drivers/scsi/sr_ioctl.creturn scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg);