Home
last modified time | relevance | path

Searched refs:blk_name (Results 1 – 21 of 21) sorted by relevance

/openbmc/qemu/block/
H A Dqapi-sysemu.c42 static BlockBackend *qmp_get_blk(const char *blk_name, const char *qdev_id, in qmp_get_blk() argument
47 if (!blk_name == !qdev_id) { in qmp_get_blk()
55 blk = blk_by_name(blk_name); in qmp_get_blk()
58 "Device '%s' not found", blk_name); in qmp_get_blk()
76 static int do_open_tray(const char *blk_name, const char *qdev_id, in do_open_tray() argument
80 const char *device = qdev_id ?: blk_name; in do_open_tray()
83 blk = qmp_get_blk(blk_name, qdev_id, errp); in do_open_tray()
H A Dqapi.c430 info->device = g_strdup(blk_name(blk)); in bdrv_query_info()
674 if (!*blk_name(blk) && !blk_get_attached_dev(blk)) { in qmp_query_block()
714 if (!*blk_name(blk) && !blk_get_attached_dev(blk)) { in qmp_query_blockstats()
719 s->device = g_strdup(blk_name(blk)); in qmp_query_blockstats()
H A Dblock-backend.c163 return blk_name(child->opaque); in blk_root_get_name()
247 if (blk->dev || blk_name(blk)[0]) { in blk_can_inactivate()
732 const char *blk_name(const BlockBackend *blk) in blk_name() function
1117 qapi_event_send_device_tray_moved(blk_name(blk), id, tray_is_open); in blk_dev_change_media_cb()
2139 qapi_event_send_block_io_error(blk_name(blk), in send_qmp_error_event()
2269 qapi_event_send_device_tray_moved(blk_name(blk), id, in blk_co_eject()
/openbmc/qemu/hw/block/
H A Dblock.c72 "can't get size of %s block backend", blk_name(blk)); in blk_check_size_and_read_all()
80 blk_name(blk), blk_len); in blk_check_size_and_read_all()
96 blk_name(blk), object_get_typename(OBJECT(dev)), in blk_check_size_and_read_all()
/openbmc/qemu/contrib/vhost-user-blk/
H A Dvhost-user-blk.c42 char *blk_name; member
148 vdev_blk->blk_name, req->sector_num, req->size, in vub_readv()
171 vdev_blk->blk_name, req->sector_num, req->size, in vub_writev()
450 fd = vub_open(vdev_blk->blk_name, wce); in vub_set_config()
452 fprintf(stderr, "Error to open block device %s\n", vdev_blk->blk_name); in vub_set_config()
568 vdev_blk->blk_name = blk_file; in vub_new()
/openbmc/qemu/hw/nvram/
H A Dxlnx-efuse.c77 blk_name(s->blk)); in efuse_bdrv_read()
82 blk_name(s->blk), nr); in efuse_bdrv_read()
110 blk_name(s->blk), row_offset); in efuse_bdrv_sync()
H A Dxlnx-bbram.c96 blk_name(s->blk), detail); in bbram_bdrv_error()
125 blk_name(s->blk)); in bbram_bdrv_read()
131 blk_name(s->blk), nr); in bbram_bdrv_read()
H A Dmac_nvram.c54 blk_name(s->blk)); in macio_nvram_writeb()
/openbmc/qemu/hw/i386/
H A Dpc_sysfw.c168 blk_name(blk), strerror(-size)); in pc_system_flash_map()
174 blk_name(blk), size); in pc_system_flash_map()
/openbmc/qemu/tests/unit/
H A Dtest-blockjob.c49 g_assert_cmpstr(job->job.id, ==, blk_name(blk)); in mk_job()
94 if (blk_name(blk)[0] != '\0') { in destroy_blk()
/openbmc/linux/drivers/edac/
H A Dedac_device.c58 char *blk_name, unsigned nr_blocks, unsigned off_val, in edac_device_alloc_ctl_info() argument
131 "%s%d", blk_name, block + off_val); in edac_device_alloc_ctl_info()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_hwseq.h686 #define HWS_SF(blk_name, reg_name, field_name, post_fix)\ argument
687 .field_name = blk_name ## reg_name ## __ ## field_name ## post_fix
689 #define HWS_SF1(blk_name, reg_name, field_name, post_fix)\ argument
690 .field_name = blk_name ## reg_name ## __ ## blk_name ## field_name ## post_fix
H A Ddce_mem_input.h154 #define SFB(blk_name, reg_name, field_name, post_fix)\ argument
155 .field_name = blk_name ## reg_name ## __ ## field_name ## post_fix
/openbmc/qemu/hw/nvme/
H A Ddif.c410 trace_pci_nvme_dif_rw_cb(nvme_cid(req), blk_name(blk)); in nvme_dif_rw_cb()
495 trace_pci_nvme_dif_rw_mdata_in_cb(nvme_cid(req), blk_name(blk)); in nvme_dif_rw_mdata_in_cb()
524 trace_pci_nvme_dif_rw_mdata_out_cb(nvme_cid(req), blk_name(blk)); in nvme_dif_rw_mdata_out_cb()
H A Dctrl.c2182 trace_pci_nvme_rw_complete_cb(nvme_cid(req), blk_name(blk)); in nvme_rw_complete_cb()
2205 trace_pci_nvme_rw_cb(nvme_cid(req), blk_name(blk)); in nvme_rw_cb()
2315 trace_pci_nvme_verify_mdata_in_cb(nvme_cid(req), blk_name(blk)); in nvme_verify_mdata_in_cb()
/openbmc/qemu/include/sysemu/
H A Dblock-backend-io.h26 const char *blk_name(const BlockBackend *blk);
/openbmc/qemu/hw/core/
H A Dqdev-properties-system.c99 value = blk_name(*ptr); in get_drive()
528 ref = blk_name(value); in qdev_prop_set_drive_err()
/openbmc/qemu/migration/
H A Dblock-dirty-bitmap.c629 const char *name = blk_name(blk); in init_dirty_bitmap_migration()
/openbmc/qemu/monitor/
H A Dhmp.c1336 readline_add_completion_of(mon->rs, str, blk_name(blk)); in monitor_find_completion_by_table()
/openbmc/qemu/hw/scsi/
H A Dscsi-disk.c2581 const char *str = blk_name(s->qdev.conf.blk); in scsi_realize()
/openbmc/qemu/
H A Dblock.c6349 const char *name = blk_name(blk); in bdrv_get_xdbg_block_graph()