taglinefilesource code
rscsi_disks49drivers/scsi/sd.cScsi_Disk * rscsi_disks;
rscsi_disks77drivers/scsi/sd.cif(target >= sd_template.dev_max || !rscsi_disks[target].device)
rscsi_disks83drivers/scsi/sd.cwhile (rscsi_disks[target].device->busy);
rscsi_disks85drivers/scsi/sd.cif(rscsi_disks[target].device->removable) {
rscsi_disks88drivers/scsi/sd.cif(!rscsi_disks[target].device->access_count)
rscsi_disks91drivers/scsi/sd.crscsi_disks[target].device->access_count++;
rscsi_disks102drivers/scsi/sd.crscsi_disks[target].device->access_count--;
rscsi_disks104drivers/scsi/sd.cif(rscsi_disks[target].device->removable) {
rscsi_disks105drivers/scsi/sd.cif(!rscsi_disks[target].device->access_count)
rscsi_disks147drivers/scsi/sd.cif(rscsi_disks[i].device) 
rscsi_disks148drivers/scsi/sd.csd[i << 4].nr_sects = rscsi_disks[i].capacity;
rscsi_disks271drivers/scsi/sd.cif rscsi_disks[DEVICE_NR(SCpnt->request.dev)].remap
rscsi_disks282drivers/scsi/sd.cif(rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->removable) {
rscsi_disks286drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->changed = 1;
rscsi_disks303drivers/scsi/sd.cif (rscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten) {
rscsi_disks304drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten = 0;
rscsi_disks313drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->host->host_no,
rscsi_disks314drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->id,
rscsi_disks315drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->lun, result);
rscsi_disks359drivers/scsi/sd.crscsi_disks[DEVICE_NR(MINOR(CURRENT->dev))].device, 0); 
rscsi_disks377drivers/scsi/sd.crscsi_disks[DEVICE_NR(MINOR(req->dev))].device);
rscsi_disks423drivers/scsi/sd.c!rscsi_disks[DEVICE_NR(dev)].device ||
rscsi_disks433drivers/scsi/sd.cif (rscsi_disks[dev].device->changed)
rscsi_disks450drivers/scsi/sd.cif (!rscsi_disks[dev].device->writeable)
rscsi_disks530drivers/scsi/sd.cthis_count_max = (rscsi_disks[dev].ten ? 0xffff : 0xff);
rscsi_disks699drivers/scsi/sd.cif (rscsi_disks[dev].sector_size == 1024){
rscsi_disks706drivers/scsi/sd.cif (rscsi_disks[dev].sector_size == 256){
rscsi_disks711drivers/scsi/sd.cif (((this_count > 0xff) ||  (block > 0x1fffff)) && rscsi_disks[dev].ten)
rscsi_disks743drivers/scsi/sd.cSCpnt->transfersize = rscsi_disks[dev].sector_size;
rscsi_disks746drivers/scsi/sd.cthis_count * rscsi_disks[dev].sector_size,
rscsi_disks762drivers/scsi/sd.c!rscsi_disks[target].device) {
rscsi_disks767drivers/scsi/sd.cif(!rscsi_disks[target].device->removable) return 0;
rscsi_disks777drivers/scsi/sd.crscsi_disks[target].device->changed = 1;
rscsi_disks782drivers/scsi/sd.cretval = rscsi_disks[target].device->changed;
rscsi_disks783drivers/scsi/sd.cif(!flag) rscsi_disks[target].device->changed = 0;
rscsi_disks811drivers/scsi/sd.cSCpnt = allocate_device(NULL, rscsi_disks[i].device, 1);
rscsi_disks820drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
rscsi_disks837drivers/scsi/sd.cif(the_result && !rscsi_disks[i].device->removable && 
rscsi_disks843drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
rscsi_disks878drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
rscsi_disks941drivers/scsi/sd.crscsi_disks[i].capacity = 0x1fffff;
rscsi_disks942drivers/scsi/sd.crscsi_disks[i].sector_size = 512;
rscsi_disks946drivers/scsi/sd.cif(rscsi_disks[i].device->removable && 
rscsi_disks948drivers/scsi/sd.crscsi_disks[i].device->changed = 1;
rscsi_disks953drivers/scsi/sd.crscsi_disks[i].capacity = (buffer[0] << 24) |
rscsi_disks958drivers/scsi/sd.crscsi_disks[i].sector_size = (buffer[4] << 24) |
rscsi_disks961drivers/scsi/sd.cif (rscsi_disks[i].sector_size != 512 &&
rscsi_disks962drivers/scsi/sd.crscsi_disks[i].sector_size != 1024 &&
rscsi_disks963drivers/scsi/sd.crscsi_disks[i].sector_size != 256)
rscsi_disks966drivers/scsi/sd.c'a' + i, rscsi_disks[i].sector_size);
rscsi_disks967drivers/scsi/sd.cif(rscsi_disks[i].device->removable){
rscsi_disks968drivers/scsi/sd.crscsi_disks[i].capacity = 0;
rscsi_disks971drivers/scsi/sd.crscsi_disks[i].device = NULL;
rscsi_disks976drivers/scsi/sd.cif(rscsi_disks[i].sector_size == 1024)
rscsi_disks977drivers/scsi/sd.crscsi_disks[i].capacity <<= 1;  /* Change this into 512 byte sectors */
rscsi_disks978drivers/scsi/sd.cif(rscsi_disks[i].sector_size == 256)
rscsi_disks979drivers/scsi/sd.crscsi_disks[i].capacity >>= 1;  /* Change this into 512 byte sectors */
rscsi_disks982drivers/scsi/sd.crscsi_disks[i].ten = 1;
rscsi_disks983drivers/scsi/sd.crscsi_disks[i].remap = 1;
rscsi_disks1014drivers/scsi/sd.crscsi_disks = (Scsi_Disk *) 
rscsi_disks1016drivers/scsi/sd.cmemset(rscsi_disks, 0, sd_template.dev_max * sizeof(Scsi_Disk));
rscsi_disks1034drivers/scsi/sd.csd_gendisk.real_devices = (void *) rscsi_disks;
rscsi_disks1043drivers/scsi/sd.cif (rscsi_disks[i].device) i = sd_init_onedisk(i);
rscsi_disks1050drivers/scsi/sd.cif(rscsi_disks[0].device->host->sg_tablesize)
rscsi_disks1085drivers/scsi/sd.cfor(dpnt = rscsi_disks, i=0; i<sd_template.dev_max; i++, dpnt++) 
rscsi_disks1091drivers/scsi/sd.crscsi_disks[i].device = SDp;
rscsi_disks1095drivers/scsi/sd.c#define DEVICE_BUSY rscsi_disks[target].device->busy
rscsi_disks1096drivers/scsi/sd.c#define USAGE rscsi_disks[target].device->access_count
rscsi_disks1097drivers/scsi/sd.c#define CAPACITY rscsi_disks[target].capacity
rscsi_disks44drivers/scsi/sd.hextern Scsi_Disk * rscsi_disks;
rscsi_disks31drivers/scsi/sd_ioctl.chost = rscsi_disks[MINOR(dev) >> 4].device->host;
rscsi_disks36drivers/scsi/sd_ioctl.chost->hostt->bios_param(&rscsi_disks[MINOR(dev) >> 4],
rscsi_disks72drivers/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg);