first_minor 134 arch/m68k/emu/nfblock.c dev->disk->first_minor = dev_id * 16; first_minor 879 arch/um/drivers/ubd_kern.c disk->first_minor = unit << UBD_SHIFT; first_minor 285 arch/xtensa/platforms/iss/simdisk.c dev->gd->first_minor = which; first_minor 495 block/genhd.c *devt = MKDEV(disk->major, disk->first_minor + part->partno); first_minor 711 block/genhd.c WARN_ON(disk->minors && !(disk->major || disk->first_minor)); first_minor 723 block/genhd.c disk->first_minor = MINOR(devt); first_minor 1831 drivers/block/amiflop.c disk->first_minor = drive; first_minor 418 drivers/block/aoe/aoeblk.c gd->first_minor = d->sysminor; first_minor 2030 drivers/block/ataflop.c unit[i].disk->first_minor = i; first_minor 398 drivers/block/brd.c disk->first_minor = i * max_part; first_minor 2819 drivers/block/drbd/drbd_main.c disk->first_minor = minor; first_minor 4575 drivers/block/floppy.c disks[drive]->first_minor = TOMINOR(drive); first_minor 2086 drivers/block/loop.c disk->first_minor = i << part_shift; first_minor 3612 drivers/block/mtip32xx/mtip32xx.c dd->disk->first_minor = index * MTIP_MAX_MINORS; first_minor 1727 drivers/block/nbd.c disk->first_minor = index << part_shift; first_minor 1541 drivers/block/null_blk_main.c disk->first_minor = nullb->index; first_minor 342 drivers/block/paride/pcd.c disk->first_minor = unit; first_minor 899 drivers/block/paride/pd.c p->first_minor = (disk - pd) << PD_BITS; first_minor 319 drivers/block/paride/pf.c disk->first_minor = unit; first_minor 2746 drivers/block/pktcdvd.c disk->first_minor = idx; first_minor 476 drivers/block/ps3disk.c gendisk->first_minor = devidx * PS3DISK_MINORS; first_minor 763 drivers/block/ps3vram.c gendisk->first_minor = 0; first_minor 5138 drivers/block/rbd.c disk->first_minor = rbd_dev->minor; first_minor 291 drivers/block/rsxx/dev.c card->gendisk->first_minor = 0; first_minor 2831 drivers/block/skd_main.c disk->first_minor = skdev->devno * SKD_MINORS_PER_DEVICE; first_minor 863 drivers/block/sunvdc.c g->first_minor = port->vio.vdev->dev_no << PARTITION_SHIFT; first_minor 858 drivers/block/swim.c swd->unit[drive].disk->first_minor = drive; first_minor 1212 drivers/block/swim3.c disk->first_minor = floppy_count; first_minor 1359 drivers/block/sx8.c disk->first_minor = port_no * CARM_MINORS_PER_MAJOR; first_minor 1086 drivers/block/umem.c disk->first_minor = i << MM_SHIFT; first_minor 890 drivers/block/virtio_blk.c vblk->disk->first_minor = index_to_minor(index); first_minor 1156 drivers/block/xen-blkfront.c gd->first_minor = minor; first_minor 1207 drivers/block/xen-blkfront.c minor = info->gd->first_minor; first_minor 1030 drivers/block/xsysace.c ace->gd->first_minor = ace->id * ACE_NUM_MINORS; first_minor 372 drivers/block/z2ram.c z2ram_gendisk->first_minor = 0; first_minor 1914 drivers/block/zram/zram_drv.c zram->disk->first_minor = device_id; first_minor 716 drivers/cdrom/gdrom.c gd.disk->first_minor = 1; first_minor 950 drivers/ide/ide-probe.c blk_register_region(MKDEV(disk->major, disk->first_minor), first_minor 958 drivers/ide/ide-probe.c blk_unregister_region(MKDEV(disk->major, disk->first_minor), first_minor 970 drivers/ide/ide-probe.c disk->first_minor = unit << PARTN_BITS; first_minor 393 drivers/lightnvm/core.c tdisk->first_minor = 0; first_minor 767 drivers/md/bcache/super.c static inline int first_minor_to_idx(int first_minor) first_minor 769 drivers/md/bcache/super.c return (first_minor/BCACHE_MINORS); first_minor 799 drivers/md/bcache/super.c first_minor_to_idx(disk->first_minor)); first_minor 857 drivers/md/bcache/super.c d->disk->first_minor = idx_to_first_minor(idx); first_minor 1984 drivers/md/dm.c md->disk->first_minor = minor; first_minor 5496 drivers/md/md.c disk->first_minor = unit << shift; first_minor 1230 drivers/memstick/core/mspro_block.c msb->disk->first_minor = disk_id << MSPRO_BLOCK_PART_SHIFT; first_minor 189 drivers/mmc/core/block.c int devidx = disk->first_minor / perdev_minors; first_minor 2315 drivers/mmc/core/block.c md->disk->first_minor = devidx * perdev_minors; first_minor 407 drivers/mtd/mtd_blkdevs.c gd->first_minor = (new->devnum) << tr->part_bits; first_minor 407 drivers/mtd/ubi/block.c gd->first_minor = idr_alloc(&ubiblock_minor_idr, dev, 0, 0, GFP_KERNEL); first_minor 408 drivers/mtd/ubi/block.c if (gd->first_minor < 0) { first_minor 468 drivers/mtd/ubi/block.c idr_remove(&ubiblock_minor_idr, gd->first_minor); first_minor 489 drivers/mtd/ubi/block.c idr_remove(&ubiblock_minor_idr, dev->gd->first_minor); first_minor 268 drivers/nvdimm/blk.c disk->first_minor = 0; first_minor 1535 drivers/nvdimm/btt.c btt->btt_disk->first_minor = 0; first_minor 47 drivers/s390/block/dasd_genhd.c gdp->first_minor = base->devindex << DASD_PARTN_BITS; first_minor 141 drivers/s390/block/dcssblk.c if (minor == entry->gd->first_minor) first_minor 147 drivers/s390/block/dcssblk.c dev_info->gd->first_minor = minor; first_minor 667 drivers/s390/block/dcssblk.c dev_info->gd->first_minor); first_minor 489 drivers/s390/block/scm_blk.c bdev->gendisk->first_minor = devindex * SCM_NR_PARTS; first_minor 375 drivers/s390/block/xpram.c disk->first_minor = i; first_minor 215 drivers/s390/char/tape.h int first_minor; first_minor 68 drivers/s390/char/tape_char.c sprintf(device_name, "ntibm%i", device->first_minor / 2); first_minor 71 drivers/s390/char/tape_char.c MKDEV(tapechar_major, device->first_minor), first_minor 79 drivers/s390/char/tape_char.c MKDEV(tapechar_major, device->first_minor + 1), first_minor 111 drivers/s390/char/tape_core.c return scnprintf(buf, PAGE_SIZE, "%i\n", tdev->first_minor); first_minor 115 drivers/s390/char/tape_core.c DEVICE_ATTR(first_minor, 0444, tape_first_minor_show, NULL); first_minor 123 drivers/s390/char/tape_core.c return scnprintf(buf, PAGE_SIZE, "%s\n", (tdev->first_minor < 0) ? first_minor 137 drivers/s390/char/tape_core.c if (tdev->first_minor < 0) first_minor 195 drivers/s390/char/tape_core.c DBF_EVENT(4, "ts. dev: %x\n", device->first_minor); first_minor 340 drivers/s390/char/tape_core.c if (minor < tmp->first_minor) first_minor 348 drivers/s390/char/tape_core.c device->first_minor = minor; first_minor 360 drivers/s390/char/tape_core.c device->first_minor = -1; first_minor 549 drivers/s390/char/tape_core.c device->first_minor = -1; first_minor 601 drivers/s390/char/tape_core.c if (tmp->first_minor / TAPE_MINORS_PER_DEV == devindex) { first_minor 185 drivers/s390/char/tape_std.c DBF_LH(5, "tape%d: terminate write %dxEOF\n", device->first_minor, first_minor 3358 drivers/scsi/sd.c gd->first_minor = ((index & 0xf) << 4) | (index & 0xfff00); first_minor 1475 drivers/scsi/sg.c disk->first_minor = k; first_minor 715 drivers/scsi/sr.c disk->first_minor = minor; first_minor 187 include/linux/genhd.h int first_minor; first_minor 250 include/linux/genhd.h return MKDEV(disk->major, disk->first_minor); first_minor 27 include/trace/events/bcache.h __entry->orig_minor = d->disk->first_minor;