tag | line | file | source code |
rq_dev | 2346 | drivers/block/floppy.c | set_fdc(DRIVE(CURRENT->rq_dev)); |
rq_dev | 2609 | drivers/block/floppy.c | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) |
rq_dev | 2614 | drivers/block/floppy.c | device = CURRENT->rq_dev; |
rq_dev | 134 | drivers/block/hd.c | devc = CURRENT ? 'a' + DEVICE_NR(CURRENT->rq_dev) : '?'; |
rq_dev | 283 | drivers/block/hd.c | unsigned int dev = DEVICE_NR(CURRENT->rq_dev); |
rq_dev | 336 | drivers/block/hd.c | unsigned int dev = DEVICE_NR(CURRENT->rq_dev), stat = inb_p(HD_STATUS); |
rq_dev | 450 | drivers/block/hd.c | dev = DEVICE_NR(CURRENT->rq_dev); |
rq_dev | 474 | drivers/block/hd.c | unsigned int dev = DEVICE_NR(CURRENT->rq_dev); |
rq_dev | 549 | drivers/block/hd.c | unsigned int dev = DEVICE_NR(WCURRENT.rq_dev); |
rq_dev | 585 | drivers/block/hd.c | if (unmask_intr[DEVICE_NR(WCURRENT.rq_dev)]) |
rq_dev | 643 | drivers/block/hd.c | dev = DEVICE_NR(CURRENT->rq_dev); |
rq_dev | 710 | drivers/block/hd.c | dev = MINOR(CURRENT->rq_dev); |
rq_dev | 717 | drivers/block/hd.c | kdevname(CURRENT->rq_dev)); |
rq_dev | 720 | drivers/block/hd.c | (MINOR(CURRENT->rq_dev)>>6)+'a', block, nsect); |
rq_dev | 1165 | drivers/block/ide-cd.c | int minor = MINOR (rq->rq_dev); |
rq_dev | 1172 | drivers/block/ide-cd.c | rq->rq_dev = MKDEV (MAJOR(rq->rq_dev), minor); |
rq_dev | 1666 | drivers/block/ide-tape.c | blk_dev[MAJOR(rq->rq_dev)].current_request = rq->next; |
rq_dev | 2831 | drivers/block/ide-tape.c | printk ("rq_status: %d, rq_dev: %u, cmd: %d, errors: %d\n",rq->rq_status,(unsigned int) rq->rq_dev,rq->cmd,rq->errors); |
rq_dev | 2872 | drivers/block/ide-tape.c | if (rq->next != NULL && rq->rq_dev != rq->next->rq_dev) |
rq_dev | 778 | drivers/block/ide.c | blk_dev[MAJOR(rq->rq_dev)].current_request = rq->next; |
rq_dev | 1324 | drivers/block/ide.c | minor = MINOR(rq->rq_dev); |
rq_dev | 1326 | drivers/block/ide.c | if (MAJOR(rq->rq_dev) != hwif->major || unit >= MAX_DRIVES) { |
rq_dev | 1328 | drivers/block/ide.c | hwif->name, kdevname(rq->rq_dev)); |
rq_dev | 1640 | drivers/block/ide.c | rq->rq_dev = ????; |
rq_dev | 1680 | drivers/block/ide.c | rq->rq_dev = MKDEV(major,(drive->select.b.unit)<<PARTN_BITS); |
rq_dev | 167 | drivers/block/ll_rw_blk.c | req->rq_dev = dev; |
rq_dev | 259 | drivers/block/ll_rw_blk.c | switch (MAJOR(req->rq_dev)) { |
rq_dev | 261 | drivers/block/ll_rw_blk.c | disk_index = (MINOR(req->rq_dev) & 0x0070) >> 4; |
rq_dev | 267 | drivers/block/ll_rw_blk.c | disk_index = (MINOR(req->rq_dev) & 0x0040) >> 6; |
rq_dev | 271 | drivers/block/ll_rw_blk.c | disk_index = ((MINOR(req->rq_dev) & 0x0040) >> 6) + 2; |
rq_dev | 297 | drivers/block/ll_rw_blk.c | if (scsi_major(MAJOR(req->rq_dev))) |
rq_dev | 377 | drivers/block/ll_rw_blk.c | if (req->rq_dev == bh->b_dev && |
rq_dev | 391 | drivers/block/ll_rw_blk.c | if (req->rq_dev == bh->b_dev && |
rq_dev | 104 | drivers/block/rd.c | minor = MINOR(CURRENT->rq_dev); |
rq_dev | 221 | drivers/block/xd.c | <= xd[MINOR(CURRENT->rq_dev)].nr_sects) { |
rq_dev | 222 | drivers/block/xd.c | block = CURRENT->sector + xd[MINOR(CURRENT->rq_dev)].start_sect; |
rq_dev | 195 | drivers/cdrom/aztcd.c | (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \ |
rq_dev | 1540 | drivers/cdrom/cdu31a.c | in.i_rdev = CURRENT->rq_dev; |
rq_dev | 1547 | drivers/cdrom/cdu31a.c | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) |
rq_dev | 267 | drivers/cdrom/gscd.c | dev = MINOR(CURRENT->rq_dev); |
rq_dev | 281 | drivers/cdrom/gscd.c | if (MINOR(CURRENT -> rq_dev) != 0) |
rq_dev | 132 | drivers/cdrom/mcd.c | (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \ |
rq_dev | 548 | drivers/cdrom/mcdx.c | stuffp = mcdx_stuffp[MINOR(CURRENT->rq_dev)]; |
rq_dev | 552 | drivers/cdrom/mcdx.c | dev = MINOR(CURRENT->rq_dev); |
rq_dev | 556 | drivers/cdrom/mcdx.c | kdevname(CURRENT->rq_dev))); |
rq_dev | 4317 | drivers/cdrom/sbpcd.c | i = MINOR(CURRENT->rq_dev); |
rq_dev | 4321 | drivers/cdrom/sbpcd.c | kdevname(CURRENT->rq_dev)); |
rq_dev | 980 | drivers/cdrom/sjcd.c | ( CURRENT != NULL && MAJOR( CURRENT->rq_dev ) == MAJOR_NR && \ |
rq_dev | 807 | drivers/cdrom/sonycd535.c | dev = MINOR(CURRENT->rq_dev); |
rq_dev | 1152 | drivers/scsi/aha1542.c | kdevname(SCpnt->request.rq_dev)); |
rq_dev | 1159 | drivers/scsi/aha1542.c | kdevname(SCpnt->request.rq_dev)); |
rq_dev | 413 | drivers/scsi/constants.c | kdevname(SCpnt->request.rq_dev), snstext[sense_buffer[2] & 0x0f]); |
rq_dev | 416 | drivers/scsi/constants.c | kdevname(SCpnt->request.rq_dev), sense_buffer[0], sense_buffer[2]); |
rq_dev | 445 | drivers/scsi/constants.c | kdevname(SCpnt->request.rq_dev), snstext[sense_buffer[0] & 0x0f]); |
rq_dev | 449 | drivers/scsi/constants.c | kdevname(SCpnt->request.rq_dev), sense_buffer[0], sense_buffer[2]); |
rq_dev | 978 | drivers/scsi/scsi.c | dev = req->rq_dev; |
rq_dev | 1027 | drivers/scsi/scsi.c | if (req && (req->rq_status == RQ_INACTIVE || req->rq_dev != dev)) { |
rq_dev | 1717 | drivers/scsi/scsi.c | if (MAJOR(SCpnt->request.rq_dev) != SCSI_DISK_MAJOR && |
rq_dev | 1718 | drivers/scsi/scsi.c | MAJOR(SCpnt->request.rq_dev) != SCSI_CDROM_MAJOR) { |
rq_dev | 3080 | drivers/scsi/scsi.c | kdevname(SCpnt->request.rq_dev), |
rq_dev | 3106 | drivers/scsi/scsi.c | kdevname(req->rq_dev), |
rq_dev | 467 | drivers/scsi/scsi.h | kdevname(req->rq_dev), req->sector); |
rq_dev | 492 | drivers/scsi/scsi.h | DEVICE_OFF(req->rq_dev); |
rq_dev | 522 | drivers/scsi/scsi.h | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \ |
rq_dev | 87 | drivers/scsi/scsi_debug.c | if ((MINOR(SCpnt->request.rq_dev) & 0xf) != 0) start = starts[(MINOR(SCpnt->request.rq_dev) & 0xf) - 1]; \ |
rq_dev | 94 | drivers/scsi/scsi_debug.c | if (bh->b_dev != SCpnt->request.rq_dev) \ |
rq_dev | 101 | drivers/scsi/scsi_debug.c | if ((MINOR(SCpnt->request.rq_dev) & 0xf) > npart) panic ("Bad partition"); \ |
rq_dev | 102 | drivers/scsi/scsi_debug.c | if ((MINOR(SCpnt->request.rq_dev) & 0xf) != 0) start = starts[(MINOR(SCpnt->request.rq_dev) & 0xf) - 1]; \ |
rq_dev | 112 | drivers/scsi/scsi_debug.c | if (SCpnt->request.bh->b_dev != SCpnt->request.rq_dev) \ |
rq_dev | 254 | drivers/scsi/scsi_debug.c | if(NR_REAL < 0) NR_REAL = (MINOR(SCpnt->request.rq_dev) >> 4) & 0x0f; |
rq_dev | 222 | drivers/scsi/sd.c | printk("sd%c : rw_intr(%d, %d)\n", 'a' + MINOR(SCpnt->request.rq_dev), |
rq_dev | 235 | drivers/scsi/sd.c | printk("sd%c : %d sectors remain.\n", 'a' + MINOR(SCpnt->request.rq_dev), |
rq_dev | 283 | drivers/scsi/sd.c | 'a' + MINOR(SCpnt->request.rq_dev)); |
rq_dev | 335 | drivers/scsi/sd.c | if rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].remap |
rq_dev | 345 | drivers/scsi/sd.c | if(rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->removable) { |
rq_dev | 349 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->changed = 1; |
rq_dev | 376 | drivers/scsi/sd.c | if (rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].ten) { |
rq_dev | 377 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].ten = 0; |
rq_dev | 387 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->host->host_no, |
rq_dev | 388 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->channel, |
rq_dev | 389 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->id, |
rq_dev | 390 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->lun, result); |
rq_dev | 423 | drivers/scsi/sd.c | SDev = rscsi_disks[DEVICE_NR(CURRENT->rq_dev)].device; |
rq_dev | 460 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(CURRENT->rq_dev)].device, 0); |
rq_dev | 485 | drivers/scsi/sd.c | SCpnt = request_queueable(req, rscsi_disks[DEVICE_NR(req->rq_dev)].device); |
rq_dev | 522 | drivers/scsi/sd.c | devm = MINOR(SCpnt->request.rq_dev); |
rq_dev | 523 | drivers/scsi/sd.c | dev = DEVICE_NR(SCpnt->request.rq_dev); |
rq_dev | 268 | drivers/scsi/sg.c | int dev = MINOR(SCpnt->request.rq_dev); |
rq_dev | 415 | drivers/scsi/sg.c | SCpnt->request.rq_dev = devt; |
rq_dev | 244 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].device->changed = 1; |
rq_dev | 256 | drivers/scsi/sr.c | if (scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].ten) { |
rq_dev | 257 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].ten = 0; |
rq_dev | 280 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].device->host->host_no, |
rq_dev | 281 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].device->id, |
rq_dev | 282 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].device->lun, |
rq_dev | 573 | drivers/scsi/sr.c | SDev = scsi_CDs[DEVICE_NR(CURRENT->rq_dev)].device; |
rq_dev | 597 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(CURRENT->rq_dev)].device, 0); |
rq_dev | 616 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(req->rq_dev)].device); |
rq_dev | 654 | drivers/scsi/sr.c | dev = MINOR(SCpnt->request.rq_dev); |
rq_dev | 111 | drivers/scsi/st.c | int dev = TAPE_NR(SCpnt->request.rq_dev); |
rq_dev | 188 | drivers/scsi/st.c | if ((st_nbr = TAPE_NR(SCpnt->request.rq_dev)) < st_template.nr_dev) { |
rq_dev | 243 | drivers/scsi/st.c | SCpnt->request.rq_dev = STp->devt; |
rq_dev | 973 | drivers/scsi/st.c | SCpnt->request.rq_dev = STp->devt; |
rq_dev | 22 | include/linux/blk.h | ((s1)->rq_dev < (s2)->rq_dev || (((s1)->rq_dev == (s2)->rq_dev && \ |
rq_dev | 33 | include/linux/blk.h | blksize_size[MAJOR_NR][MINOR(CURRENT->rq_dev)] ? \ |
rq_dev | 34 | include/linux/blk.h | ((blksize_size[MAJOR_NR][MINOR(CURRENT->rq_dev)] >> 9) - 1) : \ |
rq_dev | 290 | include/linux/blk.h | #define CURRENT_DEV DEVICE_NR(CURRENT->rq_dev) |
rq_dev | 329 | include/linux/blk.h | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \ |
rq_dev | 359 | include/linux/blk.h | kdevname(req->rq_dev), req->sector); |
rq_dev | 382 | include/linux/blk.h | add_blkdev_randomness(MAJOR(req->rq_dev)); |
rq_dev | 385 | include/linux/blk.h | blk_dev[MAJOR(req->rq_dev)].current_request = req->next; |
rq_dev | 388 | include/linux/blk.h | DEVICE_OFF(req->rq_dev); |
rq_dev | 22 | include/linux/blkdev.h | kdev_t rq_dev; |
rq_dev | 173 | include/linux/optcd.h | (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR \ |