tag | line | file | source code |
MINOR | 38 | drivers/block/blk.h | blksize_size[MAJOR_NR][MINOR(CURRENT->dev)] ? \ |
MINOR | 39 | drivers/block/blk.h | ((blksize_size[MAJOR_NR][MINOR(CURRENT->dev)] >> 9) - 1) : \ |
MINOR | 85 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device) >> PARTN_BITS) |
MINOR | 117 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)>>6) |
MINOR | 127 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device) >> 4) |
MINOR | 135 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device) & 0x7f) |
MINOR | 144 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 152 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device) >> 6) |
MINOR | 160 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 169 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 177 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 185 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 193 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 201 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 344 | drivers/block/cdu31a.c | target = MINOR(full_dev); |
MINOR | 1443 | drivers/block/cdu31a.c | dev = MINOR(CURRENT->dev); |
MINOR | 2178 | drivers/block/cdu31a.c | dev = MINOR(inode->i_rdev); |
MINOR | 2592 | drivers/block/cdu31a.c | dev = MINOR(inode->i_rdev); |
MINOR | 3079 | drivers/block/floppy.c | int size = floppy_blocksizes[MINOR(dev)]; |
MINOR | 56 | drivers/block/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
MINOR | 115 | drivers/block/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
MINOR | 122 | drivers/block/genhd.c | hd->part[MINOR(dev)].start_sect = 0; |
MINOR | 716 | drivers/block/hd.c | dev = MINOR(CURRENT->dev); |
MINOR | 807 | drivers/block/hd.c | put_fs_long(hd[MINOR(inode->i_rdev)].start_sect, |
MINOR | 827 | drivers/block/hd.c | put_fs_long(hd[MINOR(inode->i_rdev)].nr_sects, (long *) arg); |
MINOR | 840 | drivers/block/hd.c | if ((arg > 1) || (MINOR(inode->i_rdev) & 0x3F)) |
MINOR | 863 | drivers/block/hd.c | if (MINOR(inode->i_rdev) & 0x3F) return -EINVAL; |
MINOR | 881 | drivers/block/hd.c | if (MINOR(inode->i_rdev) & 0x3F) return -EINVAL; |
MINOR | 1044 | drivers/block/ide.c | minor = MINOR(rq->dev); |
MINOR | 1406 | drivers/block/ide.c | put_fs_long((unsigned)ide_hd[DEV_HWIF][MINOR(inode->i_rdev)].start_sect, |
MINOR | 1426 | drivers/block/ide.c | return write_fs_long(arg, ide_hd[DEV_HWIF][MINOR(inode->i_rdev)].nr_sects); |
MINOR | 1440 | drivers/block/ide.c | if (!arg || (MINOR(inode->i_rdev) & PARTN_MASK)) |
MINOR | 1451 | drivers/block/ide.c | if ((arg > 1) || (MINOR(inode->i_rdev) & PARTN_MASK)) |
MINOR | 1461 | drivers/block/ide.c | if ((arg > 1) || (MINOR(inode->i_rdev) & PARTN_MASK)) |
MINOR | 1471 | drivers/block/ide.c | if (MINOR(inode->i_rdev) & PARTN_MASK) |
MINOR | 155 | drivers/block/ll_rw_blk.c | minor = MINOR(dev); |
MINOR | 165 | drivers/block/ll_rw_blk.c | minor = MINOR(dev); |
MINOR | 182 | drivers/block/ll_rw_blk.c | case SCSI_DISK_MAJOR: disk_index = (MINOR(req->dev) & 0x0070) >> 4; |
MINOR | 187 | drivers/block/ll_rw_blk.c | case XT_DISK_MAJOR: disk_index = (MINOR(req->dev) & 0x0040) >> 6; |
MINOR | 190 | drivers/block/ll_rw_blk.c | case IDE1_MAJOR: disk_index = ((MINOR(req->dev) & 0x0040) >> 6) + 2; |
MINOR | 245 | drivers/block/ll_rw_blk.c | if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) { |
MINOR | 422 | drivers/block/ll_rw_blk.c | i = blksize_size[major][MINOR(bh[0]->b_dev)]; |
MINOR | 170 | drivers/block/mcd.c | target = MINOR(full_dev); |
MINOR | 41 | drivers/block/ramdisk.c | if ((MINOR(CURRENT->dev) != RAMDISK_MINOR) || |
MINOR | 2939 | drivers/block/sbpcd.c | MINOR(inode->i_rdev), cmd, arg)); |
MINOR | 2941 | drivers/block/sbpcd.c | i=MINOR(inode->i_rdev); |
MINOR | 3485 | drivers/block/sbpcd.c | dev = MINOR(CURRENT->dev); |
MINOR | 3832 | drivers/block/sbpcd.c | i = MINOR(ip->i_rdev); |
MINOR | 3900 | drivers/block/sbpcd.c | i = MINOR(ip->i_rdev); |
MINOR | 4281 | drivers/block/sbpcd.c | DPRINTF((DBG_CHK,"SBPCD: media_check (%d) called\n", MINOR(full_dev))); |
MINOR | 4284 | drivers/block/sbpcd.c | if ((MAJOR(full_dev)!=MAJOR_NR)||(MINOR(full_dev)>=NR_SBPCD)) |
MINOR | 4290 | drivers/block/sbpcd.c | switch_drive(MINOR(full_dev)); |
MINOR | 194 | drivers/block/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)); |
MINOR | 218 | drivers/block/xd.c | if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd[MINOR(CURRENT->dev)].nr_sects) { |
MINOR | 219 | drivers/block/xd.c | block = CURRENT->sector + xd[MINOR(CURRENT->dev)].start_sect; |
MINOR | 240 | drivers/block/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)),err; |
MINOR | 251 | drivers/block/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].start_sect,(long *) &geometry->start); |
MINOR | 266 | drivers/block/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
MINOR | 288 | drivers/block/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)); |
MINOR | 299 | drivers/block/xd.c | int target = DEVICE_NR(MINOR(dev)),start = target << xd_gendisk.minor_shift,partition; |
MINOR | 1321 | drivers/char/console.c | console_num = MINOR(tty->device) - (tty->driver.minor_start); |
MINOR | 1336 | drivers/char/console.c | console_num = MINOR(tty->device) - (tty->driver.minor_start); |
MINOR | 2203 | drivers/char/console.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
MINOR | 357 | drivers/char/cyclades.c | printk(badinfo, MAJOR(device), MINOR(device), routine); |
MINOR | 363 | drivers/char/cyclades.c | printk(badrange, MAJOR(device), MINOR(device), routine); |
MINOR | 368 | drivers/char/cyclades.c | printk(badmagic, MAJOR(device), MINOR(device), routine); |
MINOR | 2290 | drivers/char/cyclades.c | line = MINOR(tty->device) - tty->driver.minor_start; |
MINOR | 159 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 226 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 298 | drivers/char/lp.c | if (LP_IRQ(MINOR(inode->i_rdev))) |
MINOR | 312 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 365 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 384 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 311 | drivers/char/mem.c | switch (MINOR(inode->i_rdev)) { |
MINOR | 40 | drivers/char/mouse.c | int minor = MINOR(inode->i_rdev); |
MINOR | 189 | drivers/char/pty.c | line = MINOR(tty->device) - tty->driver.minor_start; |
MINOR | 213 | drivers/char/serial.c | printk(badinfo, MAJOR(device), MINOR(device), routine); |
MINOR | 217 | drivers/char/serial.c | printk(badmagic, MAJOR(device), MINOR(device), routine); |
MINOR | 2084 | drivers/char/serial.c | line = MINOR(tty->device) - tty->driver.minor_start; |
MINOR | 1933 | drivers/char/tpqic02.c | MINOR(dev), buf, count, (unsigned long) filp->f_pos, flags); |
MINOR | 2107 | drivers/char/tpqic02.c | MINOR(dev), buf, count, (unsigned long) filp->f_pos, flags); |
MINOR | 2256 | drivers/char/tpqic02.c | if (MINOR(dev)==255) /* special case for resetting */ |
MINOR | 123 | drivers/char/tty_io.c | MINOR(tty->device) - tty->driver.minor_start + |
MINOR | 147 | drivers/char/tty_io.c | printk(badtty, MAJOR(device), MINOR(device), routine); |
MINOR | 151 | drivers/char/tty_io.c | printk(badmagic, MAJOR(device), MINOR(device), routine); |
MINOR | 177 | drivers/char/tty_io.c | MAJOR(tty->device), MINOR(tty->device), tty->count, |
MINOR | 252 | drivers/char/tty_io.c | minor = MINOR(device); |
MINOR | 771 | drivers/char/tty_io.c | idx = MINOR(device) - driver->minor_start; |
MINOR | 947 | drivers/char/tty_io.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
MINOR | 951 | drivers/char/tty_io.c | MAJOR(tty->device), MINOR(tty->device)); |
MINOR | 956 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
MINOR | 961 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
MINOR | 966 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
MINOR | 984 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
MINOR | 989 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
MINOR | 994 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
MINOR | 1132 | drivers/char/tty_io.c | minor = MINOR(device); |
MINOR | 2065 | drivers/scsi/53c7,8xx.c | for (dev = MINOR(inode->rdev), host = first_host; |
MINOR | 1572 | drivers/scsi/fdomain.c | drive = MINOR(dev) / 16; |
MINOR | 76 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
MINOR | 101 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
MINOR | 165 | drivers/scsi/sd.c | printk("sd%c : rw_intr(%d, %d)\n", 'a' + MINOR(SCpnt->request.dev), SCpnt->host->host_no, result); |
MINOR | 177 | drivers/scsi/sd.c | printk("sd%c : %d sectors remain.\n", 'a' + MINOR(SCpnt->request.dev), SCpnt->request.nr_sectors); |
MINOR | 220 | drivers/scsi/sd.c | 'a' + MINOR(SCpnt->request.dev)); |
MINOR | 363 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(MINOR(CURRENT->dev))].device, 0); |
MINOR | 382 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(MINOR(req->dev))].device); |
MINOR | 419 | drivers/scsi/sd.c | dev = MINOR(SCpnt->request.dev); |
MINOR | 449 | drivers/scsi/sd.c | printk("sd%c : real dev = /dev/sd%c, block = %d\n", 'a' + MINOR(SCpnt->request.dev), dev, block); |
MINOR | 715 | drivers/scsi/sd.c | printk("sd%c : %s %d/%d 512 byte blocks.\n", 'a' + MINOR(SCpnt->request.dev), |
MINOR | 782 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(full_dev)); |
MINOR | 1162 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(dev)); |
MINOR | 31 | drivers/scsi/sd_ioctl.c | host = rscsi_disks[MINOR(dev) >> 4].device->host; |
MINOR | 36 | drivers/scsi/sd_ioctl.c | host->hostt->bios_param(&rscsi_disks[MINOR(dev) >> 4], |
MINOR | 45 | drivers/scsi/sd_ioctl.c | put_fs_long(sd[MINOR(inode->i_rdev)].start_sect, |
MINOR | 53 | drivers/scsi/sd_ioctl.c | put_fs_long(sd[MINOR(inode->i_rdev)].nr_sects, |
MINOR | 72 | drivers/scsi/sd_ioctl.c | return scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg); |
MINOR | 66 | drivers/scsi/sg.c | int dev = MINOR(inode->i_rdev); |
MINOR | 83 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
MINOR | 127 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
MINOR | 170 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
MINOR | 228 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
MINOR | 62 | drivers/scsi/sr.c | if(! --scsi_CDs[MINOR(inode->i_rdev)].device->access_count) |
MINOR | 98 | drivers/scsi/sr.c | target = MINOR(full_dev); |
MINOR | 311 | drivers/scsi/sr.c | if (1 == scsi_CDs[MINOR(inode->i_rdev)].device->access_count) |
MINOR | 312 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = 0; |
MINOR | 316 | drivers/scsi/sr.c | switch(scsi_CDs[MINOR(inode->i_rdev)].device->manufacturer) { |
MINOR | 328 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
MINOR | 361 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
MINOR | 398 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = sector; |
MINOR | 404 | drivers/scsi/sr.c | if(MINOR(inode->i_rdev) >= sr_template.nr_dev || |
MINOR | 405 | drivers/scsi/sr.c | !scsi_CDs[MINOR(inode->i_rdev)].device) return -ENXIO; /* No such device */ |
MINOR | 412 | drivers/scsi/sr.c | if(!scsi_CDs[MINOR(inode->i_rdev)].device->access_count++) |
MINOR | 420 | drivers/scsi/sr.c | if(scsi_CDs[MINOR(inode->i_rdev)].needs_sector_size) |
MINOR | 421 | drivers/scsi/sr.c | get_sectorsize(MINOR(inode->i_rdev)); |
MINOR | 455 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(MINOR(CURRENT->dev))].device, 0); |
MINOR | 474 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(MINOR(req->dev))].device); |
MINOR | 512 | drivers/scsi/sr.c | dev = MINOR(SCpnt->request.dev); |
MINOR | 98 | drivers/scsi/sr_ioctl.c | target = MINOR(dev); |
MINOR | 350 | drivers/scsi/st.c | dev = MINOR(inode->i_rdev) & 127; |
MINOR | 398 | drivers/scsi/st.c | dev = MINOR(inode->i_rdev) & 127; |
MINOR | 610 | drivers/scsi/st.c | dev = MINOR(inode->i_rdev); |
MINOR | 691 | drivers/scsi/st.c | dev = MINOR(inode->i_rdev) & 127; |
MINOR | 924 | drivers/scsi/st.c | dev = MINOR(inode->i_rdev) & 127; |
MINOR | 1160 | drivers/scsi/st.c | dev = MINOR(inode->i_rdev) & 127; |
MINOR | 1202 | drivers/scsi/st.c | int dev = MINOR(inode->i_rdev); |
MINOR | 1625 | drivers/scsi/st.c | int dev = MINOR(inode->i_rdev); |
MINOR | 65 | drivers/sound/soundcard.c | dev = MINOR (dev); |
MINOR | 76 | drivers/sound/soundcard.c | dev = MINOR (dev); |
MINOR | 93 | drivers/sound/soundcard.c | dev = MINOR (dev); |
MINOR | 119 | drivers/sound/soundcard.c | dev = MINOR (dev); |
MINOR | 131 | drivers/sound/soundcard.c | dev = MINOR (dev); |
MINOR | 142 | drivers/sound/soundcard.c | dev = MINOR (dev); |
MINOR | 41 | fs/block_dev.c | if (blksize_size[MAJOR(dev)] && blksize_size[MAJOR(dev)][MINOR(dev)]) |
MINOR | 42 | fs/block_dev.c | blocksize = blksize_size[MAJOR(dev)][MINOR(dev)]; |
MINOR | 57 | fs/block_dev.c | size = ((loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS) >> blocksize_bits; |
MINOR | 178 | fs/block_dev.c | if (blksize_size[MAJOR(dev)] && blksize_size[MAJOR(dev)][MINOR(dev)]) |
MINOR | 179 | fs/block_dev.c | blocksize = blksize_size[MAJOR(dev)][MINOR(dev)]; |
MINOR | 189 | fs/block_dev.c | size = (loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS; |
MINOR | 420 | fs/buffer.c | MAJOR(dev), MINOR(dev)); |
MINOR | 461 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == 0 && size == BLOCK_SIZE) { |
MINOR | 462 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
MINOR | 465 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == size) |
MINOR | 468 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
MINOR | 804 | fs/buffer.c | MAJOR(dev), MINOR(dev)); |
MINOR | 156 | fs/devices.c | MAJOR(dev), MINOR(dev)); |
MINOR | 48 | fs/ext2/super.c | MAJOR(sb->s_dev), MINOR(sb->s_dev), function, buf); |
MINOR | 50 | fs/ext2/super.c | MAJOR(sb->s_dev), MINOR(sb->s_dev), function, buf); |
MINOR | 75 | fs/ext2/super.c | MAJOR(sb->s_dev), MINOR(sb->s_dev), function, buf); |
MINOR | 88 | fs/ext2/super.c | MAJOR(sb->s_dev), MINOR(sb->s_dev), function, buf); |
MINOR | 439 | fs/ext2/super.c | MAJOR(dev), MINOR(dev)); |
MINOR | 534 | fs/ext2/super.c | MAJOR(dev), MINOR(dev)); |
MINOR | 351 | fs/inode.c | printk("VFS: inode busy on removed device %d/%d\n", MAJOR(dev), MINOR(dev)); |
MINOR | 381 | fs/inode.c | MAJOR(inode->i_rdev), MINOR(inode->i_rdev), |
MINOR | 411 | fs/inode.c | inode->i_ino, MAJOR(inode->i_dev), MINOR(inode->i_dev)); |
MINOR | 181 | fs/msdos/inode.c | blksize = hardsect_size[MAJOR(sb->s_dev)][MINOR(sb->s_dev)]; |
MINOR | 579 | fs/proc/array.c | MAJOR(dev),MINOR(dev), ino); |
MINOR | 242 | fs/super.c | MAJOR(dev), MINOR(dev)); |
MINOR | 249 | fs/super.c | MAJOR(dev), MINOR(dev)); |
MINOR | 270 | fs/super.c | MAJOR(dev), MINOR(dev), name); |
MINOR | 316 | fs/super.c | clear_bit(MINOR(dev), unnamed_dev_in_use)) |
MINOR | 319 | fs/super.c | MAJOR(dev), MINOR(dev)); |
MINOR | 344 | fs/super.c | MAJOR(dev), MINOR(dev)); |
MINOR | 695 | fs/super.c | MAJOR(ROOT_DEV), MINOR(ROOT_DEV)); |
MINOR | 83 | fs/sysv/ialloc.c | printk("sysv_free_inode: unable to read inode block on device %d/%d\n",MAJOR(inode->i_dev),MINOR(inode->i_dev)); |
MINOR | 404 | fs/sysv/inode.c | printk("VFS: unable to read Xenix/SystemV/Coherent superblock on device %d/%d\n",MAJOR(dev),MINOR(dev)); |
MINOR | 481 | fs/sysv/inode.c | printk("VFS: Found a %s FS (block size = %d) on device %d/%d\n",found,sb->sv_block_size,MAJOR(dev),MINOR(dev)); |
MINOR | 522 | include/linux/tpqic02.h | #define TP_REWCLOSE(d) ((MINOR(d)&0x01) == 1) /* rewind bit */ |
MINOR | 524 | include/linux/tpqic02.h | #define TP_DENS(dev) ((MINOR(dev) >> 1) & 0x07) /* tape density */ |
MINOR | 525 | include/linux/tpqic02.h | #define TP_UNIT(dev) ((MINOR(dev) >> 4) & 0x07) /* unit number */ |