tag | line | file | source code |
MINOR | 29 | fs/block_dev.c | size = blk_size[MAJOR(dev)][MINOR(dev)]; |
MINOR | 79 | fs/block_dev.c | size = blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS; |
MINOR | 172 | fs/buffer.c | MAJOR(dev), MINOR(dev)); |
MINOR | 275 | fs/buffer.c | MAJOR(dev), MINOR(dev)); |
MINOR | 410 | fs/buffer.c | MAJOR(dev), MINOR(dev)); |
MINOR | 436 | fs/buffer.c | MAJOR(dev), MINOR(dev)); |
MINOR | 168 | fs/inode.c | MAJOR(dev), MINOR(dev)); |
MINOR | 197 | fs/inode.c | MAJOR(inode->i_rdev), MINOR(inode->i_rdev), |
MINOR | 330 | fs/inode.c | MAJOR(inode->i_dev), MINOR(inode->i_dev)); |
MINOR | 471 | fs/open.c | tty = TTY_TABLE(MINOR(current->tty)); |
MINOR | 110 | fs/super.c | MAJOR(dev), MINOR(dev)); |
MINOR | 117 | fs/super.c | MAJOR(dev), MINOR(dev)); |
MINOR | 138 | fs/super.c | MAJOR(dev), MINOR(dev), name); |
MINOR | 192 | fs/super.c | MAJOR(dev), MINOR(dev)); |
MINOR | 208 | fs/super.c | MAJOR(dev), MINOR(dev)); |
MINOR | 120 | kernel/blk_drv/blk.h | #define DEVICE_NR(device) (MINOR(device)>>6) |
MINOR | 130 | kernel/blk_drv/blk.h | #define DEVICE_NR(device) (MINOR(device) >> 4) |
MINOR | 139 | kernel/blk_drv/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 148 | kernel/blk_drv/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 156 | kernel/blk_drv/blk.h | #define DEVICE_NR(device) (MINOR(device) >> 6) |
MINOR | 600 | kernel/blk_drv/floppy.c | int drive = MINOR(CURRENT->dev); |
MINOR | 951 | kernel/blk_drv/floppy.c | device = MINOR(CURRENT_DEVICE); |
MINOR | 1042 | kernel/blk_drv/floppy.c | drive = MINOR(inode->i_rdev); |
MINOR | 43 | kernel/blk_drv/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
MINOR | 105 | kernel/blk_drv/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
MINOR | 277 | kernel/blk_drv/hd.c | dev = MINOR(CURRENT->dev) >> 6; |
MINOR | 334 | kernel/blk_drv/hd.c | MINOR(CURRENT->dev), CURRENT->sector, i, CURRENT-> |
MINOR | 447 | kernel/blk_drv/hd.c | dev = MINOR(CURRENT->dev); |
MINOR | 517 | kernel/blk_drv/hd.c | dev = MINOR(inode->i_rdev) >> 6; |
MINOR | 532 | kernel/blk_drv/hd.c | put_fs_long(hd[MINOR(inode->i_rdev)].start_sect, |
MINOR | 540 | kernel/blk_drv/hd.c | put_fs_long(hd[MINOR(inode->i_rdev)].nr_sects, |
MINOR | 554 | kernel/blk_drv/hd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
MINOR | 571 | kernel/blk_drv/hd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
MINOR | 744 | kernel/blk_drv/hd.c | target = DEVICE_NR(MINOR(dev)); |
MINOR | 71 | kernel/blk_drv/ll_rw_blk.c | minor = MINOR(dev); |
MINOR | 81 | kernel/blk_drv/ll_rw_blk.c | minor = MINOR(dev); |
MINOR | 148 | kernel/blk_drv/ll_rw_blk.c | if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) { |
MINOR | 32 | kernel/blk_drv/ramdisk.c | if ((MINOR(CURRENT->dev) != 1) || (addr+len > rd_start+rd_length)) { |
MINOR | 1322 | kernel/blk_drv/scsi/fdomain.c | drive = MINOR(dev) / 16; |
MINOR | 62 | kernel/blk_drv/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
MINOR | 87 | kernel/blk_drv/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
MINOR | 144 | kernel/blk_drv/scsi/sd.c | printk("sd%d : rw_intr(%d, %x)\n", MINOR(SCpnt->request.dev), SCpnt->host, result); |
MINOR | 156 | kernel/blk_drv/scsi/sd.c | printk("sd%d : %d sectors remain.\n", MINOR(SCpnt->request.dev), SCpnt->request.nr_sectors); |
MINOR | 199 | kernel/blk_drv/scsi/sd.c | MINOR(SCpnt->request.dev)); |
MINOR | 346 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(MINOR(CURRENT->dev))].device->index, 0); |
MINOR | 364 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(MINOR(req->dev))].device->index); |
MINOR | 398 | kernel/blk_drv/scsi/sd.c | dev = MINOR(SCpnt->request.dev); |
MINOR | 426 | kernel/blk_drv/scsi/sd.c | printk("sd%d : real dev = /dev/sd%d, block = %d\n", MINOR(SCpnt->request.dev), dev, block); |
MINOR | 563 | kernel/blk_drv/scsi/sd.c | printk("sd%d : %s %d/%d 512 byte blocks.\n", MINOR(SCpnt->request.dev), |
MINOR | 627 | kernel/blk_drv/scsi/sd.c | target = DEVICE_NR(MINOR(full_dev)); |
MINOR | 873 | kernel/blk_drv/scsi/sd.c | target = DEVICE_NR(MINOR(dev)); |
MINOR | 30 | kernel/blk_drv/scsi/sd_ioctl.c | host = rscsi_disks[MINOR(dev) >> 4].device->host_no; |
MINOR | 35 | kernel/blk_drv/scsi/sd_ioctl.c | scsi_hosts[host].bios_param(rscsi_disks[MINOR(dev) >> 4].capacity, |
MINOR | 44 | kernel/blk_drv/scsi/sd_ioctl.c | put_fs_long(sd[MINOR(inode->i_rdev)].start_sect, |
MINOR | 52 | kernel/blk_drv/scsi/sd_ioctl.c | put_fs_long(sd[MINOR(inode->i_rdev)].nr_sects, |
MINOR | 58 | kernel/blk_drv/scsi/sd_ioctl.c | return scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg); |
MINOR | 1408 | kernel/blk_drv/scsi/seagate.c | disk = rscsi_disks[MINOR(dev) >> 4].device; |
MINOR | 48 | kernel/blk_drv/scsi/sr.c | if(! --scsi_CDs[MINOR(inode->i_rdev)].device->access_count) |
MINOR | 79 | kernel/blk_drv/scsi/sr.c | target = MINOR(full_dev); |
MINOR | 259 | kernel/blk_drv/scsi/sr.c | if(MINOR(inode->i_rdev) >= NR_SR || |
MINOR | 260 | kernel/blk_drv/scsi/sr.c | !scsi_CDs[MINOR(inode->i_rdev)].device) return -ENODEV; /* No such device */ |
MINOR | 264 | kernel/blk_drv/scsi/sr.c | if(!scsi_CDs[MINOR(inode->i_rdev)].device->access_count++) |
MINOR | 292 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(MINOR(CURRENT->dev))].device->index, 0); |
MINOR | 311 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(MINOR(req->dev))].device->index); |
MINOR | 347 | kernel/blk_drv/scsi/sr.c | dev = MINOR(SCpnt->request.dev); |
MINOR | 99 | kernel/blk_drv/scsi/sr_ioctl.c | target = MINOR(dev); |
MINOR | 152 | kernel/blk_drv/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)); |
MINOR | 176 | kernel/blk_drv/xd.c | if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd[MINOR(CURRENT->dev)].nr_sects) { |
MINOR | 177 | kernel/blk_drv/xd.c | block = CURRENT->sector + xd[MINOR(CURRENT->dev)].start_sect; |
MINOR | 196 | kernel/blk_drv/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)),err; |
MINOR | 206 | kernel/blk_drv/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].start_sect,(long *) &geometry->start); |
MINOR | 214 | kernel/blk_drv/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
MINOR | 228 | kernel/blk_drv/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)); |
MINOR | 241 | kernel/blk_drv/xd.c | int target = DEVICE_NR(MINOR(dev)),start = target << xd_gendisk.minor_shift,partition; |
MINOR | 124 | kernel/chr_drv/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 193 | kernel/chr_drv/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 265 | kernel/chr_drv/lp.c | if (LP_IRQ(MINOR(inode->i_rdev))) |
MINOR | 279 | kernel/chr_drv/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 316 | kernel/chr_drv/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 332 | kernel/chr_drv/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 318 | kernel/chr_drv/mem.c | switch (MINOR(inode->i_rdev)) { |
MINOR | 39 | kernel/chr_drv/mouse.c | int minor = MINOR(inode->i_rdev); |
MINOR | 930 | kernel/chr_drv/tty_io.c | dev = MINOR(dev); |
MINOR | 964 | kernel/chr_drv/tty_io.c | dev = MINOR(dev); |
MINOR | 1187 | kernel/chr_drv/tty_io.c | minor = MINOR(inode->i_rdev); |
MINOR | 1261 | kernel/chr_drv/tty_io.c | dev = MINOR(filp->f_rdev); |
MINOR | 1279 | kernel/chr_drv/tty_io.c | dev = MINOR(filp->f_rdev); |
MINOR | 1347 | kernel/chr_drv/tty_io.c | (MINOR(filp->f_rdev) == line)) { |
MINOR | 318 | kernel/chr_drv/tty_ioctl.c | dev = MINOR(file->f_rdev); |
MINOR | 480 | kernel/chr_drv/tty_ioctl.c | if (MINOR(file->f_rdev) != current->tty) |