Home
last modified time | relevance | path

Searched refs:first_minor (Results 1 – 25 of 52) sorted by relevance

123

/linux-6.1.9/drivers/s390/char/
Dtape_core.c111 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()
Dtape_char.c68 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()
Dtape.h215 int first_minor; member
Dtape_std.c184 DBF_LH(5, "tape%d: terminate write %dxEOF\n", device->first_minor, in tape_std_terminate_write()
/linux-6.1.9/drivers/mtd/ubi/
Dblock.c426 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/
Ddm-audit.c42 int dev_minor = dm_disk(md)->first_minor; in dm_audit_log_ti()
/linux-6.1.9/block/
Dgenhd.c426 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/
Dpf.c941 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()
Dpd.c924 p->first_minor = (disk - pd) << PD_BITS; in pd_probe_drive()
/linux-6.1.9/drivers/block/
Dn64cart.c138 disk->first_minor = 0; in n64cart_probe()
Dz2ram.c328 disk->first_minor = minor; in z2ram_register_disk()
Dbrd.c396 disk->first_minor = i * max_part; in brd_alloc()
Dps3disk.c455 gendisk->first_minor = devidx * PS3DISK_MINORS; in ps3disk_probe()
/linux-6.1.9/drivers/s390/block/
Ddasd_genhd.c69 gdp->first_minor = base->devindex << DASD_PARTN_BITS; in dasd_gendisk_alloc()
Ddcssblk.c141 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()
Dscm_blk.c482 bdev->gendisk->first_minor = devindex * SCM_NR_PARTS; in scm_blk_dev_setup()
/linux-6.1.9/arch/m68k/emu/
Dnfblock.c125 dev->disk->first_minor = dev_id * 16; in nfhd_init_one()
/linux-6.1.9/arch/xtensa/platforms/iss/
Dsimdisk.c278 dev->gd->first_minor = which; in simdisk_setup()
/linux-6.1.9/drivers/block/aoe/
Daoeblk.c394 gd->first_minor = d->sysminor; in aoeblk_gdalloc()
/linux-6.1.9/include/linux/
Dblkdev.h128 int first_minor; member
244 return MKDEV(disk->major, disk->first_minor); in disk_devt()
/linux-6.1.9/drivers/mtd/
Dmtd_blkdevs.c346 gd->first_minor = (new->devnum) << tr->part_bits; in add_mtd_blktrans_dev()
/linux-6.1.9/include/trace/events/
Dbcache.h27 __entry->orig_minor = d->disk->first_minor;
/linux-6.1.9/drivers/md/bcache/
Dsuper.c859 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/
Dgdrom.c719 gd.disk->first_minor = 1; in probe_gdrom_setupdisk()
/linux-6.1.9/block/partitions/
Dcore.c367 devt = MKDEV(disk->major, disk->first_minor + bdev->bd_partno); in add_partition()

123