Home
last modified time | relevance | path

Searched refs:local_blk (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-replication.c387 BlockBackend *top_blk, *local_blk; in test_secondary_start() local
397 local_blk = blk_by_name(S_LOCAL_DISK_ID); in test_secondary_start()
398 test_blk_write(local_blk, 0x22, IMG_SIZE / 2, IMG_SIZE / 2, false); in test_secondary_start()
420 BlockBackend *top_blk, *local_blk; in test_secondary_stop() local
427 local_blk = blk_by_name(S_LOCAL_DISK_ID); in test_secondary_stop()
428 test_blk_write(local_blk, 0x22, IMG_SIZE / 2, IMG_SIZE / 2, false); in test_secondary_stop()
454 BlockBackend *top_blk, *local_blk; in test_secondary_continuous_replication() local
460 local_blk = blk_by_name(S_LOCAL_DISK_ID); in test_secondary_continuous_replication()
498 BlockBackend *top_blk, *local_blk; in test_secondary_do_checkpoint() local
505 local_blk = blk_by_name(S_LOCAL_DISK_ID); in test_secondary_do_checkpoint()
[all …]
/openbmc/qemu/block/monitor/
H A Dblock-hmp-cmds.c550 BlockBackend *local_blk = NULL; in hmp_qemu_io() local
573 blk = local_blk = blk_new(bdrv_get_aio_context(bs), 0, BLK_PERM_ALL); in hmp_qemu_io()
608 blk_unref(local_blk); in hmp_qemu_io()