/openbmc/qemu/block/ |
H A D | qapi-sysemu.c | 42 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 D | qapi.c | 430 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 D | block-backend.c | 163 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 D | block.c | 72 "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 D | vhost-user-blk.c | 42 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 D | xlnx-efuse.c | 77 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 D | xlnx-bbram.c | 96 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 D | mac_nvram.c | 54 blk_name(s->blk)); in macio_nvram_writeb()
|
/openbmc/qemu/hw/i386/ |
H A D | pc_sysfw.c | 168 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 D | test-blockjob.c | 49 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 D | edac_device.c | 58 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 D | dce_hwseq.h | 686 #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 D | dce_mem_input.h | 154 #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 D | dif.c | 410 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 D | ctrl.c | 2182 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 D | block-backend-io.h | 26 const char *blk_name(const BlockBackend *blk);
|
/openbmc/qemu/hw/core/ |
H A D | qdev-properties-system.c | 99 value = blk_name(*ptr); in get_drive() 528 ref = blk_name(value); in qdev_prop_set_drive_err()
|
/openbmc/qemu/migration/ |
H A D | block-dirty-bitmap.c | 629 const char *name = blk_name(blk); in init_dirty_bitmap_migration()
|
/openbmc/qemu/monitor/ |
H A D | hmp.c | 1336 readline_add_completion_of(mon->rs, str, blk_name(blk)); in monitor_find_completion_by_table()
|
/openbmc/qemu/hw/scsi/ |
H A D | scsi-disk.c | 2581 const char *str = blk_name(s->qdev.conf.blk); in scsi_realize()
|
/openbmc/qemu/ |
H A D | block.c | 6349 const char *name = blk_name(blk); in bdrv_get_xdbg_block_graph()
|