/Linux-v5.4/drivers/s390/char/ |
D | tape_core.c | 111 return scnprintf(buf, PAGE_SIZE, "%i\n", tdev->first_minor); in tape_first_minor_show() 115 DEVICE_ATTR(first_minor, 0444, tape_first_minor_show, NULL); 123 return scnprintf(buf, PAGE_SIZE, "%s\n", (tdev->first_minor < 0) ? in tape_state_show() 137 if (tdev->first_minor < 0) in tape_operation_show() 195 DBF_EVENT(4, "ts. dev: %x\n", device->first_minor); in tape_state_set() 340 if (minor < tmp->first_minor) in tape_assign_minor() 348 device->first_minor = minor; in tape_assign_minor() 360 device->first_minor = -1; in tape_remove_minor() 549 device->first_minor = -1; in tape_alloc_device() 601 if (tmp->first_minor / TAPE_MINORS_PER_DEV == devindex) { in tape_find_device()
|
D | tape_char.c | 68 sprintf(device_name, "ntibm%i", device->first_minor / 2); in tapechar_setup_device() 71 MKDEV(tapechar_major, device->first_minor), in tapechar_setup_device() 79 MKDEV(tapechar_major, device->first_minor + 1), in tapechar_setup_device()
|
D | tape.h | 215 int first_minor; member
|
D | tape_std.c | 185 DBF_LH(5, "tape%d: terminate write %dxEOF\n", device->first_minor, in tape_std_terminate_write()
|
/Linux-v5.4/drivers/mtd/ubi/ |
D | block.c | 407 gd->first_minor = idr_alloc(&ubiblock_minor_idr, dev, 0, 0, GFP_KERNEL); in ubiblock_create() 408 if (gd->first_minor < 0) { in ubiblock_create() 468 idr_remove(&ubiblock_minor_idr, gd->first_minor); in ubiblock_create() 489 idr_remove(&ubiblock_minor_idr, dev->gd->first_minor); in ubiblock_cleanup()
|
/Linux-v5.4/drivers/s390/block/ |
D | dasd_genhd.c | 47 gdp->first_minor = base->devindex << DASD_PARTN_BITS; in dasd_gendisk_alloc()
|
D | dcssblk.c | 141 if (minor == entry->gd->first_minor) in dcssblk_assign_free_minor() 147 dev_info->gd->first_minor = minor; in dcssblk_assign_free_minor() 667 dev_info->gd->first_minor); in dcssblk_add_store()
|
D | xpram.c | 375 disk->first_minor = i; in xpram_setup_blkdev()
|
D | scm_blk.c | 489 bdev->gendisk->first_minor = devindex * SCM_NR_PARTS; in scm_blk_dev_setup()
|
/Linux-v5.4/arch/m68k/emu/ |
D | nfblock.c | 134 dev->disk->first_minor = dev_id * 16; in nfhd_init_one()
|
/Linux-v5.4/include/linux/ |
D | genhd.h | 187 int first_minor; member 250 return MKDEV(disk->major, disk->first_minor); in disk_devt()
|
/Linux-v5.4/drivers/block/ |
D | z2ram.c | 372 z2ram_gendisk->first_minor = 0; in z2_init()
|
D | brd.c | 398 disk->first_minor = i * max_part; in brd_alloc()
|
D | ps3disk.c | 476 gendisk->first_minor = devidx * PS3DISK_MINORS; in ps3disk_probe()
|
/Linux-v5.4/drivers/block/rsxx/ |
D | dev.c | 291 card->gendisk->first_minor = 0; in rsxx_setup_dev()
|
/Linux-v5.4/drivers/nvdimm/ |
D | blk.c | 268 disk->first_minor = 0; in nsblk_attach_disk()
|
/Linux-v5.4/arch/xtensa/platforms/iss/ |
D | simdisk.c | 285 dev->gd->first_minor = which; in simdisk_setup()
|
/Linux-v5.4/drivers/ide/ |
D | ide-probe.c | 950 blk_register_region(MKDEV(disk->major, disk->first_minor), in ide_register_region() 958 blk_unregister_region(MKDEV(disk->major, disk->first_minor), in ide_unregister_region() 970 disk->first_minor = unit << PARTN_BITS; in ide_init_disk()
|
/Linux-v5.4/block/ |
D | genhd.c | 495 *devt = MKDEV(disk->major, disk->first_minor + part->partno); in blk_alloc_devt() 711 WARN_ON(disk->minors && !(disk->major || disk->first_minor)); in __device_add_disk() 723 disk->first_minor = MINOR(devt); in __device_add_disk()
|
/Linux-v5.4/drivers/block/aoe/ |
D | aoeblk.c | 418 gd->first_minor = d->sysminor; in aoeblk_gdalloc()
|
/Linux-v5.4/drivers/mtd/ |
D | mtd_blkdevs.c | 407 gd->first_minor = (new->devnum) << tr->part_bits; in add_mtd_blktrans_dev()
|
/Linux-v5.4/include/trace/events/ |
D | bcache.h | 27 __entry->orig_minor = d->disk->first_minor;
|
/Linux-v5.4/drivers/md/bcache/ |
D | super.c | 752 static inline int first_minor_to_idx(int first_minor) in first_minor_to_idx() argument 754 return (first_minor/BCACHE_MINORS); in first_minor_to_idx() 776 first_minor_to_idx(d->disk->first_minor)); in bcache_device_free() 834 d->disk->first_minor = idx_to_first_minor(idx); in bcache_device_init()
|
/Linux-v5.4/drivers/cdrom/ |
D | gdrom.c | 716 gd.disk->first_minor = 1; in probe_gdrom_setupdisk()
|
/Linux-v5.4/drivers/scsi/ |
D | sr.c | 715 disk->first_minor = minor; in sr_probe()
|