/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()
|
/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()
|
/drivers/md/ |
D | dm-audit.c | 42 int dev_minor = dm_disk(md)->first_minor; in dm_audit_log_ti()
|
D | dm-ima.c | 121 dev_name, dev_uuid, md->disk->major, md->disk->first_minor, in dm_ima_alloc_and_copy_device_data()
|
/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()
|
D | pcd.c | 927 disk->first_minor = unit; in pcd_init_unit()
|
/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 | 402 disk->first_minor = i * max_part; in brd_alloc()
|
D | ps3disk.c | 455 gendisk->first_minor = devidx * PS3DISK_MINORS; in ps3disk_probe()
|
D | swim.c | 839 swd->unit[drive].disk->first_minor = drive; in swim_floppy_init()
|
D | xen-blkfront.c | 1155 gd->first_minor = minor; in xlvbd_alloc_gendisk() 2487 xlbd_release_minors(info->gd->first_minor, info->gd->minors); in blkfront_remove()
|
D | sunvdc.c | 845 g->first_minor = port->vio.vdev->dev_no << PARTITION_SHIFT; in probe_disk()
|
/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() 665 dev_info->gd->first_minor); in dcssblk_add_store()
|
D | scm_blk.c | 483 bdev->gendisk->first_minor = devindex * SCM_NR_PARTS; in scm_blk_dev_setup()
|
/drivers/block/aoe/ |
D | aoeblk.c | 395 gd->first_minor = d->sysminor; in aoeblk_gdalloc()
|
/drivers/mtd/ |
D | mtd_blkdevs.c | 346 gd->first_minor = (new->devnum) << tr->part_bits; in add_mtd_blktrans_dev()
|
/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() 946 d->disk->first_minor = idx_to_first_minor(idx); in bcache_device_init()
|
/drivers/cdrom/ |
D | gdrom.c | 719 gd.disk->first_minor = 1; in probe_gdrom_setupdisk()
|
/drivers/scsi/ |
D | sr.c | 647 disk->first_minor = minor; in sr_probe()
|