Home
last modified time | relevance | path

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

123

/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/md/
Ddm-audit.c42 int dev_minor = dm_disk(md)->first_minor; in dm_audit_log_ti()
Ddm-ima.c121 dev_name, dev_uuid, md->disk->major, md->disk->first_minor, in dm_ima_alloc_and_copy_device_data()
/linux-5.19.10/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()
/linux-5.19.10/drivers/s390/block/
Ddasd_genhd.c51 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()
663 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-5.19.10/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-5.19.10/block/
Dgenhd.c445 if (disk->first_minor + disk->minors > MINORMASK + 1) in device_add_disk()
455 disk->first_minor = ret; in device_add_disk()
465 ddev->devt = MKDEV(disk->major, disk->first_minor); in device_add_disk()
514 disk->major, disk->first_minor); in device_add_disk()
558 blk_free_ext_minor(disk->first_minor); in device_add_disk()
/linux-5.19.10/arch/m68k/emu/
Dnfblock.c125 dev->disk->first_minor = dev_id * 16; in nfhd_init_one()
/linux-5.19.10/arch/xtensa/platforms/iss/
Dsimdisk.c278 dev->gd->first_minor = which; in simdisk_setup()
/linux-5.19.10/drivers/block/aoe/
Daoeblk.c405 gd->first_minor = d->sysminor; in aoeblk_gdalloc()
/linux-5.19.10/include/linux/
Dblkdev.h128 int first_minor; member
212 return MKDEV(disk->major, disk->first_minor); in disk_devt()
/linux-5.19.10/drivers/mtd/
Dmtd_blkdevs.c346 gd->first_minor = (new->devnum) << tr->part_bits; in add_mtd_blktrans_dev()
/linux-5.19.10/include/trace/events/
Dbcache.h27 __entry->orig_minor = d->disk->first_minor;
/linux-5.19.10/drivers/md/bcache/
Dsuper.c860 static inline int first_minor_to_idx(int first_minor) in first_minor_to_idx() argument
862 return (first_minor/BCACHE_MINORS); in first_minor_to_idx()
886 first_minor_to_idx(disk->first_minor)); in bcache_device_free()
945 d->disk->first_minor = idx_to_first_minor(idx); in bcache_device_init()
/linux-5.19.10/drivers/cdrom/
Dgdrom.c719 gd.disk->first_minor = 1; in probe_gdrom_setupdisk()
/linux-5.19.10/block/partitions/
Dcore.c368 devt = MKDEV(disk->major, disk->first_minor + bdev->bd_partno); in add_partition()

123