taglinefilesource code
rscsi_disks46drivers/scsi/sd.cScsi_Disk * rscsi_disks;
rscsi_disks61drivers/scsi/sd.cif(target >= NR_SD || !rscsi_disks[target].device)
rscsi_disks67drivers/scsi/sd.cwhile (rscsi_disks[target].device->busy);
rscsi_disks69drivers/scsi/sd.cif(rscsi_disks[target].device->removable) {
rscsi_disks72drivers/scsi/sd.cif(!rscsi_disks[target].device->access_count)
rscsi_disks75drivers/scsi/sd.crscsi_disks[target].device->access_count++;
rscsi_disks86drivers/scsi/sd.crscsi_disks[target].device->access_count--;
rscsi_disks88drivers/scsi/sd.cif(rscsi_disks[target].device->removable) {
rscsi_disks89drivers/scsi/sd.cif(!rscsi_disks[target].device->access_count)
rscsi_disks128drivers/scsi/sd.csd[i << 4].nr_sects = rscsi_disks[i].capacity;
rscsi_disks251drivers/scsi/sd.cif rscsi_disks[DEVICE_NR(SCpnt->request.dev)].remap
rscsi_disks262drivers/scsi/sd.cif(rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->removable) {
rscsi_disks266drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->changed = 1;
rscsi_disks283drivers/scsi/sd.cif (rscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten) {
rscsi_disks284drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten = 0;
rscsi_disks293drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->host->host_no,
rscsi_disks294drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->id,
rscsi_disks295drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->lun, result);
rscsi_disks339drivers/scsi/sd.crscsi_disks[DEVICE_NR(MINOR(CURRENT->dev))].device->index, 0); 
rscsi_disks357drivers/scsi/sd.crscsi_disks[DEVICE_NR(MINOR(req->dev))].device->index);
rscsi_disks410drivers/scsi/sd.cif (rscsi_disks[dev].device->changed)
rscsi_disks427drivers/scsi/sd.cif (!rscsi_disks[dev].device->writeable)
rscsi_disks479drivers/scsi/sd.cthis_count_max = (rscsi_disks[dev].ten ? 0xffff : 0xff);
rscsi_disks564drivers/scsi/sd.cif (rscsi_disks[dev].sector_size == 1024){
rscsi_disks571drivers/scsi/sd.cif (rscsi_disks[dev].sector_size == 256){
rscsi_disks576drivers/scsi/sd.cif (((this_count > 0xff) ||  (block > 0x1fffff)) && rscsi_disks[dev].ten)
rscsi_disks608drivers/scsi/sd.cSCpnt->transfersize = rscsi_disks[dev].sector_size;
rscsi_disks612drivers/scsi/sd.cthis_count * rscsi_disks[dev].sector_size,
rscsi_disks628drivers/scsi/sd.cif(!rscsi_disks[target].device->removable) return 0;
rscsi_disks638drivers/scsi/sd.crscsi_disks[target].device->changed = 1;
rscsi_disks643drivers/scsi/sd.cretval = rscsi_disks[target].device->changed;
rscsi_disks644drivers/scsi/sd.cif(!flag) rscsi_disks[target].device->changed = 0;
rscsi_disks677drivers/scsi/sd.cSCpnt = allocate_device(NULL, rscsi_disks[i].device->index, 1);
rscsi_disks686drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
rscsi_disks703drivers/scsi/sd.cif(the_result && !rscsi_disks[i].device->removable && 
rscsi_disks709drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
rscsi_disks744drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
rscsi_disks805drivers/scsi/sd.crscsi_disks[i].capacity = 0x1fffff;
rscsi_disks806drivers/scsi/sd.crscsi_disks[i].sector_size = 512;
rscsi_disks810drivers/scsi/sd.cif(rscsi_disks[i].device->removable && 
rscsi_disks812drivers/scsi/sd.crscsi_disks[i].device->changed = 1;
rscsi_disks817drivers/scsi/sd.crscsi_disks[i].capacity = (buffer[0] << 24) |
rscsi_disks822drivers/scsi/sd.crscsi_disks[i].sector_size = (buffer[4] << 24) |
rscsi_disks825drivers/scsi/sd.cif (rscsi_disks[i].sector_size != 512 &&
rscsi_disks826drivers/scsi/sd.crscsi_disks[i].sector_size != 1024 &&
rscsi_disks827drivers/scsi/sd.crscsi_disks[i].sector_size != 256)
rscsi_disks830drivers/scsi/sd.ci, rscsi_disks[i].sector_size);
rscsi_disks831drivers/scsi/sd.cif(rscsi_disks[i].device->removable){
rscsi_disks832drivers/scsi/sd.crscsi_disks[i].capacity = 0;
rscsi_disks836drivers/scsi/sd.crscsi_disks[j] = rscsi_disks[++j];
rscsi_disks843drivers/scsi/sd.cif(rscsi_disks[i].sector_size == 1024)
rscsi_disks844drivers/scsi/sd.crscsi_disks[i].capacity <<= 1;  /* Change this into 512 byte sectors */
rscsi_disks845drivers/scsi/sd.cif(rscsi_disks[i].sector_size == 256)
rscsi_disks846drivers/scsi/sd.crscsi_disks[i].capacity >>= 1;  /* Change this into 512 byte sectors */
rscsi_disks849drivers/scsi/sd.crscsi_disks[i].ten = 1;
rscsi_disks850drivers/scsi/sd.crscsi_disks[i].remap = 1;
rscsi_disks885drivers/scsi/sd.csd_gendisk.real_devices = (void *) rscsi_disks;
rscsi_disks895drivers/scsi/sd.cif(rscsi_disks[0].device->host->sg_tablesize)
rscsi_disks907drivers/scsi/sd.crscsi_disks = (Scsi_Disk *) mem_start;
rscsi_disks913drivers/scsi/sd.crscsi_disks[NR_SD++].device = SDp;
rscsi_disks917drivers/scsi/sd.c#define DEVICE_BUSY rscsi_disks[target].device->busy
rscsi_disks918drivers/scsi/sd.c#define USAGE rscsi_disks[target].device->access_count
rscsi_disks919drivers/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].capacity,
rscsi_disks66drivers/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg);
rscsi_disks1610drivers/scsi/seagate.cdisk = rscsi_disks[MINOR(dev) >> 4].device;