tag | line | file | source code |
rscsi_disks | 908 | drivers/scsi/aha1542.c | disk = rscsi_disks[MINOR(dev) >> 4].device; |
rscsi_disks | 46 | drivers/scsi/sd.c | Scsi_Disk * rscsi_disks; |
rscsi_disks | 61 | drivers/scsi/sd.c | if(target >= NR_SD || !rscsi_disks[target].device) |
rscsi_disks | 67 | drivers/scsi/sd.c | while (rscsi_disks[target].device->busy); |
rscsi_disks | 69 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
rscsi_disks | 72 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
rscsi_disks | 75 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count++; |
rscsi_disks | 86 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count--; |
rscsi_disks | 88 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
rscsi_disks | 89 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
rscsi_disks | 128 | drivers/scsi/sd.c | sd[i << 4].nr_sects = rscsi_disks[i].capacity; |
rscsi_disks | 251 | drivers/scsi/sd.c | if rscsi_disks[DEVICE_NR(SCpnt->request.dev)].remap |
rscsi_disks | 262 | drivers/scsi/sd.c | if(rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->removable) { |
rscsi_disks | 266 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->changed = 1; |
rscsi_disks | 283 | drivers/scsi/sd.c | if (rscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten) { |
rscsi_disks | 284 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten = 0; |
rscsi_disks | 293 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, |
rscsi_disks | 294 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->id, |
rscsi_disks | 295 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->lun, result); |
rscsi_disks | 339 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(MINOR(CURRENT->dev))].device->index, 0); |
rscsi_disks | 357 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(MINOR(req->dev))].device->index); |
rscsi_disks | 410 | drivers/scsi/sd.c | if (rscsi_disks[dev].device->changed) |
rscsi_disks | 427 | drivers/scsi/sd.c | if (!rscsi_disks[dev].device->writeable) |
rscsi_disks | 479 | drivers/scsi/sd.c | this_count_max = (rscsi_disks[dev].ten ? 0xffff : 0xff); |
rscsi_disks | 564 | drivers/scsi/sd.c | if (rscsi_disks[dev].sector_size == 1024){ |
rscsi_disks | 571 | drivers/scsi/sd.c | if (rscsi_disks[dev].sector_size == 256){ |
rscsi_disks | 576 | drivers/scsi/sd.c | if (((this_count > 0xff) || (block > 0x1fffff)) && rscsi_disks[dev].ten) |
rscsi_disks | 608 | drivers/scsi/sd.c | SCpnt->transfersize = rscsi_disks[dev].sector_size; |
rscsi_disks | 612 | drivers/scsi/sd.c | this_count * rscsi_disks[dev].sector_size, |
rscsi_disks | 628 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->removable) return 0; |
rscsi_disks | 638 | drivers/scsi/sd.c | rscsi_disks[target].device->changed = 1; |
rscsi_disks | 643 | drivers/scsi/sd.c | retval = rscsi_disks[target].device->changed; |
rscsi_disks | 644 | drivers/scsi/sd.c | if(!flag) rscsi_disks[target].device->changed = 0; |
rscsi_disks | 677 | drivers/scsi/sd.c | SCpnt = allocate_device(NULL, rscsi_disks[i].device->index, 1); |
rscsi_disks | 686 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
rscsi_disks | 703 | drivers/scsi/sd.c | if(the_result && !rscsi_disks[i].device->removable && |
rscsi_disks | 709 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
rscsi_disks | 744 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
rscsi_disks | 805 | drivers/scsi/sd.c | rscsi_disks[i].capacity = 0x1fffff; |
rscsi_disks | 806 | drivers/scsi/sd.c | rscsi_disks[i].sector_size = 512; |
rscsi_disks | 810 | drivers/scsi/sd.c | if(rscsi_disks[i].device->removable && |
rscsi_disks | 812 | drivers/scsi/sd.c | rscsi_disks[i].device->changed = 1; |
rscsi_disks | 817 | drivers/scsi/sd.c | rscsi_disks[i].capacity = (buffer[0] << 24) | |
rscsi_disks | 822 | drivers/scsi/sd.c | rscsi_disks[i].sector_size = (buffer[4] << 24) | |
rscsi_disks | 825 | drivers/scsi/sd.c | if (rscsi_disks[i].sector_size != 512 && |
rscsi_disks | 826 | drivers/scsi/sd.c | rscsi_disks[i].sector_size != 1024 && |
rscsi_disks | 827 | drivers/scsi/sd.c | rscsi_disks[i].sector_size != 256) |
rscsi_disks | 830 | drivers/scsi/sd.c | i, rscsi_disks[i].sector_size); |
rscsi_disks | 831 | drivers/scsi/sd.c | if(rscsi_disks[i].device->removable){ |
rscsi_disks | 832 | drivers/scsi/sd.c | rscsi_disks[i].capacity = 0; |
rscsi_disks | 836 | drivers/scsi/sd.c | rscsi_disks[j] = rscsi_disks[++j]; |
rscsi_disks | 843 | drivers/scsi/sd.c | if(rscsi_disks[i].sector_size == 1024) |
rscsi_disks | 844 | drivers/scsi/sd.c | rscsi_disks[i].capacity <<= 1; /* Change this into 512 byte sectors */ |
rscsi_disks | 845 | drivers/scsi/sd.c | if(rscsi_disks[i].sector_size == 256) |
rscsi_disks | 846 | drivers/scsi/sd.c | rscsi_disks[i].capacity >>= 1; /* Change this into 512 byte sectors */ |
rscsi_disks | 849 | drivers/scsi/sd.c | rscsi_disks[i].ten = 1; |
rscsi_disks | 850 | drivers/scsi/sd.c | rscsi_disks[i].remap = 1; |
rscsi_disks | 885 | drivers/scsi/sd.c | sd_gendisk.real_devices = (void *) rscsi_disks; |
rscsi_disks | 895 | drivers/scsi/sd.c | if(rscsi_disks[0].device->host->sg_tablesize) |
rscsi_disks | 907 | drivers/scsi/sd.c | rscsi_disks = (Scsi_Disk *) mem_start; |
rscsi_disks | 913 | drivers/scsi/sd.c | rscsi_disks[NR_SD++].device = SDp; |
rscsi_disks | 917 | drivers/scsi/sd.c | #define DEVICE_BUSY rscsi_disks[target].device->busy |
rscsi_disks | 918 | drivers/scsi/sd.c | #define USAGE rscsi_disks[target].device->access_count |
rscsi_disks | 919 | 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 | 66 | 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; |