tag | line | file | source code |
rq_dev | 2342 | drivers/block/floppy.c | set_fdc(DRIVE(CURRENT->rq_dev)); |
rq_dev | 2605 | drivers/block/floppy.c | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) |
rq_dev | 2610 | 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 | 1188 | drivers/block/ide-cd.c | int minor = MINOR (rq->rq_dev); |
rq_dev | 1195 | drivers/block/ide-cd.c | rq->rq_dev = MKDEV (MAJOR(rq->rq_dev), minor); |
rq_dev | 1746 | drivers/block/ide-tape.c | blk_dev[MAJOR(rq->rq_dev)].current_request = rq->next; |
rq_dev | 2906 | 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 | 2947 | drivers/block/ide-tape.c | if (rq->next != NULL && rq->rq_dev != rq->next->rq_dev) |
rq_dev | 786 | drivers/block/ide.c | blk_dev[MAJOR(rq->rq_dev)].current_request = rq->next; |
rq_dev | 1361 | drivers/block/ide.c | minor = MINOR(rq->rq_dev); |
rq_dev | 1363 | drivers/block/ide.c | if (MAJOR(rq->rq_dev) != hwif->major || unit >= MAX_DRIVES) { |
rq_dev | 1365 | drivers/block/ide.c | hwif->name, kdevname(rq->rq_dev)); |
rq_dev | 1683 | drivers/block/ide.c | rq->rq_dev = ????; |
rq_dev | 1725 | drivers/block/ide.c | rq->rq_dev = MKDEV(major,(drive->select.b.unit)<<PARTN_BITS); |
rq_dev | 139 | drivers/block/linear.c | req->rq_dev=tmp_dev->dev; |
rq_dev | 158 | drivers/block/linear.c | pending[queue].rq_dev=tmp_dev->dev; |
rq_dev | 143 | drivers/block/ll_rw_blk.c | req->rq_dev = dev; |
rq_dev | 238 | drivers/block/ll_rw_blk.c | switch (MAJOR(req->rq_dev)) { |
rq_dev | 240 | drivers/block/ll_rw_blk.c | disk_index = (MINOR(req->rq_dev) & 0x0070) >> 4; |
rq_dev | 246 | drivers/block/ll_rw_blk.c | disk_index = (MINOR(req->rq_dev) & 0x0040) >> 6; |
rq_dev | 250 | drivers/block/ll_rw_blk.c | disk_index = ((MINOR(req->rq_dev) & 0x0040) >> 6) + 2; |
rq_dev | 278 | drivers/block/ll_rw_blk.c | if (scsi_major(MAJOR(req->rq_dev)) && MAJOR(req->rq_dev)!=MD_MAJOR) |
rq_dev | 365 | drivers/block/ll_rw_blk.c | if (req->rq_dev == bh->b_dev && |
rq_dev | 380 | drivers/block/ll_rw_blk.c | if (req->rq_dev == bh->b_dev && |
rq_dev | 155 | drivers/block/loop.c | if (MINOR(CURRENT->rq_dev) >= MAX_LOOP) |
rq_dev | 157 | drivers/block/loop.c | lo = &loop_dev[MINOR(CURRENT->rq_dev)]; |
rq_dev | 410 | drivers/block/md.c | chunksize=1 << FACTOR_SHIFT(FACTOR(md_dev+MINOR(req->rq_dev))); |
rq_dev | 411 | drivers/block/md.c | if (reqsize==chunksize) (md_dev+MINOR(req->rq_dev))->equal_count++; |
rq_dev | 412 | drivers/block/md.c | if (reqsize<chunksize) (md_dev+MINOR(req->rq_dev))->smallest_count++; |
rq_dev | 413 | drivers/block/md.c | if (reqsize>chunksize) (md_dev+MINOR(req->rq_dev))->biggest_count++; |
rq_dev | 419 | drivers/block/md.c | minor = MINOR(req->rq_dev); |
rq_dev | 420 | drivers/block/md.c | if ((MAJOR(req->rq_dev) != MD_MAJOR) || (minor >= MAX_REAL)) |
rq_dev | 422 | drivers/block/md.c | printk("md: bad device: %s\n", kdevname(req->rq_dev)); |
rq_dev | 469 | drivers/block/md.c | major=MAJOR(dev=pending[i].rq_dev); |
rq_dev | 492 | drivers/block/md.c | if (req->rq_dev == dev && |
rq_dev | 506 | drivers/block/md.c | req->rq_dev == dev && |
rq_dev | 217 | drivers/block/raid0.c | req->rq_dev=tmp_dev->dev; |
rq_dev | 243 | drivers/block/raid0.c | pending[queue].rq_dev=tmp_dev->dev; |
rq_dev | 115 | 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 | 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 | 990 | drivers/scsi/scsi.c | dev = req->rq_dev; |
rq_dev | 1039 | drivers/scsi/scsi.c | if (req && (req->rq_status == RQ_INACTIVE || req->rq_dev != dev)) { |
rq_dev | 1744 | drivers/scsi/scsi.c | if (MAJOR(SCpnt->request.rq_dev) != SCSI_DISK_MAJOR && |
rq_dev | 1745 | drivers/scsi/scsi.c | MAJOR(SCpnt->request.rq_dev) != SCSI_CDROM_MAJOR) { |
rq_dev | 3114 | drivers/scsi/scsi.c | kdevname(SCpnt->request.rq_dev), |
rq_dev | 3140 | 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 | 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 | 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 | 978 | 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 | 322 | include/linux/blk.h | #define CURRENT_DEV DEVICE_NR(CURRENT->rq_dev) |
rq_dev | 363 | include/linux/blk.h | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \ |
rq_dev | 395 | include/linux/blk.h | kdevname(req->rq_dev), req->sector); |
rq_dev | 418 | include/linux/blk.h | add_blkdev_randomness(MAJOR(req->rq_dev)); |
rq_dev | 421 | include/linux/blk.h | blk_dev[MAJOR(req->rq_dev)].current_request = req->next; |
rq_dev | 424 | include/linux/blk.h | DEVICE_OFF(req->rq_dev); |
rq_dev | 23 | include/linux/blkdev.h | kdev_t rq_dev; |