tag | line | file | source code |
scsi_CDs | 36 | kernel/blk_drv/scsi/sr.c | Scsi_CD * scsi_CDs; |
scsi_CDs | 48 | kernel/blk_drv/scsi/sr.c | if(! --scsi_CDs[MINOR(inode->i_rdev)].device->access_count) |
scsi_CDs | 94 | kernel/blk_drv/scsi/sr.c | scsi_CDs[target].device->changed = 1; |
scsi_CDs | 99 | kernel/blk_drv/scsi/sr.c | retval = scsi_CDs[target].device->changed; |
scsi_CDs | 100 | kernel/blk_drv/scsi/sr.c | if(!flag) scsi_CDs[target].device->changed = 0; |
scsi_CDs | 207 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->changed = 1; |
scsi_CDs | 216 | kernel/blk_drv/scsi/sr.c | if (scsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten) { |
scsi_CDs | 217 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten = 0; |
scsi_CDs | 241 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->host_no, |
scsi_CDs | 242 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->id, |
scsi_CDs | 243 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->lun, |
scsi_CDs | 260 | kernel/blk_drv/scsi/sr.c | !scsi_CDs[MINOR(inode->i_rdev)].device) return -ENODEV; /* No such device */ |
scsi_CDs | 264 | kernel/blk_drv/scsi/sr.c | if(!scsi_CDs[MINOR(inode->i_rdev)].device->access_count++) |
scsi_CDs | 292 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(MINOR(CURRENT->dev))].device->index, 0); |
scsi_CDs | 311 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(MINOR(req->dev))].device->index); |
scsi_CDs | 360 | kernel/blk_drv/scsi/sr.c | if (!scsi_CDs[dev].use) |
scsi_CDs | 368 | kernel/blk_drv/scsi/sr.c | if (scsi_CDs[dev].device->changed) |
scsi_CDs | 422 | kernel/blk_drv/scsi/sr.c | this_count_max = (scsi_CDs[dev].ten ? 0xffff : 0xff) << 4; |
scsi_CDs | 550 | kernel/blk_drv/scsi/sr.c | if (scsi_CDs[dev].sector_size == 2048) |
scsi_CDs | 557 | kernel/blk_drv/scsi/sr.c | if (scsi_CDs[dev].sector_size == 512) realcount = realcount << 2; |
scsi_CDs | 559 | kernel/blk_drv/scsi/sr.c | if (((realcount > 0xff) || (block > 0x1fffff)) && scsi_CDs[dev].ten) |
scsi_CDs | 564 | kernel/blk_drv/scsi/sr.c | this_count = realcount * (scsi_CDs[dev].sector_size >> 9); |
scsi_CDs | 581 | kernel/blk_drv/scsi/sr.c | this_count = realcount * (scsi_CDs[dev].sector_size >> 9); |
scsi_CDs | 597 | kernel/blk_drv/scsi/sr.c | realcount * scsi_CDs[dev].sector_size, |
scsi_CDs | 602 | kernel/blk_drv/scsi/sr.c | scsi_CDs = (Scsi_CD *) mem_start; |
scsi_CDs | 608 | kernel/blk_drv/scsi/sr.c | scsi_CDs[NR_SR++].device = SDp; |
scsi_CDs | 648 | kernel/blk_drv/scsi/sr.c | SCpnt = allocate_device(NULL, scsi_CDs[i].device->index, 1); |
scsi_CDs | 653 | kernel/blk_drv/scsi/sr.c | cmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0; |
scsi_CDs | 680 | kernel/blk_drv/scsi/sr.c | scsi_CDs[i].capacity = 0x1fffff; |
scsi_CDs | 681 | kernel/blk_drv/scsi/sr.c | scsi_CDs[i].sector_size = 2048; |
scsi_CDs | 683 | kernel/blk_drv/scsi/sr.c | scsi_CDs[i].capacity = (buffer[0] << 24) | |
scsi_CDs | 685 | kernel/blk_drv/scsi/sr.c | scsi_CDs[i].sector_size = (buffer[4] << 24) | |
scsi_CDs | 687 | kernel/blk_drv/scsi/sr.c | if(scsi_CDs[i].sector_size != 2048 && |
scsi_CDs | 688 | kernel/blk_drv/scsi/sr.c | scsi_CDs[i].sector_size != 512) { |
scsi_CDs | 690 | kernel/blk_drv/scsi/sr.c | i, scsi_CDs[i].sector_size); |
scsi_CDs | 691 | kernel/blk_drv/scsi/sr.c | scsi_CDs[i].capacity = 0; |
scsi_CDs | 693 | kernel/blk_drv/scsi/sr.c | if(scsi_CDs[i].sector_size == 2048) |
scsi_CDs | 694 | kernel/blk_drv/scsi/sr.c | scsi_CDs[i].capacity *= 4; |
scsi_CDs | 697 | kernel/blk_drv/scsi/sr.c | printk("Scd sectorsize = %d bytes\n", scsi_CDs[i].sector_size); |
scsi_CDs | 698 | kernel/blk_drv/scsi/sr.c | scsi_CDs[i].use = 1; |
scsi_CDs | 699 | kernel/blk_drv/scsi/sr.c | scsi_CDs[i].ten = 1; |
scsi_CDs | 700 | kernel/blk_drv/scsi/sr.c | scsi_CDs[i].remap = 1; |
scsi_CDs | 701 | kernel/blk_drv/scsi/sr.c | sr_sizes[i] = scsi_CDs[i].capacity; |
scsi_CDs | 710 | kernel/blk_drv/scsi/sr.c | if(scsi_hosts[scsi_CDs[0].device->host_no].sg_tablesize) |
scsi_CDs | 34 | kernel/blk_drv/scsi/sr.h | extern Scsi_CD * scsi_CDs; |
scsi_CDs | 45 | kernel/blk_drv/scsi/sr_ioctl.c | SCpnt = allocate_device(NULL, scsi_CDs[target].device->index, 1); |
scsi_CDs | 63 | kernel/blk_drv/scsi/sr_ioctl.c | scsi_CDs[target].device->changed = 1; |
scsi_CDs | 74 | kernel/blk_drv/scsi/sr_ioctl.c | scsi_CDs[target].device->host_no, |
scsi_CDs | 75 | kernel/blk_drv/scsi/sr_ioctl.c | scsi_CDs[target].device->id, |
scsi_CDs | 76 | kernel/blk_drv/scsi/sr_ioctl.c | scsi_CDs[target].device->lun, |
scsi_CDs | 108 | kernel/blk_drv/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
scsi_CDs | 120 | kernel/blk_drv/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
scsi_CDs | 136 | kernel/blk_drv/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
scsi_CDs | 156 | kernel/blk_drv/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
scsi_CDs | 177 | kernel/blk_drv/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
scsi_CDs | 204 | kernel/blk_drv/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
scsi_CDs | 230 | kernel/blk_drv/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
scsi_CDs | 239 | kernel/blk_drv/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
scsi_CDs | 247 | kernel/blk_drv/scsi/sr_ioctl.c | if (scsi_CDs[target].device -> access_count == 1) |
scsi_CDs | 251 | kernel/blk_drv/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1; |
scsi_CDs | 256 | kernel/blk_drv/scsi/sr_ioctl.c | scsi_CDs[target].device -> changed = 1; |
scsi_CDs | 271 | kernel/blk_drv/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
scsi_CDs | 283 | kernel/blk_drv/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
scsi_CDs | 302 | kernel/blk_drv/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10; /* Params are SCSI-2 */ |
scsi_CDs | 317 | kernel/blk_drv/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
scsi_CDs | 353 | kernel/blk_drv/scsi/sr_ioctl.c | return scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg); |