tag | line | file | source code |
rq_dev | 2348 | drivers/block/floppy.c | set_fdc(DRIVE(CURRENT->rq_dev)); |
rq_dev | 2611 | drivers/block/floppy.c | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) |
rq_dev | 2616 | 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 | 1187 | drivers/block/ide-cd.c | int minor = MINOR (rq->rq_dev); |
rq_dev | 1194 | drivers/block/ide-cd.c | rq->rq_dev = MKDEV (MAJOR(rq->rq_dev), minor); |
rq_dev | 1745 | drivers/block/ide-tape.c | blk_dev[MAJOR(rq->rq_dev)].current_request = rq->next; |
rq_dev | 2899 | 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 | 2940 | drivers/block/ide-tape.c | if (rq->next != NULL && rq->rq_dev != rq->next->rq_dev) |
rq_dev | 757 | drivers/block/ide.c | blk_dev[MAJOR(rq->rq_dev)].current_request = rq->next; |
rq_dev | 1312 | drivers/block/ide.c | minor = MINOR(rq->rq_dev); |
rq_dev | 1314 | drivers/block/ide.c | if (MAJOR(rq->rq_dev) != hwif->major || unit >= MAX_DRIVES) { |
rq_dev | 1316 | 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 | 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 | 239 | drivers/block/ll_rw_blk.c | switch (MAJOR(req->rq_dev)) { |
rq_dev | 241 | drivers/block/ll_rw_blk.c | disk_index = (MINOR(req->rq_dev) & 0x0070) >> 4; |
rq_dev | 247 | drivers/block/ll_rw_blk.c | disk_index = (MINOR(req->rq_dev) & 0x0040) >> 6; |
rq_dev | 251 | drivers/block/ll_rw_blk.c | disk_index = ((MINOR(req->rq_dev) & 0x0040) >> 6) + 2; |
rq_dev | 279 | drivers/block/ll_rw_blk.c | if (scsi_major(MAJOR(req->rq_dev)) && MAJOR(req->rq_dev)!=MD_MAJOR) |
rq_dev | 366 | drivers/block/ll_rw_blk.c | if (req->rq_dev == bh->b_dev && |
rq_dev | 381 | 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 | 395 | drivers/block/md.c | chunksize=1 << FACTOR_SHIFT(FACTOR(md_dev+MINOR(req->rq_dev))); |
rq_dev | 396 | drivers/block/md.c | if (reqsize==chunksize) (md_dev+MINOR(req->rq_dev))->equal_count++; |
rq_dev | 397 | drivers/block/md.c | if (reqsize<chunksize) (md_dev+MINOR(req->rq_dev))->smallest_count++; |
rq_dev | 398 | drivers/block/md.c | if (reqsize>chunksize) (md_dev+MINOR(req->rq_dev))->biggest_count++; |
rq_dev | 404 | drivers/block/md.c | minor = MINOR(req->rq_dev); |
rq_dev | 405 | drivers/block/md.c | if ((MAJOR(req->rq_dev) != MD_MAJOR) || (minor >= MAX_REAL)) |
rq_dev | 407 | drivers/block/md.c | printk("md: bad device number: 0x%04x\n", req->rq_dev); |
rq_dev | 453 | drivers/block/md.c | major=MAJOR(dev=pending[i].rq_dev); |
rq_dev | 476 | drivers/block/md.c | if (req->rq_dev == dev && |
rq_dev | 490 | 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 | 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 | 133 | drivers/cdrom/mcd.c | (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \ |
rq_dev | 550 | drivers/cdrom/mcdx.c | stuffp = mcdx_stuffp[MINOR(CURRENT->rq_dev)]; |
rq_dev | 554 | drivers/cdrom/mcdx.c | dev = MINOR(CURRENT->rq_dev); |
rq_dev | 558 | drivers/cdrom/mcdx.c | kdevname(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 | 987 | drivers/scsi/scsi.c | dev = req->rq_dev; |
rq_dev | 1036 | drivers/scsi/scsi.c | if (req && (req->rq_status == RQ_INACTIVE || req->rq_dev != dev)) { |
rq_dev | 1726 | drivers/scsi/scsi.c | if (MAJOR(SCpnt->request.rq_dev) != SCSI_DISK_MAJOR && |
rq_dev | 1727 | drivers/scsi/scsi.c | MAJOR(SCpnt->request.rq_dev) != SCSI_CDROM_MAJOR) { |
rq_dev | 3095 | drivers/scsi/scsi.c | kdevname(SCpnt->request.rq_dev), |
rq_dev | 3121 | 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 | 312 | include/linux/blk.h | #define CURRENT_DEV DEVICE_NR(CURRENT->rq_dev) |
rq_dev | 353 | include/linux/blk.h | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \ |
rq_dev | 385 | include/linux/blk.h | kdevname(req->rq_dev), req->sector); |
rq_dev | 408 | include/linux/blk.h | add_blkdev_randomness(MAJOR(req->rq_dev)); |
rq_dev | 411 | include/linux/blk.h | blk_dev[MAJOR(req->rq_dev)].current_request = req->next; |
rq_dev | 414 | include/linux/blk.h | DEVICE_OFF(req->rq_dev); |
rq_dev | 22 | include/linux/blkdev.h | kdev_t rq_dev; |