Searched refs:first_minor (Results 1 – 25 of 56) sorted by relevance
123
/drivers/s390/char/ |
D | tape_core.c | 110 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()
|
D | tape_char.c | 67 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()
|
D | tape.h | 213 int first_minor; member
|
D | tape_std.c | 189 DBF_LH(5, "tape%d: terminate write %dxEOF\n", device->first_minor, in tape_std_terminate_write()
|
/drivers/s390/block/ |
D | dasd_genhd.c | 46 gdp->first_minor = base->devindex << DASD_PARTN_BITS; in dasd_gendisk_alloc()
|
D | dcssblk.c | 117 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()
|
D | xpram.c | 370 disk->first_minor = i; in xpram_setup_blkdev()
|
D | scm_blk.c | 410 bdev->gendisk->first_minor = devindex * SCM_NR_PARTS; in scm_blk_dev_setup()
|
/drivers/block/ |
D | z2ram.c | 363 z2ram_gendisk->first_minor = 0; in z2_init()
|
D | osdblk.c | 414 disk->first_minor = 0; in osdblk_init_disk()
|
D | brd.c | 490 disk->first_minor = i << part_shift; in brd_alloc()
|
D | ps3disk.c | 487 gendisk->first_minor = devidx * PS3DISK_MINORS; in ps3disk_probe()
|
D | hd.c | 751 disk->first_minor = drive << 6; in hd_init()
|
D | xen-blkfront.c | 731 gd->first_minor = minor; in xlvbd_alloc_gendisk() 786 minor = info->gd->first_minor; in xlvbd_release_gendisk()
|
/drivers/ide/ |
D | ide-probe.c | 921 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/ |
D | dev.c | 334 card->gendisk->first_minor = 0; in rsxx_setup_dev()
|
/drivers/sbus/char/ |
D | jsflash.c | 588 disk->first_minor = i; in jsfd_init()
|
/drivers/block/aoe/ |
D | aoeblk.c | 319 gd->first_minor = d->sysminor; in aoeblk_gdalloc()
|
/drivers/scsi/osd/ |
D | osd_uld.c | 456 disk->first_minor = oud->minor; in osd_probe()
|
/drivers/block/zram/ |
D | zram_drv.c | 827 meta = zram_meta_alloc(zram->disk->first_minor, disksize); in disksize_store() 1142 zram->disk->first_minor = device_id; in create_device()
|
/drivers/mtd/ |
D | mtd_blkdevs.c | 387 gd->first_minor = (new->devnum) << tr->part_bits; in add_mtd_blktrans_dev()
|
/drivers/cdrom/ |
D | gdrom.c | 750 gd.disk->first_minor = 1; in probe_gdrom_setupdisk()
|
/drivers/block/paride/ |
D | pd.c | 838 p->first_minor = (disk - pd) << PD_BITS; in pd_probe_drive()
|
D | pf.c | 296 disk->first_minor = unit; in pf_init_units()
|
D | pcd.c | 319 disk->first_minor = unit; in pcd_init_units()
|
123