/drivers/s390/block/ |
D | dasd_genhd.c | 62 len = sprintf(gdp->disk_name, "dasd"); in dasd_gendisk_alloc() 66 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 69 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 72 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 75 len += sprintf(gdp->disk_name + len, "%c", 'a'+(base->devindex%26)); in dasd_gendisk_alloc()
|
D | scm_blk.c | 487 len = snprintf(bdev->gendisk->disk_name, DISK_NAME_LEN, "scm"); in scm_blk_dev_setup() 489 len += snprintf(bdev->gendisk->disk_name + len, in scm_blk_dev_setup() 494 snprintf(bdev->gendisk->disk_name + len, DISK_NAME_LEN - len, "%c", in scm_blk_dev_setup()
|
D | dasd_proc.c | 67 seq_printf(m, " is %-8s", block->gdp->disk_name); in dasd_devices_show()
|
/drivers/block/ |
D | sunvdc.c | 89 char disk_name[32]; member 845 strcpy(g->disk_name, port->disk_name); in probe_disk() 856 pr_info(PFX "Virtual CDROM %s\n", port->disk_name); in probe_disk() 863 pr_info(PFX "Virtual DVD %s\n", port->disk_name); in probe_disk() 870 pr_info(PFX "Virtual Hard disk %s\n", port->disk_name); in probe_disk() 878 g->disk_name, in probe_disk() 992 snprintf(port->disk_name, sizeof(port->disk_name), in vdc_port_probe() 997 snprintf(port->disk_name, sizeof(port->disk_name), in vdc_port_probe() 1012 &vdc_vio_ops, port->disk_name); in vdc_port_probe() 1135 port->disk_name, port->ldc_timeout); in vdc_ldc_reset_timer_work() [all …]
|
D | xen-blkfront.c | 994 info->gd->disk_name, flush_info(info), in xlvbd_flush() 1146 strcpy(gd->disk_name, DEV_NAME); in xlvbd_alloc_gendisk() 1147 ptr = encode_disk_name(gd->disk_name + sizeof(DEV_NAME) - 1, offset); in xlvbd_alloc_gendisk() 1148 BUG_ON(ptr >= gd->disk_name + DISK_NAME_LEN); in xlvbd_alloc_gendisk() 1152 snprintf(ptr, gd->disk_name + DISK_NAME_LEN - ptr, in xlvbd_alloc_gendisk() 1447 info->gd->disk_name, s->associated_id); in blkif_completion() 1546 info->gd->disk_name, rp - rinfo->ring.rsp_cons); in blkif_interrupt() 1566 info->gd->disk_name, id); in blkif_interrupt() 1571 info->gd->disk_name); in blkif_interrupt() 1583 info->gd->disk_name, bret.operation, op); in blkif_interrupt() [all …]
|
D | z2ram.c | 331 sprintf(disk->disk_name, "z2ram%d", minor); in z2ram_register_disk() 333 sprintf(disk->disk_name, "z2ram"); in z2ram_register_disk()
|
D | ps3disk.c | 459 snprintf(gendisk->disk_name, sizeof(gendisk->disk_name), PS3DISK_NAME, in ps3disk_probe() 467 gendisk->disk_name, priv->model, priv->raw_capacity >> 11, in ps3disk_probe()
|
D | n64cart.c | 143 strcpy(disk->disk_name, "n64cart"); in n64cart_probe()
|
D | ps3vram.c | 751 strlcpy(gendisk->disk_name, DEVICE_NAME, sizeof(gendisk->disk_name)); in ps3vram_probe() 758 gendisk->disk_name, get_capacity(gendisk) >> 11); in ps3vram_probe()
|
/drivers/mtd/ |
D | mtd_blkdevs.c | 351 snprintf(gd->disk_name, sizeof(gd->disk_name), in add_mtd_blktrans_dev() 354 snprintf(gd->disk_name, sizeof(gd->disk_name), in add_mtd_blktrans_dev() 359 snprintf(gd->disk_name, sizeof(gd->disk_name), in add_mtd_blktrans_dev()
|
/drivers/block/aoe/ |
D | aoeblk.c | 203 p = strchr(d->gd->disk_name, '/'); in aoedisk_add_debugfs() 205 p = d->gd->disk_name; in aoedisk_add_debugfs() 412 snprintf(gd->disk_name, sizeof gd->disk_name, "etherd/e%ld.%d", in aoeblk_gdalloc()
|
D | aoedev.c | 250 p = kbasename(d->gd->disk_name); in user_req() 251 lim = sizeof(d->gd->disk_name); in user_req() 252 lim -= p - d->gd->disk_name; in user_req()
|
/drivers/block/rsxx/ |
D | dev.c | 269 snprintf(card->gendisk->disk_name, sizeof(card->gendisk->disk_name), in rsxx_setup_dev()
|
/drivers/block/null_blk/ |
D | trace.h | 27 memcpy(name, disk->disk_name, DISK_NAME_LEN); in __assign_disk_name()
|
D | null_blk.h | 119 char disk_name[DISK_NAME_LEN]; member
|
/drivers/nvme/host/ |
D | multipath.c | 53 bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, int *flags) in nvme_mpath_set_disk_name() argument 58 sprintf(disk_name, "nvme%dn%d", ns->ctrl->subsys->instance, in nvme_mpath_set_disk_name() 62 sprintf(disk_name, "nvme%dc%dn%d", ns->ctrl->subsys->instance, in nvme_mpath_set_disk_name() 484 sprintf(head->disk->disk_name, "nvme%dn%d", in nvme_mpath_alloc_disk()
|
D | trace.h | 41 memcpy(name, disk->disk_name, DISK_NAME_LEN); in __assign_disk_name()
|
D | nvme.h | 797 bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, int *flags); 830 static inline bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, in nvme_mpath_set_disk_name() argument
|
/drivers/md/bcache/ |
D | super.c | 880 pr_info("%s stopped\n", disk->disk_name); in bcache_device_free() 947 snprintf(d->disk->disk_name, DISK_NAME_LEN, "bcache%i", idx); in bcache_device_init() 972 d->disk->disk_name, q->limits.logical_block_size, in bcache_device_init() 1302 dc->disk.disk->disk_name); in bch_cached_dev_attach() 1343 dc->disk.disk->disk_name, in bch_cached_dev_attach() 1627 dc->disk.disk->disk_name, dc->backing_dev_name); in bch_cached_dev_error() 1783 d->disk->disk_name, c->set_uuid); in conditional_stop_bcache_device() 1791 d->disk->disk_name); in conditional_stop_bcache_device() 1813 d->disk->disk_name); in conditional_stop_bcache_device()
|
/drivers/mtd/ubi/ |
D | block.c | 430 sprintf(gd->disk_name, "ubiblock%d_%d", dev->ubi_num, dev->vol_id); in ubiblock_create() 441 dev->wq = alloc_workqueue("%s", 0, 0, gd->disk_name); in ubiblock_create()
|
/drivers/scsi/ |
D | sd.h | 142 (sdsk)->disk->disk_name, fmt, ##a) : \
|
/drivers/mmc/core/ |
D | block.c | 277 md->disk->disk_name); in power_ro_lock_store() 282 pr_info("%s: Locking boot partition ro until next power on\n", part_md->disk->disk_name); in power_ro_lock_store() 1125 md->disk->disk_name, ret); in mmc_blk_issue_drv_op() 1141 md->disk->disk_name); in mmc_blk_issue_drv_op() 1903 pr_err("%s: recovery failed!\n", req->rq_disk->disk_name); in mmc_blk_mq_rw_recovery() 2514 snprintf(md->disk->disk_name, sizeof(md->disk->disk_name), in mmc_blk_alloc_req() 2542 md->disk->disk_name, mmc_card_id(card), mmc_card_name(card), in mmc_blk_alloc_req()
|
/drivers/nvdimm/ |
D | pmem.c | 448 nvdimm_namespace_disk_name(ndns, disk->disk_name); in pmem_attach_disk() 458 dax_dev = alloc_dax(pmem, disk->disk_name, &pmem_dax_ops, flags); in pmem_attach_disk()
|
/drivers/block/zram/ |
D | zram_drv.c | 943 zram->debugfs_dir = debugfs_create_dir(zram->disk->disk_name, in zram_debugfs_register() 1164 zram->mem_pool = zs_create_pool(zram->disk->disk_name); in zram_meta_alloc() 1924 snprintf(zram->disk->disk_name, 16, "zram%d", device_id); in zram_add() 1962 pr_info("Added device: %s\n", zram->disk->disk_name); in zram_add() 1991 pr_info("Removed device: %s\n", zram->disk->disk_name); in zram_remove()
|
/drivers/block/rnbd/ |
D | rnbd-clt.c | 1395 snprintf(dev->gd->disk_name, sizeof(dev->gd->disk_name), "rnbd%d", in rnbd_clt_setup_gen_disk() 1398 dev->gd->disk_name, in rnbd_clt_setup_gen_disk() 1609 dev->gd->disk_name, dev->nsectors, in rnbd_clt_map_device()
|