taglinefilesource code
rscsi_disks69drivers/scsi/sd.cScsi_Disk * rscsi_disks = NULL;
rscsi_disks101drivers/scsi/sd.cif(target >= sd_template.dev_max || !rscsi_disks[target].device)
rscsi_disks110drivers/scsi/sd.cwhile (rscsi_disks[target].device->busy)
rscsi_disks112drivers/scsi/sd.cif(rscsi_disks[target].device->removable) {
rscsi_disks118drivers/scsi/sd.cif ( !rscsi_disks[target].ready ) {
rscsi_disks127drivers/scsi/sd.cif ( (rscsi_disks[target].write_prot) && (filp->f_mode & 2) ) { 
rscsi_disks131drivers/scsi/sd.cif(!rscsi_disks[target].device->access_count)
rscsi_disks142drivers/scsi/sd.crscsi_disks[target].device->access_count++;
rscsi_disks143drivers/scsi/sd.cif (rscsi_disks[target].device->host->hostt->usage_count)
rscsi_disks144drivers/scsi/sd.c(*rscsi_disks[target].device->host->hostt->usage_count)++;
rscsi_disks156drivers/scsi/sd.crscsi_disks[target].device->access_count--;
rscsi_disks157drivers/scsi/sd.cif (rscsi_disks[target].device->host->hostt->usage_count)
rscsi_disks158drivers/scsi/sd.c(*rscsi_disks[target].device->host->hostt->usage_count)--;
rscsi_disks161drivers/scsi/sd.cif(rscsi_disks[target].device->removable) {
rscsi_disks162drivers/scsi/sd.cif(!rscsi_disks[target].device->access_count)
rscsi_disks204drivers/scsi/sd.cif(rscsi_disks[i].device) 
rscsi_disks205drivers/scsi/sd.csd[i << 4].nr_sects = rscsi_disks[i].capacity;
rscsi_disks337drivers/scsi/sd.cif rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].remap
rscsi_disks347drivers/scsi/sd.cif(rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->removable) {
rscsi_disks351drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->changed = 1;
rscsi_disks378drivers/scsi/sd.cif (rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].ten) {
rscsi_disks379drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].ten = 0;
rscsi_disks389drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->host->host_no,
rscsi_disks390drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->channel,
rscsi_disks391drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->id,
rscsi_disks392drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->lun, result);
rscsi_disks425drivers/scsi/sd.cSDev = rscsi_disks[DEVICE_NR(CURRENT->rq_dev)].device;
rscsi_disks462drivers/scsi/sd.crscsi_disks[DEVICE_NR(CURRENT->rq_dev)].device, 0); 
rscsi_disks487drivers/scsi/sd.cSCpnt = request_queueable(req, rscsi_disks[DEVICE_NR(req->rq_dev)].device);
rscsi_disks535drivers/scsi/sd.c!rscsi_disks[dev].device ||
rscsi_disks544drivers/scsi/sd.cif (rscsi_disks[dev].device->changed)
rscsi_disks571drivers/scsi/sd.cif (rscsi_disks[dev].sector_size == 1024)
rscsi_disks581drivers/scsi/sd.cif (!rscsi_disks[dev].device->writeable)
rscsi_disks661drivers/scsi/sd.cthis_count_max = (rscsi_disks[dev].ten ? 0xffff : 0xff);
rscsi_disks845drivers/scsi/sd.cif (rscsi_disks[dev].sector_size == 1024){
rscsi_disks852drivers/scsi/sd.cif (rscsi_disks[dev].sector_size == 256){
rscsi_disks857drivers/scsi/sd.cif (((this_count > 0xff) ||  (block > 0x1fffff)) && rscsi_disks[dev].ten)
rscsi_disks889drivers/scsi/sd.cSCpnt->transfersize = rscsi_disks[dev].sector_size;
rscsi_disks892drivers/scsi/sd.cthis_count * rscsi_disks[dev].sector_size,
rscsi_disks908drivers/scsi/sd.c!rscsi_disks[target].device) {
rscsi_disks913drivers/scsi/sd.cif(!rscsi_disks[target].device->removable) return 0;
rscsi_disks923drivers/scsi/sd.crscsi_disks[target].ready = 0;
rscsi_disks924drivers/scsi/sd.crscsi_disks[target].device->changed = 1;
rscsi_disks935drivers/scsi/sd.crscsi_disks[target].ready = 1;  /* FLOPTICAL */
rscsi_disks937drivers/scsi/sd.cretval = rscsi_disks[target].device->changed;
rscsi_disks938drivers/scsi/sd.cif(!flag) rscsi_disks[target].device->changed = 0;
rscsi_disks967drivers/scsi/sd.cSCpnt = allocate_device(NULL, rscsi_disks[i].device, 1);
rscsi_disks979drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
rscsi_disks1006drivers/scsi/sd.cif(the_result && !rscsi_disks[i].device->removable && 
rscsi_disks1012drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
rscsi_disks1052drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
rscsi_disks1114drivers/scsi/sd.crscsi_disks[i].capacity = 0x1fffff;
rscsi_disks1115drivers/scsi/sd.crscsi_disks[i].sector_size = 512;
rscsi_disks1119drivers/scsi/sd.cif(rscsi_disks[i].device->removable && 
rscsi_disks1121drivers/scsi/sd.crscsi_disks[i].device->changed = 1;
rscsi_disks1129drivers/scsi/sd.crscsi_disks[i].ready = 1;
rscsi_disks1131drivers/scsi/sd.crscsi_disks[i].capacity = (buffer[0] << 24) |
rscsi_disks1136drivers/scsi/sd.crscsi_disks[i].sector_size = (buffer[4] << 24) |
rscsi_disks1139drivers/scsi/sd.cif (rscsi_disks[i].sector_size != 512 &&
rscsi_disks1140drivers/scsi/sd.crscsi_disks[i].sector_size != 1024 &&
rscsi_disks1141drivers/scsi/sd.crscsi_disks[i].sector_size != 256)
rscsi_disks1144drivers/scsi/sd.c'a' + i, rscsi_disks[i].sector_size);
rscsi_disks1145drivers/scsi/sd.cif(rscsi_disks[i].device->removable){
rscsi_disks1146drivers/scsi/sd.crscsi_disks[i].capacity = 0;
rscsi_disks1149drivers/scsi/sd.crscsi_disks[i].device = NULL;
rscsi_disks1161drivers/scsi/sd.cint hard_sector = rscsi_disks[i].sector_size;
rscsi_disks1169drivers/scsi/sd.cif(rscsi_disks[i].sector_size == 1024)
rscsi_disks1170drivers/scsi/sd.crscsi_disks[i].capacity <<= 1;  /* Change into 512 byte sectors */
rscsi_disks1171drivers/scsi/sd.cif(rscsi_disks[i].sector_size == 256)
rscsi_disks1172drivers/scsi/sd.crscsi_disks[i].capacity >>= 1;  /* Change into 512 byte sectors */
rscsi_disks1179drivers/scsi/sd.crscsi_disks[i].write_prot = 0;
rscsi_disks1180drivers/scsi/sd.cif ( rscsi_disks[i].device->removable && rscsi_disks[i].ready ) {
rscsi_disks1192drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
rscsi_disks1217drivers/scsi/sd.crscsi_disks[i].write_prot = 1;
rscsi_disks1219drivers/scsi/sd.crscsi_disks[i].write_prot = ((buffer[2] & 0x80) != 0);
rscsi_disks1221drivers/scsi/sd.crscsi_disks[i].write_prot ? "on" : "off");
rscsi_disks1226drivers/scsi/sd.crscsi_disks[i].ten = 1;
rscsi_disks1227drivers/scsi/sd.crscsi_disks[i].remap = 1;
rscsi_disks1254drivers/scsi/sd.cif(rscsi_disks) return 0;
rscsi_disks1258drivers/scsi/sd.crscsi_disks = (Scsi_Disk *) 
rscsi_disks1260drivers/scsi/sd.cmemset(rscsi_disks, 0, sd_template.dev_max * sizeof(Scsi_Disk));
rscsi_disks1286drivers/scsi/sd.csd_gendisk.real_devices = (void *) rscsi_disks;
rscsi_disks1300drivers/scsi/sd.cif (!rscsi_disks[i].capacity && 
rscsi_disks1301drivers/scsi/sd.crscsi_disks[i].device)
rscsi_disks1305drivers/scsi/sd.c&& !rscsi_disks[i].has_part_table) {
rscsi_disks1306drivers/scsi/sd.csd_sizes[i << 4] = rscsi_disks[i].capacity;
rscsi_disks1309drivers/scsi/sd.crscsi_disks[i].has_part_table = 1;
rscsi_disks1316drivers/scsi/sd.cif(rscsi_disks[0].device && rscsi_disks[0].device->host->sg_tablesize)
rscsi_disks1345drivers/scsi/sd.cfor(dpnt = rscsi_disks, i=0; i<sd_template.dev_max; i++, dpnt++) 
rscsi_disks1351drivers/scsi/sd.crscsi_disks[i].device = SDp;
rscsi_disks1352drivers/scsi/sd.crscsi_disks[i].has_part_table = 0;
rscsi_disks1358drivers/scsi/sd.c#define DEVICE_BUSY rscsi_disks[target].device->busy
rscsi_disks1359drivers/scsi/sd.c#define USAGE rscsi_disks[target].device->access_count
rscsi_disks1360drivers/scsi/sd.c#define CAPACITY rscsi_disks[target].capacity
rscsi_disks1433drivers/scsi/sd.cfor(dpnt = rscsi_disks, i=0; i<sd_template.dev_max; i++, dpnt++) 
rscsi_disks1487drivers/scsi/sd.cif( rscsi_disks != NULL )
rscsi_disks1489drivers/scsi/sd.cscsi_init_free((char *) rscsi_disks,
rscsi_disks41drivers/scsi/sd.hextern Scsi_Disk * rscsi_disks;
rscsi_disks36drivers/scsi/sd_ioctl.chost = rscsi_disks[MINOR(dev) >> 4].device->host;
rscsi_disks41drivers/scsi/sd_ioctl.chost->hostt->bios_param(&rscsi_disks[MINOR(dev) >> 4],
rscsi_disks73drivers/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg);