/qemu/block/ |
H A D | block-backend.c | 99 BlockBackend *blk; member 145 BlockBackend *blk = child->opaque; in blk_root_get_parent_desc() local 169 BlockBackend *blk = opaque; in blk_vm_state_changed() local 192 BlockBackend *blk = child->opaque; in blk_root_activate() local 238 void blk_set_force_allow_inactivate(BlockBackend *blk) in blk_set_force_allow_inactivate() 244 static bool blk_can_inactivate(BlockBackend *blk) in blk_can_inactivate() 265 BlockBackend *blk = child->opaque; in blk_root_inactivate() local 285 BlockBackend *blk = child->opaque; in blk_root_attach() local 300 BlockBackend *blk = child->opaque; in blk_root_detach() local 315 BlockBackend *blk = c->opaque; in blk_root_get_parent_aio_context() local [all …]
|
H A D | qapi-system.c | 45 BlockBackend *blk; in qmp_get_blk() local 79 BlockBackend *blk; in do_open_tray() local 143 BlockBackend *blk; in qmp_blockdev_close_tray() local 175 BlockBackend *blk; in blockdev_remove_medium() local 229 static void qmp_blockdev_insert_anon_medium(BlockBackend *blk, in qmp_blockdev_insert_anon_medium() 277 BlockBackend *blk; in blockdev_insert_medium() local 316 BlockBackend *blk; in qmp_blockdev_change_medium() local 425 BlockBackend *blk; in qmp_block_set_io_throttle() local 518 BlockBackend *blk = qmp_get_blk(NULL, id, errp); in qmp_block_latency_histogram_set() local
|
H A D | qapi.c | 44 BlockDeviceInfo *bdrv_block_device_info(BlockBackend *blk, in bdrv_block_device_info() 422 bdrv_query_info(BlockBackend *blk, BlockInfo **p_info, Error **errp) in bdrv_query_info() 495 static void bdrv_query_blk_stats(BlockDeviceStats *ds, BlockBackend *blk) in bdrv_query_blk_stats() 667 BlockBackend *blk; in qmp_query_block() local 700 BlockBackend *blk; in qmp_query_blockstats() local
|
/qemu/tests/unit/ |
H A D | test-block-iothread.c | 114 static void test_sync_op_blk_pread(BlockBackend *blk) in test_sync_op_blk_pread() 128 static void test_sync_op_blk_pwrite(BlockBackend *blk) in test_sync_op_blk_pwrite() 142 static void test_sync_op_blk_preadv(BlockBackend *blk) in test_sync_op_blk_preadv() 157 static void test_sync_op_blk_pwritev(BlockBackend *blk) in test_sync_op_blk_pwritev() 172 static void test_sync_op_blk_preadv_part(BlockBackend *blk) in test_sync_op_blk_preadv_part() 187 static void test_sync_op_blk_pwritev_part(BlockBackend *blk) in test_sync_op_blk_pwritev_part() 202 static void test_sync_op_blk_pwrite_compressed(BlockBackend *blk) in test_sync_op_blk_pwrite_compressed() 216 static void test_sync_op_blk_pwrite_zeroes(BlockBackend *blk) in test_sync_op_blk_pwrite_zeroes() 268 static void test_sync_op_blk_pdiscard(BlockBackend *blk) in test_sync_op_blk_pdiscard() 302 static void test_sync_op_blk_truncate(BlockBackend *blk) in test_sync_op_blk_truncate() [all …]
|
H A D | test-replication.c | 51 static void test_blk_read(BlockBackend *blk, long pattern, in test_blk_read() 96 static void test_blk_write(BlockBackend *blk, long pattern, int64_t offset, in test_blk_write() 173 BlockBackend *blk; in start_primary() local 201 BlockBackend *blk; in teardown_primary() local 213 BlockBackend *blk; in test_primary_read() local 225 BlockBackend *blk; in test_primary_write() local 237 BlockBackend *blk = NULL; in test_primary_start() local 291 BlockBackend *blk; in start_secondary() local 343 BlockBackend *blk; in teardown_secondary() local 362 BlockBackend *blk; in test_secondary_read() local [all …]
|
H A D | test-blockjob.c | 33 static BlockJob *mk_job(BlockBackend *blk, const char *id, in mk_job() 59 static BlockJob *do_test_id(BlockBackend *blk, const char *id, in do_test_id() 71 BlockBackend *blk = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in create_blk() local 92 static void destroy_blk(BlockBackend *blk) in destroy_blk() 94 if (blk_name(blk)[0] != '\0') { in destroy_blk() local 104 BlockBackend *blk[3]; in test_job_ids() local 163 BlockBackend *blk; member 205 BlockBackend *blk; in create_common() local 229 BlockBackend *blk = s->blk; in cancel_common() local
|
H A D | test-bdrv-drain.c | 187 BlockBackend *blk; in test_setup() local 215 test_drv_cb_common(BlockBackend *blk, enum drain_type drain_type, in test_drv_cb_common() 266 BlockBackend *blk = test_setup(); in test_drv_cb_drain_all() local 273 BlockBackend *blk = test_setup(); in test_drv_cb_drain() local 280 BlockBackend *blk = blk_all_next(NULL); in test_drv_cb_co_drain_all_entry() local 286 BlockBackend *blk = test_setup(); in test_drv_cb_co_drain_all() local 293 BlockBackend *blk = blk_all_next(NULL); in test_drv_cb_co_drain_entry() local 299 BlockBackend *blk = test_setup(); in test_drv_cb_co_drain() local 310 test_quiesce_common(BlockBackend *blk, enum drain_type drain_type, in test_quiesce_common() 336 BlockBackend *blk = test_setup(); in test_quiesce_drain_all() local [all …]
|
H A D | test-block-backend.c | 41 BlockBackend *blk = blk_new(qemu_get_aio_context(), in test_drain_aio_error() local 58 BlockBackend *blk = blk_new(qemu_get_aio_context(), in test_drain_all_aio_error() local
|
/qemu/ |
H A D | qemu-io-cmds.c | 58 static int init_check_command(BlockBackend *blk, const cmdinfo_t *ct) in init_check_command() 70 static int command(BlockBackend *blk, const cmdinfo_t *ct, int argc, in command() 341 static void *qemu_io_alloc(BlockBackend *blk, size_t len, int pattern, in qemu_io_alloc() 360 static void qemu_io_free(BlockBackend *blk, void *p, size_t len, in qemu_io_free() 388 static void *qemu_io_alloc_from_file(BlockBackend *blk, size_t len, in qemu_io_alloc_from_file() 496 create_iovec(BlockBackend *blk, QEMUIOVector *qiov, char **argv, int nr_iov, in create_iovec() 545 static int do_pread(BlockBackend *blk, char *buf, int64_t offset, in do_pread() 562 static int do_pwrite(BlockBackend *blk, char *buf, int64_t offset, in do_pwrite() 579 static int do_pwrite_zeroes(BlockBackend *blk, int64_t offset, in do_pwrite_zeroes() 593 static int do_write_compressed(BlockBackend *blk, char *buf, int64_t offset, in do_write_compressed() [all …]
|
/qemu/hw/block/ |
H A D | block.c | 27 static int blk_pread_nonzeroes(BlockBackend *blk, hwaddr size, void *buf) in blk_pread_nonzeroes() 63 bool blk_check_size_and_read_all(BlockBackend *blk, DeviceState *dev, in blk_check_size_and_read_all() 110 BlockBackend *blk = conf->blk; in blkconf_blocksizes() local 207 BlockBackend *blk = conf->blk; in blkconf_apply_backend_options() local
|
H A D | hd-geometry.c | 55 static int guess_disk_lchs(BlockBackend *blk, in guess_disk_lchs() 98 static void guess_chs_for_size(BlockBackend *blk, in guess_chs_for_size() 117 void hd_geometry_guess(BlockBackend *blk, in hd_geometry_guess()
|
/qemu/hw/intc/ |
H A D | pnv_xive.c | 75 uint8_t blk = xive->chip->chip_id; in pnv_xive_block_id() local 197 uint64_t vsd, uint8_t blk, in pnv_xive_vst_addr_remote() 224 static uint64_t pnv_xive_vst_addr(PnvXive *xive, uint32_t type, uint8_t blk, in pnv_xive_vst_addr() 250 static int pnv_xive_vst_read(PnvXive *xive, uint32_t type, uint8_t blk, in pnv_xive_vst_read() 274 static int pnv_xive_vst_write(PnvXive *xive, uint32_t type, uint8_t blk, in pnv_xive_vst_write() 304 static int pnv_xive_get_end(XiveRouter *xrtr, uint8_t blk, uint32_t idx, in pnv_xive_get_end() 317 static int pnv_xive_write_end(XiveRouter *xrtr, uint8_t blk, uint32_t idx, in pnv_xive_write_end() 333 uint8_t blk = GETFIELD(VC_EQC_CWATCH_BLOCKID, in pnv_xive_end_update() local 350 uint8_t blk = GETFIELD(VC_EQC_CWATCH_BLOCKID, in pnv_xive_end_cache_load() local 366 static int pnv_xive_get_nvt(XiveRouter *xrtr, uint8_t blk, uint32_t idx, in pnv_xive_get_nvt() [all …]
|
H A D | pnv_xive2.c | 93 uint8_t blk = xive->chip->chip_id; in pnv_xive2_block_id() local 109 static PnvXive2 *pnv_xive2_get_remote(uint8_t blk) in pnv_xive2_get_remote() 233 static uint64_t pnv_xive2_vst_addr(PnvXive2 *xive, uint32_t type, uint8_t blk, in pnv_xive2_vst_addr() 272 static int pnv_xive2_vst_read(PnvXive2 *xive, uint32_t type, uint8_t blk, in pnv_xive2_vst_read() 296 static int pnv_xive2_vst_write(PnvXive2 *xive, uint32_t type, uint8_t blk, in pnv_xive2_vst_write() 326 static int pnv_xive2_get_pq(Xive2Router *xrtr, uint8_t blk, uint32_t idx, in pnv_xive2_get_pq() 340 static int pnv_xive2_set_pq(Xive2Router *xrtr, uint8_t blk, uint32_t idx, in pnv_xive2_set_pq() 354 static int pnv_xive2_get_end(Xive2Router *xrtr, uint8_t blk, uint32_t idx, in pnv_xive2_get_end() 360 static int pnv_xive2_write_end(Xive2Router *xrtr, uint8_t blk, uint32_t idx, in pnv_xive2_write_end() 436 uint8_t blk; in pnv_xive2_end_update() local [all …]
|
/qemu/block/export/ |
H A D | virtio-blk-handler.c | 26 virtio_blk_sect_range_ok(BlockBackend *blk, uint32_t block_size, in virtio_blk_sect_range_ok() 56 BlockBackend *blk = handler->blk; in virtio_blk_discard_write_zeroes() local 138 BlockBackend *blk = handler->blk; in virtio_blk_process_req() local
|
/qemu/tests/qtest/libqos/ |
H A D | virtio-blk.h | 37 QVirtioBlk blk; member 42 QVirtioBlk blk; member
|
H A D | vhost-user-blk.h | 40 QVhostUserBlk blk; member 45 QVhostUserBlk blk; member
|
/qemu/hw/ufs/ |
H A D | lu.c | 284 BlockBackend *blk = lu->conf.blk; in ufs_add_lu() local 314 BlockBackend *blk = lu->conf.blk; in ufs_init_lu() local 344 static void ufs_init_scsi_device(UfsLu *lu, BlockBackend *blk, Error **errp) in ufs_init_scsi_device() 384 BlockBackend *blk = lu->conf.blk; in ufs_lu_realize() local
|
/qemu/system/ |
H A D | dma-helpers.c | 246 BlockBackend *blk = opaque; in dma_blk_read_io_func() local 250 BlockAIOCB *dma_blk_read(BlockBackend *blk, in dma_blk_read() 264 BlockBackend *blk = opaque; in dma_blk_write_io_func() local 268 BlockAIOCB *dma_blk_write(BlockBackend *blk, in dma_blk_write() 317 void dma_acct_start(BlockBackend *blk, BlockAcctCookie *cookie, in dma_acct_start()
|
/qemu/hw/arm/ |
H A D | xlnx-zcu102.c | 106 BlockBackend *blk; in bbram_attach_drive() local 118 BlockBackend *blk; in efuse_attach_drive() local 179 BlockBackend *blk = di ? blk_by_legacy_dinfo(di) : NULL; in xlnx_zcu102_init() local
|
H A D | mcimx7d-sabre.c | 56 BlockBackend *blk; in mcimx7d_sabre_init() local
|
H A D | mcimx6ul-evk.c | 56 BlockBackend *blk; in mcimx6ul_evk_init() local
|
H A D | orangepi.c | 36 BlockBackend *blk; in orangepi_init() local
|
H A D | cubieboard.c | 37 BlockBackend *blk; in cubieboard_init() local
|
/qemu/include/system/ |
H A D | block-ram-registrar.h | 23 BlockBackend *blk; member
|
/qemu/hw/nvme/ |
H A D | dif.c | 352 BlockBackend *blk = ns->blkconf.blk; in nvme_dif_mangle_mdata() local 408 BlockBackend *blk = ns->blkconf.blk; in nvme_dif_rw_cb() local 493 BlockBackend *blk = ns->blkconf.blk; in nvme_dif_rw_mdata_in_cb() local 522 BlockBackend *blk = ns->blkconf.blk; in nvme_dif_rw_mdata_out_cb() local 542 BlockBackend *blk = ns->blkconf.blk; in nvme_dif_rw() local
|