Home
last modified time | relevance | path

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

123

/drivers/s390/char/
Dtape_core.c110 return scnprintf(buf, PAGE_SIZE, "%i\n", tdev->first_minor); in tape_first_minor_show()
114 DEVICE_ATTR(first_minor, 0444, tape_first_minor_show, NULL);
122 return scnprintf(buf, PAGE_SIZE, "%s\n", (tdev->first_minor < 0) ? in tape_state_show()
136 if (tdev->first_minor < 0) in tape_operation_show()
194 DBF_EVENT(4, "ts. dev: %x\n", device->first_minor); in tape_state_set()
339 if (minor < tmp->first_minor) in tape_assign_minor()
347 device->first_minor = minor; in tape_assign_minor()
359 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()
Dtape_char.c67 sprintf(device_name, "ntibm%i", device->first_minor / 2); in tapechar_setup_device()
70 MKDEV(tapechar_major, device->first_minor), in tapechar_setup_device()
78 MKDEV(tapechar_major, device->first_minor + 1), in tapechar_setup_device()
Dtape.h213 int first_minor; member
Dtape_std.c189 DBF_LH(5, "tape%d: terminate write %dxEOF\n", device->first_minor, in tape_std_terminate_write()
/drivers/s390/block/
Ddasd_genhd.c46 gdp->first_minor = base->devindex << DASD_PARTN_BITS; in dasd_gendisk_alloc()
Ddcssblk.c117 if (minor == entry->gd->first_minor) in dcssblk_assign_free_minor()
123 dev_info->gd->first_minor = minor; in dcssblk_assign_free_minor()
635 dev_info->gd->first_minor); in dcssblk_add_store()
Dxpram.c370 disk->first_minor = i; in xpram_setup_blkdev()
Dscm_blk.c410 bdev->gendisk->first_minor = devindex * SCM_NR_PARTS; in scm_blk_dev_setup()
/drivers/block/
Dz2ram.c363 z2ram_gendisk->first_minor = 0; in z2_init()
Dosdblk.c414 disk->first_minor = 0; in osdblk_init_disk()
Dbrd.c490 disk->first_minor = i << part_shift; in brd_alloc()
Dps3disk.c487 gendisk->first_minor = devidx * PS3DISK_MINORS; in ps3disk_probe()
Dhd.c751 disk->first_minor = drive << 6; in hd_init()
Dxen-blkfront.c731 gd->first_minor = minor; in xlvbd_alloc_gendisk()
786 minor = info->gd->first_minor; in xlvbd_release_gendisk()
/drivers/ide/
Dide-probe.c921 blk_register_region(MKDEV(disk->major, disk->first_minor), in ide_register_region()
929 blk_unregister_region(MKDEV(disk->major, disk->first_minor), in ide_unregister_region()
941 disk->first_minor = unit << PARTN_BITS; in ide_init_disk()
/drivers/block/rsxx/
Ddev.c334 card->gendisk->first_minor = 0; in rsxx_setup_dev()
/drivers/sbus/char/
Djsflash.c588 disk->first_minor = i; in jsfd_init()
/drivers/block/aoe/
Daoeblk.c319 gd->first_minor = d->sysminor; in aoeblk_gdalloc()
/drivers/scsi/osd/
Dosd_uld.c456 disk->first_minor = oud->minor; in osd_probe()
/drivers/block/zram/
Dzram_drv.c827 meta = zram_meta_alloc(zram->disk->first_minor, disksize); in disksize_store()
1142 zram->disk->first_minor = device_id; in create_device()
/drivers/mtd/
Dmtd_blkdevs.c387 gd->first_minor = (new->devnum) << tr->part_bits; in add_mtd_blktrans_dev()
/drivers/cdrom/
Dgdrom.c750 gd.disk->first_minor = 1; in probe_gdrom_setupdisk()
/drivers/block/paride/
Dpd.c838 p->first_minor = (disk - pd) << PD_BITS; in pd_probe_drive()
Dpf.c296 disk->first_minor = unit; in pf_init_units()
Dpcd.c319 disk->first_minor = unit; in pcd_init_units()

123