/linux-6.1.9/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() 500 device->first_minor = -1; in tape_alloc_device() 552 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 | 184 DBF_LH(5, "tape%d: terminate write %dxEOF\n", device->first_minor, in tape_std_terminate_write()
|
/linux-6.1.9/drivers/mtd/ubi/ |
D | block.c | 426 gd->first_minor = idr_alloc(&ubiblock_minor_idr, dev, 0, 0, GFP_KERNEL); in ubiblock_create() 427 if (gd->first_minor < 0) { in ubiblock_create() 468 idr_remove(&ubiblock_minor_idr, gd->first_minor); in ubiblock_create() 491 idr_remove(&ubiblock_minor_idr, dev->gd->first_minor); in ubiblock_cleanup()
|
/linux-6.1.9/drivers/md/ |
D | dm-audit.c | 42 int dev_minor = dm_disk(md)->first_minor; in dm_audit_log_ti()
|
/linux-6.1.9/block/ |
D | genhd.c | 426 if (disk->first_minor + disk->minors > MINORMASK + 1) in device_add_disk() 436 disk->first_minor = ret; in device_add_disk() 446 ddev->devt = MKDEV(disk->major, disk->first_minor); in device_add_disk() 495 disk->major, disk->first_minor); in device_add_disk() 520 disk->part0->bd_dev = MKDEV(disk->major, disk->first_minor); in device_add_disk() 548 blk_free_ext_minor(disk->first_minor); in device_add_disk()
|
/linux-6.1.9/drivers/block/paride/ |
D | pf.c | 941 disk->first_minor = pf - units; in pf_init_unit() 956 pf->drive = (*drives[disk->first_minor])[D_SLV]; in pf_init_unit() 957 pf->lun = (*drives[disk->first_minor])[D_LUN]; in pf_init_unit() 958 snprintf(pf->name, PF_NAMELEN, "%s%d", name, disk->first_minor); in pf_init_unit()
|
D | pd.c | 924 p->first_minor = (disk - pd) << PD_BITS; in pd_probe_drive()
|
/linux-6.1.9/drivers/block/ |
D | n64cart.c | 138 disk->first_minor = 0; in n64cart_probe()
|
D | z2ram.c | 328 disk->first_minor = minor; in z2ram_register_disk()
|
D | brd.c | 396 disk->first_minor = i * max_part; in brd_alloc()
|
D | ps3disk.c | 455 gendisk->first_minor = devidx * PS3DISK_MINORS; in ps3disk_probe()
|
/linux-6.1.9/drivers/s390/block/ |
D | dasd_genhd.c | 69 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() 664 dev_info->gd->first_minor); in dcssblk_add_store()
|
D | scm_blk.c | 482 bdev->gendisk->first_minor = devindex * SCM_NR_PARTS; in scm_blk_dev_setup()
|
/linux-6.1.9/arch/m68k/emu/ |
D | nfblock.c | 125 dev->disk->first_minor = dev_id * 16; in nfhd_init_one()
|
/linux-6.1.9/arch/xtensa/platforms/iss/ |
D | simdisk.c | 278 dev->gd->first_minor = which; in simdisk_setup()
|
/linux-6.1.9/drivers/block/aoe/ |
D | aoeblk.c | 394 gd->first_minor = d->sysminor; in aoeblk_gdalloc()
|
/linux-6.1.9/include/linux/ |
D | blkdev.h | 128 int first_minor; member 244 return MKDEV(disk->major, disk->first_minor); in disk_devt()
|
/linux-6.1.9/drivers/mtd/ |
D | mtd_blkdevs.c | 346 gd->first_minor = (new->devnum) << tr->part_bits; in add_mtd_blktrans_dev()
|
/linux-6.1.9/include/trace/events/ |
D | bcache.h | 27 __entry->orig_minor = d->disk->first_minor;
|
/linux-6.1.9/drivers/md/bcache/ |
D | super.c | 859 static inline int first_minor_to_idx(int first_minor) in first_minor_to_idx() argument 861 return (first_minor/BCACHE_MINORS); in first_minor_to_idx() 885 first_minor_to_idx(disk->first_minor)); in bcache_device_free() 944 d->disk->first_minor = idx_to_first_minor(idx); in bcache_device_init()
|
/linux-6.1.9/drivers/cdrom/ |
D | gdrom.c | 719 gd.disk->first_minor = 1; in probe_gdrom_setupdisk()
|
/linux-6.1.9/block/partitions/ |
D | core.c | 367 devt = MKDEV(disk->major, disk->first_minor + bdev->bd_partno); in add_partition()
|