tag | line | file | source code |
rscsi_disks | 931 | drivers/scsi/aha1542.c | disk = rscsi_disks[MINOR(dev) >> 4].device; |
rscsi_disks | 1520 | drivers/scsi/fdomain.c | disk = rscsi_disks[ drive ].device; |
rscsi_disks | 50 | drivers/scsi/sd.c | Scsi_Disk * rscsi_disks; |
rscsi_disks | 65 | drivers/scsi/sd.c | if(target >= NR_SD || !rscsi_disks[target].device) |
rscsi_disks | 71 | drivers/scsi/sd.c | while (rscsi_disks[target].device->busy); |
rscsi_disks | 73 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
rscsi_disks | 76 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
rscsi_disks | 79 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count++; |
rscsi_disks | 90 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count--; |
rscsi_disks | 92 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
rscsi_disks | 93 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
rscsi_disks | 132 | drivers/scsi/sd.c | sd[i << 4].nr_sects = rscsi_disks[i].capacity; |
rscsi_disks | 255 | drivers/scsi/sd.c | if rscsi_disks[DEVICE_NR(SCpnt->request.dev)].remap |
rscsi_disks | 266 | drivers/scsi/sd.c | if(rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->removable) { |
rscsi_disks | 270 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->changed = 1; |
rscsi_disks | 287 | drivers/scsi/sd.c | if (rscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten) { |
rscsi_disks | 288 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten = 0; |
rscsi_disks | 297 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, |
rscsi_disks | 298 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->id, |
rscsi_disks | 299 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->lun, result); |
rscsi_disks | 343 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(MINOR(CURRENT->dev))].device->index, 0); |
rscsi_disks | 361 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(MINOR(req->dev))].device->index); |
rscsi_disks | 415 | drivers/scsi/sd.c | if (rscsi_disks[dev].device->changed) |
rscsi_disks | 432 | drivers/scsi/sd.c | if (!rscsi_disks[dev].device->writeable) |
rscsi_disks | 512 | drivers/scsi/sd.c | this_count_max = (rscsi_disks[dev].ten ? 0xffff : 0xff); |
rscsi_disks | 681 | drivers/scsi/sd.c | if (rscsi_disks[dev].sector_size == 1024){ |
rscsi_disks | 688 | drivers/scsi/sd.c | if (rscsi_disks[dev].sector_size == 256){ |
rscsi_disks | 693 | drivers/scsi/sd.c | if (((this_count > 0xff) || (block > 0x1fffff)) && rscsi_disks[dev].ten) |
rscsi_disks | 725 | drivers/scsi/sd.c | SCpnt->transfersize = rscsi_disks[dev].sector_size; |
rscsi_disks | 728 | drivers/scsi/sd.c | this_count * rscsi_disks[dev].sector_size, |
rscsi_disks | 747 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->removable) return 0; |
rscsi_disks | 757 | drivers/scsi/sd.c | rscsi_disks[target].device->changed = 1; |
rscsi_disks | 762 | drivers/scsi/sd.c | retval = rscsi_disks[target].device->changed; |
rscsi_disks | 763 | drivers/scsi/sd.c | if(!flag) rscsi_disks[target].device->changed = 0; |
rscsi_disks | 796 | drivers/scsi/sd.c | SCpnt = allocate_device(NULL, rscsi_disks[i].device->index, 1); |
rscsi_disks | 805 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
rscsi_disks | 822 | drivers/scsi/sd.c | if(the_result && !rscsi_disks[i].device->removable && |
rscsi_disks | 828 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
rscsi_disks | 863 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
rscsi_disks | 924 | drivers/scsi/sd.c | rscsi_disks[i].capacity = 0x1fffff; |
rscsi_disks | 925 | drivers/scsi/sd.c | rscsi_disks[i].sector_size = 512; |
rscsi_disks | 929 | drivers/scsi/sd.c | if(rscsi_disks[i].device->removable && |
rscsi_disks | 931 | drivers/scsi/sd.c | rscsi_disks[i].device->changed = 1; |
rscsi_disks | 936 | drivers/scsi/sd.c | rscsi_disks[i].capacity = (buffer[0] << 24) | |
rscsi_disks | 941 | drivers/scsi/sd.c | rscsi_disks[i].sector_size = (buffer[4] << 24) | |
rscsi_disks | 944 | drivers/scsi/sd.c | if (rscsi_disks[i].sector_size != 512 && |
rscsi_disks | 945 | drivers/scsi/sd.c | rscsi_disks[i].sector_size != 1024 && |
rscsi_disks | 946 | drivers/scsi/sd.c | rscsi_disks[i].sector_size != 256) |
rscsi_disks | 949 | drivers/scsi/sd.c | i, rscsi_disks[i].sector_size); |
rscsi_disks | 950 | drivers/scsi/sd.c | if(rscsi_disks[i].device->removable){ |
rscsi_disks | 951 | drivers/scsi/sd.c | rscsi_disks[i].capacity = 0; |
rscsi_disks | 955 | drivers/scsi/sd.c | rscsi_disks[j] = rscsi_disks[++j]; |
rscsi_disks | 962 | drivers/scsi/sd.c | if(rscsi_disks[i].sector_size == 1024) |
rscsi_disks | 963 | drivers/scsi/sd.c | rscsi_disks[i].capacity <<= 1; /* Change this into 512 byte sectors */ |
rscsi_disks | 964 | drivers/scsi/sd.c | if(rscsi_disks[i].sector_size == 256) |
rscsi_disks | 965 | drivers/scsi/sd.c | rscsi_disks[i].capacity >>= 1; /* Change this into 512 byte sectors */ |
rscsi_disks | 968 | drivers/scsi/sd.c | rscsi_disks[i].ten = 1; |
rscsi_disks | 969 | drivers/scsi/sd.c | rscsi_disks[i].remap = 1; |
rscsi_disks | 1005 | drivers/scsi/sd.c | sd_gendisk.real_devices = (void *) rscsi_disks; |
rscsi_disks | 1015 | drivers/scsi/sd.c | if(rscsi_disks[0].device->host->sg_tablesize) |
rscsi_disks | 1027 | drivers/scsi/sd.c | rscsi_disks = (Scsi_Disk *) mem_start; |
rscsi_disks | 1034 | drivers/scsi/sd.c | rscsi_disks[NR_SD++].device = SDp; |
rscsi_disks | 1038 | drivers/scsi/sd.c | #define DEVICE_BUSY rscsi_disks[target].device->busy |
rscsi_disks | 1039 | drivers/scsi/sd.c | #define USAGE rscsi_disks[target].device->access_count |
rscsi_disks | 1040 | drivers/scsi/sd.c | #define CAPACITY rscsi_disks[target].capacity |
rscsi_disks | 44 | drivers/scsi/sd.h | extern Scsi_Disk * rscsi_disks; |
rscsi_disks | 31 | drivers/scsi/sd_ioctl.c | host = rscsi_disks[MINOR(dev) >> 4].device->host; |
rscsi_disks | 36 | drivers/scsi/sd_ioctl.c | host->hostt->bios_param(rscsi_disks[MINOR(dev) >> 4].capacity, |
rscsi_disks | 72 | drivers/scsi/sd_ioctl.c | return scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg); |
rscsi_disks | 1610 | drivers/scsi/seagate.c | disk = rscsi_disks[MINOR(dev) >> 4].device; |