taglinefilesource code
MINOR38drivers/block/blk.hblksize_size[MAJOR_NR][MINOR(CURRENT->dev)] ? \
MINOR39drivers/block/blk.h((blksize_size[MAJOR_NR][MINOR(CURRENT->dev)] >> 9) - 1) :  \
MINOR85drivers/block/blk.h#define DEVICE_NR(device)  (MINOR(device) >> PARTN_BITS)
MINOR117drivers/block/blk.h#define DEVICE_NR(device) (MINOR(device)>>6)
MINOR127drivers/block/blk.h#define DEVICE_NR(device) (MINOR(device) >> 4)
MINOR135drivers/block/blk.h#define DEVICE_NR(device) (MINOR(device) & 0x7f)
MINOR144drivers/block/blk.h#define DEVICE_NR(device) (MINOR(device))
MINOR152drivers/block/blk.h#define DEVICE_NR(device) (MINOR(device) >> 6)
MINOR160drivers/block/blk.h#define DEVICE_NR(device) (MINOR(device))
MINOR169drivers/block/blk.h#define DEVICE_NR(device) (MINOR(device))
MINOR177drivers/block/blk.h#define DEVICE_NR(device) (MINOR(device))
MINOR185drivers/block/blk.h#define DEVICE_NR(device) (MINOR(device))
MINOR193drivers/block/blk.h#define DEVICE_NR(device) (MINOR(device))
MINOR201drivers/block/blk.h#define DEVICE_NR(device) (MINOR(device))
MINOR344drivers/block/cdu31a.ctarget = MINOR(full_dev);
MINOR1443drivers/block/cdu31a.cdev = MINOR(CURRENT->dev);
MINOR2178drivers/block/cdu31a.cdev = MINOR(inode->i_rdev);
MINOR2592drivers/block/cdu31a.cdev = MINOR(inode->i_rdev);
MINOR3079drivers/block/floppy.cint size = floppy_blocksizes[MINOR(dev)];
MINOR56drivers/block/genhd.cfirst_sector = hd->part[MINOR(dev)].start_sect;
MINOR115drivers/block/genhd.cfirst_sector = hd->part[MINOR(dev)].start_sect;
MINOR122drivers/block/genhd.chd->part[MINOR(dev)].start_sect = 0;
MINOR716drivers/block/hd.cdev = MINOR(CURRENT->dev);
MINOR807drivers/block/hd.cput_fs_long(hd[MINOR(inode->i_rdev)].start_sect,
MINOR827drivers/block/hd.cput_fs_long(hd[MINOR(inode->i_rdev)].nr_sects, (long *) arg);
MINOR840drivers/block/hd.cif ((arg > 1) || (MINOR(inode->i_rdev) & 0x3F))
MINOR863drivers/block/hd.cif (MINOR(inode->i_rdev) & 0x3F) return -EINVAL;
MINOR881drivers/block/hd.cif (MINOR(inode->i_rdev) & 0x3F) return -EINVAL;
MINOR1044drivers/block/ide.cminor = MINOR(rq->dev);
MINOR1406drivers/block/ide.cput_fs_long((unsigned)ide_hd[DEV_HWIF][MINOR(inode->i_rdev)].start_sect,
MINOR1426drivers/block/ide.creturn write_fs_long(arg, ide_hd[DEV_HWIF][MINOR(inode->i_rdev)].nr_sects);
MINOR1440drivers/block/ide.cif (!arg || (MINOR(inode->i_rdev) & PARTN_MASK))
MINOR1451drivers/block/ide.cif ((arg > 1) || (MINOR(inode->i_rdev) & PARTN_MASK))
MINOR1461drivers/block/ide.cif ((arg > 1) || (MINOR(inode->i_rdev) & PARTN_MASK))
MINOR1471drivers/block/ide.cif (MINOR(inode->i_rdev) & PARTN_MASK)
MINOR155drivers/block/ll_rw_blk.cminor = MINOR(dev);
MINOR165drivers/block/ll_rw_blk.cminor = MINOR(dev);
MINOR182drivers/block/ll_rw_blk.ccase SCSI_DISK_MAJOR:  disk_index = (MINOR(req->dev) & 0x0070) >> 4;
MINOR187drivers/block/ll_rw_blk.ccase XT_DISK_MAJOR:  disk_index = (MINOR(req->dev) & 0x0040) >> 6;
MINOR190drivers/block/ll_rw_blk.ccase IDE1_MAJOR:  disk_index = ((MINOR(req->dev) & 0x0040) >> 6) + 2;
MINOR245drivers/block/ll_rw_blk.cif (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) {
MINOR422drivers/block/ll_rw_blk.ci = blksize_size[major][MINOR(bh[0]->b_dev)];
MINOR170drivers/block/mcd.ctarget = MINOR(full_dev);
MINOR41drivers/block/ramdisk.cif ((MINOR(CURRENT->dev) != RAMDISK_MINOR) ||
MINOR2939drivers/block/sbpcd.cMINOR(inode->i_rdev), cmd, arg));
MINOR2941drivers/block/sbpcd.ci=MINOR(inode->i_rdev);
MINOR3485drivers/block/sbpcd.cdev = MINOR(CURRENT->dev);
MINOR3832drivers/block/sbpcd.ci = MINOR(ip->i_rdev);
MINOR3900drivers/block/sbpcd.ci = MINOR(ip->i_rdev);
MINOR4281drivers/block/sbpcd.cDPRINTF((DBG_CHK,"SBPCD: media_check (%d) called\n", MINOR(full_dev)));
MINOR4284drivers/block/sbpcd.cif ((MAJOR(full_dev)!=MAJOR_NR)||(MINOR(full_dev)>=NR_SBPCD))
MINOR4290drivers/block/sbpcd.cswitch_drive(MINOR(full_dev));
MINOR194drivers/block/xd.cint dev = DEVICE_NR(MINOR(inode->i_rdev));
MINOR218drivers/block/xd.cif (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd[MINOR(CURRENT->dev)].nr_sects) {
MINOR219drivers/block/xd.cblock = CURRENT->sector + xd[MINOR(CURRENT->dev)].start_sect;
MINOR240drivers/block/xd.cint dev = DEVICE_NR(MINOR(inode->i_rdev)),err;
MINOR251drivers/block/xd.cput_fs_long(xd[MINOR(inode->i_rdev)].start_sect,(long *) &geometry->start);
MINOR266drivers/block/xd.cput_fs_long(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg);
MINOR288drivers/block/xd.cint dev = DEVICE_NR(MINOR(inode->i_rdev));
MINOR299drivers/block/xd.cint target = DEVICE_NR(MINOR(dev)),start = target << xd_gendisk.minor_shift,partition;
MINOR1321drivers/char/console.cconsole_num = MINOR(tty->device) - (tty->driver.minor_start);
MINOR1336drivers/char/console.cconsole_num = MINOR(tty->device) - (tty->driver.minor_start);
MINOR2203drivers/char/console.cidx = MINOR(tty->device) - tty->driver.minor_start;
MINOR357drivers/char/cyclades.cprintk(badinfo, MAJOR(device), MINOR(device), routine);
MINOR363drivers/char/cyclades.cprintk(badrange, MAJOR(device), MINOR(device), routine);
MINOR368drivers/char/cyclades.cprintk(badmagic, MAJOR(device), MINOR(device), routine);
MINOR2290drivers/char/cyclades.cline = MINOR(tty->device) - tty->driver.minor_start;
MINOR159drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
MINOR226drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
MINOR298drivers/char/lp.cif (LP_IRQ(MINOR(inode->i_rdev)))
MINOR312drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
MINOR365drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
MINOR384drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
MINOR311drivers/char/mem.cswitch (MINOR(inode->i_rdev)) {
MINOR40drivers/char/mouse.cint minor = MINOR(inode->i_rdev);
MINOR189drivers/char/pty.cline = MINOR(tty->device) - tty->driver.minor_start;
MINOR213drivers/char/serial.cprintk(badinfo, MAJOR(device), MINOR(device), routine);
MINOR217drivers/char/serial.cprintk(badmagic, MAJOR(device), MINOR(device), routine);
MINOR2084drivers/char/serial.cline = MINOR(tty->device) - tty->driver.minor_start;
MINOR1933drivers/char/tpqic02.cMINOR(dev), buf, count, (unsigned long) filp->f_pos, flags);
MINOR2107drivers/char/tpqic02.cMINOR(dev), buf, count, (unsigned long) filp->f_pos, flags);
MINOR2256drivers/char/tpqic02.cif (MINOR(dev)==255)  /* special case for resetting */
MINOR123drivers/char/tty_io.cMINOR(tty->device) - tty->driver.minor_start +
MINOR147drivers/char/tty_io.cprintk(badtty, MAJOR(device), MINOR(device), routine);
MINOR151drivers/char/tty_io.cprintk(badmagic, MAJOR(device), MINOR(device), routine);
MINOR177drivers/char/tty_io.cMAJOR(tty->device), MINOR(tty->device), tty->count,
MINOR252drivers/char/tty_io.cminor = MINOR(device);
MINOR771drivers/char/tty_io.cidx = MINOR(device) - driver->minor_start;
MINOR947drivers/char/tty_io.cidx = MINOR(tty->device) - tty->driver.minor_start;
MINOR951drivers/char/tty_io.cMAJOR(tty->device), MINOR(tty->device));
MINOR956drivers/char/tty_io.cidx, MAJOR(tty->device), MINOR(tty->device));
MINOR961drivers/char/tty_io.cidx, MAJOR(tty->device), MINOR(tty->device));
MINOR966drivers/char/tty_io.cidx, MAJOR(tty->device), MINOR(tty->device));
MINOR984drivers/char/tty_io.cidx, MAJOR(tty->device), MINOR(tty->device));
MINOR989drivers/char/tty_io.cidx, MAJOR(tty->device), MINOR(tty->device));
MINOR994drivers/char/tty_io.cidx, MAJOR(tty->device), MINOR(tty->device));
MINOR1132drivers/char/tty_io.cminor = MINOR(device);
MINOR2065drivers/scsi/53c7,8xx.cfor (dev = MINOR(inode->rdev), host = first_host;
MINOR1572drivers/scsi/fdomain.cdrive = MINOR(dev) / 16;
MINOR76drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(inode->i_rdev));
MINOR101drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(inode->i_rdev));
MINOR165drivers/scsi/sd.cprintk("sd%c : rw_intr(%d, %d)\n", 'a' + MINOR(SCpnt->request.dev), SCpnt->host->host_no, result);
MINOR177drivers/scsi/sd.cprintk("sd%c : %d sectors remain.\n", 'a' + MINOR(SCpnt->request.dev), SCpnt->request.nr_sectors);
MINOR220drivers/scsi/sd.c'a' + MINOR(SCpnt->request.dev));
MINOR363drivers/scsi/sd.crscsi_disks[DEVICE_NR(MINOR(CURRENT->dev))].device, 0); 
MINOR382drivers/scsi/sd.crscsi_disks[DEVICE_NR(MINOR(req->dev))].device);
MINOR419drivers/scsi/sd.cdev =  MINOR(SCpnt->request.dev);
MINOR449drivers/scsi/sd.cprintk("sd%c : real dev = /dev/sd%c, block = %d\n", 'a' + MINOR(SCpnt->request.dev), dev, block);
MINOR715drivers/scsi/sd.cprintk("sd%c : %s %d/%d 512 byte blocks.\n", 'a' + MINOR(SCpnt->request.dev),
MINOR782drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(full_dev));
MINOR1162drivers/scsi/sd.ctarget =  DEVICE_NR(MINOR(dev));
MINOR31drivers/scsi/sd_ioctl.chost = rscsi_disks[MINOR(dev) >> 4].device->host;
MINOR36drivers/scsi/sd_ioctl.chost->hostt->bios_param(&rscsi_disks[MINOR(dev) >> 4],
MINOR45drivers/scsi/sd_ioctl.cput_fs_long(sd[MINOR(inode->i_rdev)].start_sect,
MINOR53drivers/scsi/sd_ioctl.cput_fs_long(sd[MINOR(inode->i_rdev)].nr_sects,
MINOR72drivers/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg);
MINOR66drivers/scsi/sg.cint dev = MINOR(inode->i_rdev);
MINOR83drivers/scsi/sg.cint dev=MINOR(inode->i_rdev);
MINOR127drivers/scsi/sg.cint dev=MINOR(inode->i_rdev);
MINOR170drivers/scsi/sg.cint dev=MINOR(inode->i_rdev);
MINOR228drivers/scsi/sg.cint dev=MINOR(inode->i_rdev);
MINOR62drivers/scsi/sr.cif(! --scsi_CDs[MINOR(inode->i_rdev)].device->access_count)
MINOR98drivers/scsi/sr.ctarget =  MINOR(full_dev);
MINOR311drivers/scsi/sr.cif (1 == scsi_CDs[MINOR(inode->i_rdev)].device->access_count)
MINOR312drivers/scsi/sr.cscsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = 0;
MINOR316drivers/scsi/sr.cswitch(scsi_CDs[MINOR(inode->i_rdev)].device->manufacturer) {
MINOR328drivers/scsi/sr.crc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device,
MINOR361drivers/scsi/sr.crc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device,
MINOR398drivers/scsi/sr.cscsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = sector;
MINOR404drivers/scsi/sr.cif(MINOR(inode->i_rdev) >= sr_template.nr_dev || 
MINOR405drivers/scsi/sr.c!scsi_CDs[MINOR(inode->i_rdev)].device) return -ENXIO;   /* No such device */
MINOR412drivers/scsi/sr.cif(!scsi_CDs[MINOR(inode->i_rdev)].device->access_count++)
MINOR420drivers/scsi/sr.cif(scsi_CDs[MINOR(inode->i_rdev)].needs_sector_size)
MINOR421drivers/scsi/sr.cget_sectorsize(MINOR(inode->i_rdev));
MINOR455drivers/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(CURRENT->dev))].device, 0); 
MINOR474drivers/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(req->dev))].device);
MINOR512drivers/scsi/sr.cdev =  MINOR(SCpnt->request.dev);
MINOR98drivers/scsi/sr_ioctl.ctarget = MINOR(dev);
MINOR350drivers/scsi/st.cdev = MINOR(inode->i_rdev) & 127;
MINOR398drivers/scsi/st.cdev = MINOR(inode->i_rdev) & 127;
MINOR610drivers/scsi/st.cdev = MINOR(inode->i_rdev);
MINOR691drivers/scsi/st.cdev = MINOR(inode->i_rdev) & 127;
MINOR924drivers/scsi/st.cdev = MINOR(inode->i_rdev) & 127;
MINOR1160drivers/scsi/st.cdev = MINOR(inode->i_rdev) & 127;
MINOR1202drivers/scsi/st.cint dev = MINOR(inode->i_rdev);
MINOR1625drivers/scsi/st.cint dev = MINOR(inode->i_rdev);
MINOR65drivers/sound/soundcard.cdev = MINOR (dev);
MINOR76drivers/sound/soundcard.cdev = MINOR (dev);
MINOR93drivers/sound/soundcard.cdev = MINOR (dev);
MINOR119drivers/sound/soundcard.cdev = MINOR (dev);
MINOR131drivers/sound/soundcard.cdev = MINOR (dev);
MINOR142drivers/sound/soundcard.cdev = MINOR (dev);
MINOR41fs/block_dev.cif (blksize_size[MAJOR(dev)] && blksize_size[MAJOR(dev)][MINOR(dev)])
MINOR42fs/block_dev.cblocksize = blksize_size[MAJOR(dev)][MINOR(dev)];
MINOR57fs/block_dev.csize = ((loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS) >> blocksize_bits;
MINOR178fs/block_dev.cif (blksize_size[MAJOR(dev)] && blksize_size[MAJOR(dev)][MINOR(dev)])
MINOR179fs/block_dev.cblocksize = blksize_size[MAJOR(dev)][MINOR(dev)];
MINOR189fs/block_dev.csize = (loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS;
MINOR420fs/buffer.cMAJOR(dev), MINOR(dev));
MINOR461fs/buffer.cif (blksize_size[MAJOR(dev)][MINOR(dev)] == 0 && size == BLOCK_SIZE) {
MINOR462fs/buffer.cblksize_size[MAJOR(dev)][MINOR(dev)] = size;
MINOR465fs/buffer.cif (blksize_size[MAJOR(dev)][MINOR(dev)] == size)
MINOR468fs/buffer.cblksize_size[MAJOR(dev)][MINOR(dev)] = size;
MINOR804fs/buffer.cMAJOR(dev), MINOR(dev));
MINOR156fs/devices.cMAJOR(dev), MINOR(dev));
MINOR48fs/ext2/super.cMAJOR(sb->s_dev), MINOR(sb->s_dev), function, buf);
MINOR50fs/ext2/super.cMAJOR(sb->s_dev), MINOR(sb->s_dev), function, buf);
MINOR75fs/ext2/super.cMAJOR(sb->s_dev), MINOR(sb->s_dev), function, buf);
MINOR88fs/ext2/super.cMAJOR(sb->s_dev), MINOR(sb->s_dev), function, buf);
MINOR439fs/ext2/super.cMAJOR(dev), MINOR(dev));
MINOR534fs/ext2/super.cMAJOR(dev), MINOR(dev));
MINOR351fs/inode.cprintk("VFS: inode busy on removed device %d/%d\n", MAJOR(dev), MINOR(dev));
MINOR381fs/inode.cMAJOR(inode->i_rdev), MINOR(inode->i_rdev),
MINOR411fs/inode.cinode->i_ino, MAJOR(inode->i_dev), MINOR(inode->i_dev));
MINOR181fs/msdos/inode.cblksize = hardsect_size[MAJOR(sb->s_dev)][MINOR(sb->s_dev)];
MINOR579fs/proc/array.cMAJOR(dev),MINOR(dev), ino);
MINOR242fs/super.cMAJOR(dev), MINOR(dev));
MINOR249fs/super.cMAJOR(dev), MINOR(dev));
MINOR270fs/super.cMAJOR(dev), MINOR(dev), name);
MINOR316fs/super.cclear_bit(MINOR(dev), unnamed_dev_in_use))
MINOR319fs/super.cMAJOR(dev), MINOR(dev));
MINOR344fs/super.cMAJOR(dev), MINOR(dev));
MINOR695fs/super.cMAJOR(ROOT_DEV), MINOR(ROOT_DEV));
MINOR83fs/sysv/ialloc.cprintk("sysv_free_inode: unable to read inode block on device %d/%d\n",MAJOR(inode->i_dev),MINOR(inode->i_dev));
MINOR404fs/sysv/inode.cprintk("VFS: unable to read Xenix/SystemV/Coherent superblock on device %d/%d\n",MAJOR(dev),MINOR(dev));
MINOR481fs/sysv/inode.cprintk("VFS: Found a %s FS (block size = %d) on device %d/%d\n",found,sb->sv_block_size,MAJOR(dev),MINOR(dev));
MINOR522include/linux/tpqic02.h#define  TP_REWCLOSE(d)  ((MINOR(d)&0x01) == 1)         /* rewind bit */
MINOR524include/linux/tpqic02.h#define  TP_DENS(dev)  ((MINOR(dev) >> 1) & 0x07)         /* tape density */
MINOR525include/linux/tpqic02.h#define TP_UNIT(dev)  ((MINOR(dev) >> 4) & 0x07)         /* unit number */