tag | line | file | source code |
rscsi_disks | 208 | kernel/blk_drv/scsi/scsi.c | rscsi_disks[NR_SD].device = &scsi_devices[NR_SCSI_DEVICES]; |
rscsi_disks | 37 | kernel/blk_drv/scsi/sd.c | Scsi_Disk rscsi_disks[MAX_SD]; |
rscsi_disks | 115 | kernel/blk_drv/scsi/sd.c | if rscsi_disks[DEVICE_NR(CURRENT->dev)].remap |
rscsi_disks | 132 | kernel/blk_drv/scsi/sd.c | if (rscsi_disks[DEVICE_NR(CURRENT->dev)].ten) { |
rscsi_disks | 133 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(CURRENT->dev)].ten = 0; |
rscsi_disks | 142 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(CURRENT->dev)].device->host_no, |
rscsi_disks | 143 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(CURRENT->dev)].device->id, |
rscsi_disks | 144 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(CURRENT->dev)].device->lun); |
rscsi_disks | 189 | kernel/blk_drv/scsi/sd.c | if (!rscsi_disks[dev].use) |
rscsi_disks | 199 | kernel/blk_drv/scsi/sd.c | if (!rscsi_disks[dev].device->writeable) |
rscsi_disks | 216 | kernel/blk_drv/scsi/sd.c | if (((this_count > 0xff) || (block > 0x1fffff)) && rscsi_disks[dev].ten) |
rscsi_disks | 268 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].use = 1; |
rscsi_disks | 269 | kernel/blk_drv/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
rscsi_disks | 274 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].device->host_no, rscsi_disks[i].device->id); |
rscsi_disks | 276 | kernel/blk_drv/scsi/sd.c | scsi_do_cmd (rscsi_disks[i].device->host_no , |
rscsi_disks | 277 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].device->id, |
rscsi_disks | 301 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].device->host_no, rscsi_disks[i].device->id, |
rscsi_disks | 302 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].device->lun, |
rscsi_disks | 314 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].capacity = 0x1fffff; |
rscsi_disks | 315 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].sector_size = 512; |
rscsi_disks | 319 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].capacity = (buffer[0] << 24) | |
rscsi_disks | 324 | kernel/blk_drv/scsi/sd.c | if ((rscsi_disks[i].sector_size = (buffer[4] << 24) | |
rscsi_disks | 330 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].sector_size, i); |
rscsi_disks | 331 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].use = 0; |
rscsi_disks | 335 | kernel/blk_drv/scsi/sd.c | if (rscsi_disks[i].use) |
rscsi_disks | 339 | kernel/blk_drv/scsi/sd.c | sd_sizes[j]=(scsi_disks[j].nr_sects = rscsi_disks[i].capacity)>>1; |
rscsi_disks | 348 | kernel/blk_drv/scsi/sd.c | scsi_do_cmd (rscsi_disks[i].device->host_no , rscsi_disks[i].device->id, |
rscsi_disks | 359 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].use = 0; |
rscsi_disks | 371 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].ten = 1; |
rscsi_disks | 372 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].remap = 1; |
rscsi_disks | 50 | kernel/blk_drv/scsi/sd.h | extern Scsi_Disk rscsi_disks[MAX_SD]; |
rscsi_disks | 54 | kernel/blk_drv/scsi/sd.h | #define HOST (rscsi_disks[DEVICE_NR(CURRENT->dev)].device->host_no) |
rscsi_disks | 55 | kernel/blk_drv/scsi/sd.h | #define ID (rscsi_disks[DEVICE_NR(CURRENT->dev)].device->id) |
rscsi_disks | 56 | kernel/blk_drv/scsi/sd.h | #define LUN (rscsi_disks[DEVICE_NR(CURRENT->dev)].device->lun) |
rscsi_disks | 17 | kernel/blk_drv/scsi/sd_ioctl.c | return scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device,cmd,(void *) arg); |