tag | line | file | source code |
DEVICE_NR | 121 | drivers/block/blk.h | #define DEVICE_OFF(device) floppy_off(DEVICE_NR(device)) |
DEVICE_NR | 284 | drivers/block/blk.h | #define CURRENT_DEV DEVICE_NR(CURRENT->dev) |
DEVICE_NR | 136 | drivers/block/hd.c | devc = CURRENT ? 'a' + DEVICE_NR(CURRENT->dev) : '?'; |
DEVICE_NR | 285 | drivers/block/hd.c | unsigned int dev = DEVICE_NR(CURRENT->dev); |
DEVICE_NR | 338 | drivers/block/hd.c | unsigned int dev = DEVICE_NR(CURRENT->dev), stat = inb_p(HD_STATUS); |
DEVICE_NR | 452 | drivers/block/hd.c | dev = DEVICE_NR(CURRENT->dev); |
DEVICE_NR | 476 | drivers/block/hd.c | unsigned int dev = DEVICE_NR(CURRENT->dev); |
DEVICE_NR | 551 | drivers/block/hd.c | unsigned int dev = DEVICE_NR(WCURRENT.dev); |
DEVICE_NR | 587 | drivers/block/hd.c | if (unmask_intr[DEVICE_NR(WCURRENT.dev)]) |
DEVICE_NR | 645 | drivers/block/hd.c | dev = DEVICE_NR(CURRENT->dev); |
DEVICE_NR | 788 | drivers/block/hd.c | dev = DEVICE_NR(inode->i_rdev); |
DEVICE_NR | 894 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
DEVICE_NR | 913 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
DEVICE_NR | 1090 | drivers/block/hd.c | target = DEVICE_NR(dev); |
DEVICE_NR | 1332 | drivers/block/ide.c | unsigned int drive = DEVICE_NR(i_rdev); |
DEVICE_NR | 1398 | drivers/block/ide.c | unsigned int i, major, start, drive = DEVICE_NR(i_rdev); |
DEVICE_NR | 195 | drivers/block/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)); |
DEVICE_NR | 241 | drivers/block/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)),err; |
DEVICE_NR | 289 | drivers/block/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)); |
DEVICE_NR | 300 | drivers/block/xd.c | int target = DEVICE_NR(MINOR(dev)),start = target << xd_gendisk.minor_shift,partition; |
DEVICE_NR | 100 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
DEVICE_NR | 139 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
DEVICE_NR | 322 | drivers/scsi/sd.c | if rscsi_disks[DEVICE_NR(SCpnt->request.dev)].remap |
DEVICE_NR | 332 | drivers/scsi/sd.c | if(rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->removable) { |
DEVICE_NR | 336 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->changed = 1; |
DEVICE_NR | 353 | drivers/scsi/sd.c | if (rscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten) { |
DEVICE_NR | 354 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten = 0; |
DEVICE_NR | 364 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, |
DEVICE_NR | 365 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->channel, |
DEVICE_NR | 366 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->id, |
DEVICE_NR | 367 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->lun, result); |
DEVICE_NR | 415 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(MINOR(CURRENT->dev))].device, 0); |
DEVICE_NR | 440 | drivers/scsi/sd.c | SCpnt = request_queueable(req, rscsi_disks[DEVICE_NR(MINOR(req->dev))].device); |
DEVICE_NR | 486 | drivers/scsi/sd.c | !rscsi_disks[DEVICE_NR(dev)].device || |
DEVICE_NR | 494 | drivers/scsi/sd.c | dev = DEVICE_NR(dev); |
DEVICE_NR | 857 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(full_dev)); |
DEVICE_NR | 1267 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(dev)); |
DEVICE_NR | 248 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->changed = 1; |
DEVICE_NR | 260 | drivers/scsi/sr.c | if (scsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten) { |
DEVICE_NR | 261 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten = 0; |
DEVICE_NR | 284 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, |
DEVICE_NR | 285 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->id, |
DEVICE_NR | 286 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->lun, |
DEVICE_NR | 569 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(MINOR(CURRENT->dev))].device, 0); |
DEVICE_NR | 588 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(MINOR(req->dev))].device); |