tag | line | file | source code |
rq_dev | 1064 | drivers/block/amiflop.c | #define CURRENT_DEVICE (CURRENT->rq_dev) |
rq_dev | 1266 | drivers/block/amiflop.c | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) |
rq_dev | 1318 | drivers/block/ataflop.c | #define CURRENT_DEVICE (CURRENT->rq_dev) |
rq_dev | 1422 | drivers/block/ataflop.c | (unsigned long)CURRENT, CURRENT ? CURRENT->rq_dev : 0, |
rq_dev | 1436 | drivers/block/ataflop.c | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) |
rq_dev | 2453 | drivers/block/floppy.c | set_fdc(DRIVE(CURRENT->rq_dev)); |
rq_dev | 2717 | drivers/block/floppy.c | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) |
rq_dev | 2722 | 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 | 1161 | drivers/block/ide-cd.c | int minor = MINOR (rq->rq_dev); |
rq_dev | 1168 | drivers/block/ide-cd.c | rq->rq_dev = MKDEV (MAJOR(rq->rq_dev), minor); |
rq_dev | 1751 | drivers/block/ide-tape.c | blk_dev[MAJOR(rq->rq_dev)].current_request = rq->next; |
rq_dev | 2911 | 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 | 2952 | drivers/block/ide-tape.c | if (rq->next != NULL && rq->rq_dev != rq->next->rq_dev) |
rq_dev | 795 | drivers/block/ide.c | blk_dev[MAJOR(rq->rq_dev)].current_request = rq->next; |
rq_dev | 1380 | drivers/block/ide.c | minor = MINOR(rq->rq_dev); |
rq_dev | 1382 | drivers/block/ide.c | if (MAJOR(rq->rq_dev) != hwif->major || unit >= MAX_DRIVES) { |
rq_dev | 1384 | drivers/block/ide.c | hwif->name, kdevname(rq->rq_dev)); |
rq_dev | 1704 | drivers/block/ide.c | rq->rq_dev = ????; |
rq_dev | 1746 | drivers/block/ide.c | rq->rq_dev = MKDEV(major,(drive->select.b.unit)<<PARTN_BITS); |
rq_dev | 144 | drivers/block/ll_rw_blk.c | req->rq_dev = dev; |
rq_dev | 237 | drivers/block/ll_rw_blk.c | switch (MAJOR(req->rq_dev)) { |
rq_dev | 239 | drivers/block/ll_rw_blk.c | disk_index = (MINOR(req->rq_dev) & 0x0070) >> 4; |
rq_dev | 245 | drivers/block/ll_rw_blk.c | disk_index = (MINOR(req->rq_dev) & 0x0040) >> 6; |
rq_dev | 249 | drivers/block/ll_rw_blk.c | disk_index = ((MINOR(req->rq_dev) & 0x0040) >> 6) + 2; |
rq_dev | 275 | drivers/block/ll_rw_blk.c | if (scsi_major(MAJOR(req->rq_dev))) |
rq_dev | 379 | drivers/block/ll_rw_blk.c | if (req->rq_dev != bh->b_rdev) |
rq_dev | 157 | drivers/block/loop.c | if (MINOR(CURRENT->rq_dev) >= MAX_LOOP) |
rq_dev | 159 | drivers/block/loop.c | lo = &loop_dev[MINOR(CURRENT->rq_dev)]; |
rq_dev | 120 | 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 | 211 | 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 | 134 | drivers/cdrom/mcd.c | (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \ |
rq_dev | 559 | drivers/cdrom/mcdx.c | stuffp = mcdx_stuffp[MINOR(CURRENT->rq_dev)]; |
rq_dev | 563 | drivers/cdrom/mcdx.c | dev = MINOR(CURRENT->rq_dev); |
rq_dev | 567 | drivers/cdrom/mcdx.c | kdevname(CURRENT->rq_dev))); |
rq_dev | 600 | drivers/cdrom/mcdx.c | invalidate_buffers(CURRENT->rq_dev); |
rq_dev | 967 | drivers/cdrom/optcd.c | (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR \ |
rq_dev | 4429 | drivers/cdrom/sbpcd.c | i = MINOR(CURRENT->rq_dev); |
rq_dev | 4433 | drivers/cdrom/sbpcd.c | kdevname(CURRENT->rq_dev)); |
rq_dev | 920 | 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 | 1149 | drivers/scsi/aha1542.c | kdevname(SCpnt->request.rq_dev)); |
rq_dev | 1156 | 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 | 1035 | drivers/scsi/scsi.c | dev = req->rq_dev; |
rq_dev | 1083 | drivers/scsi/scsi.c | if (req && (req->rq_status == RQ_INACTIVE || req->rq_dev != dev)) { |
rq_dev | 1801 | drivers/scsi/scsi.c | if (MAJOR(SCpnt->request.rq_dev) != SCSI_DISK_MAJOR && |
rq_dev | 1802 | drivers/scsi/scsi.c | MAJOR(SCpnt->request.rq_dev) != SCSI_CDROM_MAJOR) { |
rq_dev | 3336 | drivers/scsi/scsi.c | kdevname(SCpnt->request.rq_dev), |
rq_dev | 3362 | drivers/scsi/scsi.c | kdevname(req->rq_dev), |
rq_dev | 500 | drivers/scsi/scsi.h | kdevname(req->rq_dev), req->sector); |
rq_dev | 525 | drivers/scsi/scsi.h | DEVICE_OFF(req->rq_dev); |
rq_dev | 555 | drivers/scsi/scsi.h | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \ |
rq_dev | 84 | drivers/scsi/scsi_debug.c | if ((MINOR(SCpnt->request.rq_dev) & 0xf) != 0) start = starts[(MINOR(SCpnt->request.rq_dev) & 0xf) - 1]; \ |
rq_dev | 91 | drivers/scsi/scsi_debug.c | if (bh->b_dev != SCpnt->request.rq_dev) \ |
rq_dev | 98 | drivers/scsi/scsi_debug.c | if ((MINOR(SCpnt->request.rq_dev) & 0xf) > npart) panic ("Bad partition"); \ |
rq_dev | 99 | drivers/scsi/scsi_debug.c | if ((MINOR(SCpnt->request.rq_dev) & 0xf) != 0) start = starts[(MINOR(SCpnt->request.rq_dev) & 0xf) - 1]; \ |
rq_dev | 109 | drivers/scsi/scsi_debug.c | if (SCpnt->request.bh->b_dev != SCpnt->request.rq_dev) \ |
rq_dev | 251 | 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 | 265 | drivers/scsi/sg.c | int dev = MINOR(SCpnt->request.rq_dev); |
rq_dev | 416 | drivers/scsi/sg.c | SCpnt->request.rq_dev = devt; |
rq_dev | 245 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].device->changed = 1; |
rq_dev | 257 | drivers/scsi/sr.c | if (scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].ten) { |
rq_dev | 258 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].ten = 0; |
rq_dev | 281 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].device->host->host_no, |
rq_dev | 282 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].device->id, |
rq_dev | 283 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].device->lun, |
rq_dev | 577 | drivers/scsi/sr.c | SDev = scsi_CDs[DEVICE_NR(CURRENT->rq_dev)].device; |
rq_dev | 601 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(CURRENT->rq_dev)].device, 0); |
rq_dev | 620 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(req->rq_dev)].device); |
rq_dev | 658 | drivers/scsi/sr.c | dev = MINOR(SCpnt->request.rq_dev); |
rq_dev | 123 | drivers/scsi/st.c | int dev = TAPE_NR(SCpnt->request.rq_dev); |
rq_dev | 201 | drivers/scsi/st.c | if ((st_nbr = TAPE_NR(SCpnt->request.rq_dev)) < st_template.nr_dev) { |
rq_dev | 256 | drivers/scsi/st.c | SCpnt->request.rq_dev = STp->devt; |
rq_dev | 1128 | drivers/scsi/st.c | SCpnt->request.rq_dev = STp->devt; |
rq_dev | 1609 | drivers/scsi/st.c | dev = TAPE_NR(SCpnt->request.rq_dev); |
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 | 318 | include/linux/blk.h | #define CURRENT_DEV DEVICE_NR(CURRENT->rq_dev) |
rq_dev | 357 | include/linux/blk.h | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \ |
rq_dev | 387 | include/linux/blk.h | kdevname(req->rq_dev), req->sector); |
rq_dev | 410 | include/linux/blk.h | add_blkdev_randomness(MAJOR(req->rq_dev)); |
rq_dev | 413 | include/linux/blk.h | blk_dev[MAJOR(req->rq_dev)].current_request = req->next; |
rq_dev | 416 | include/linux/blk.h | DEVICE_OFF(req->rq_dev); |
rq_dev | 23 | include/linux/blkdev.h | kdev_t rq_dev; |