Home
last modified time | relevance | path

Searched refs:disk_name (Results 1 – 25 of 62) sorted by relevance

123

/drivers/s390/block/
Ddasd_genhd.c62 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()
Dscm_blk.c487 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()
Ddasd_proc.c67 seq_printf(m, " is %-8s", block->gdp->disk_name); in dasd_devices_show()
/drivers/block/
Dsunvdc.c89 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 …]
Dxen-blkfront.c994 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 …]
Dz2ram.c331 sprintf(disk->disk_name, "z2ram%d", minor); in z2ram_register_disk()
333 sprintf(disk->disk_name, "z2ram"); in z2ram_register_disk()
Dps3disk.c459 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()
Dn64cart.c143 strcpy(disk->disk_name, "n64cart"); in n64cart_probe()
Dps3vram.c751 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/
Dmtd_blkdevs.c351 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/
Daoeblk.c203 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()
Daoedev.c250 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/
Ddev.c269 snprintf(card->gendisk->disk_name, sizeof(card->gendisk->disk_name), in rsxx_setup_dev()
/drivers/block/null_blk/
Dtrace.h27 memcpy(name, disk->disk_name, DISK_NAME_LEN); in __assign_disk_name()
Dnull_blk.h119 char disk_name[DISK_NAME_LEN]; member
/drivers/nvme/host/
Dmultipath.c53 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()
Dtrace.h41 memcpy(name, disk->disk_name, DISK_NAME_LEN); in __assign_disk_name()
Dnvme.h797 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/
Dsuper.c880 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/
Dblock.c430 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/
Dsd.h142 (sdsk)->disk->disk_name, fmt, ##a) : \
/drivers/mmc/core/
Dblock.c277 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/
Dpmem.c448 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/
Dzram_drv.c943 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/
Drnbd-clt.c1395 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()

123