/openbmc/qemu/tests/unit/ |
H A D | test-block-iothread.c | 476 blk = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_sync_op() 492 blk_set_aio_context(blk, qemu_get_aio_context(), &error_abort); in test_sync_op() 506 g_assert(qemu_get_current_aio_context() == qemu_get_aio_context()); in test_job_prepare() 557 blk = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_attach_blockjob() 567 aio_poll(qemu_get_aio_context(), false); in test_attach_blockjob() 574 aio_poll(qemu_get_aio_context(), false); in test_attach_blockjob() 577 blk_set_aio_context(blk, qemu_get_aio_context(), &error_abort); in test_attach_blockjob() 581 aio_poll(qemu_get_aio_context(), false); in test_attach_blockjob() 588 aio_poll(qemu_get_aio_context(), false); in test_attach_blockjob() 594 blk_set_aio_context(blk, qemu_get_aio_context(), &error_abort); in test_attach_blockjob() [all …]
|
H A D | test-bdrv-drain.c | 152 aio_poll(qemu_get_aio_context(), true); in call_in_coroutine() 190 blk = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_setup() 381 blk = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_nested() 431 blk_a = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_graph_change_drain_all() 447 blk_b = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_graph_change_drain_all() 546 blk = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_iothread_common() 607 blk_set_aio_context(blk, qemu_get_aio_context(), &error_abort); in test_iothread_common() 739 blk_src = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_blockjob_common_drain_node() 763 blk_target = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_blockjob_common_drain_node() 795 aio_poll(qemu_get_aio_context(), false); in test_blockjob_common_drain_node() [all …]
|
H A D | test-blockjob.c | 71 BlockBackend *blk = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in create_blk() 350 aio_poll(qemu_get_aio_context(), true); in test_cancel_pending() 353 aio_poll(qemu_get_aio_context(), true); in test_cancel_pending() 377 aio_poll(qemu_get_aio_context(), true); in test_cancel_concluded() 380 aio_poll(qemu_get_aio_context(), true); in test_cancel_concluded()
|
H A D | test-block-backend.c | 41 BlockBackend *blk = blk_new(qemu_get_aio_context(), in test_drain_aio_error() 58 BlockBackend *blk = blk_new(qemu_get_aio_context(), in test_drain_all_aio_error()
|
H A D | test-blockjob-txn.c | 126 aio_poll(qemu_get_aio_context(), true); in test_single_job() 177 aio_poll(qemu_get_aio_context(), true); in test_pair_jobs() 237 aio_poll(qemu_get_aio_context(), true); in test_pair_jobs_fail_cancel_race()
|
H A D | test-bdrv-graph-mod.c | 132 BlockBackend *root = blk_new(qemu_get_aio_context(), in test_update_perm_tree() 198 BlockBackend *root = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in test_should_update_child()
|
H A D | test-throttle.c | 745 blk1 = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in test_groups() 746 blk2 = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in test_groups() 747 blk3 = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in test_groups() 807 ctx = qemu_get_aio_context(); in main()
|
/openbmc/qemu/include/block/ |
H A D | aio-wait.h | 93 qemu_get_aio_context()); \ 95 aio_poll(qemu_get_aio_context(), true); \ 145 if (ctx == qemu_get_aio_context()) { in in_aio_context_home_thread()
|
/openbmc/qemu/util/ |
H A D | aio-wait.c | 54 aio_bh_schedule_oneshot(qemu_get_aio_context(), dummy_bh_cb, NULL); in aio_wait_kick() 82 assert(qemu_get_current_aio_context() == qemu_get_aio_context()); in aio_wait_bh_oneshot()
|
H A D | thread-pool.c | 328 ctx = qemu_get_aio_context(); in thread_pool_init_one()
|
/openbmc/qemu/stubs/ |
H A D | iothread-lock-block.c | 6 return qemu_get_current_aio_context() == qemu_get_aio_context(); in qemu_in_main_thread()
|
/openbmc/qemu/block/export/ |
H A D | export.c | 231 aio_bh_schedule_oneshot(qemu_get_aio_context(), blk_exp_delete_bh, in blk_exp_unref() 286 assert(in_aio_context_home_thread(qemu_get_aio_context())); in blk_exp_close_all_type()
|
/openbmc/qemu/block/ |
H A D | create.c | 97 qemu_get_aio_context(), JOB_DEFAULT | JOB_MANUAL_DISMISS, in qmp_blockdev_create()
|
H A D | graph-lock.c | 170 aio_bh_poll(qemu_get_aio_context()); in bdrv_graph_wrunlock()
|
/openbmc/qemu/include/qemu/ |
H A D | main-loop.h | 97 AioContext *qemu_get_aio_context(void);
|
/openbmc/qemu/fsdev/ |
H A D | qemu-fsdev-throttle.c | 86 qemu_get_aio_context(), in fsdev_throttle_init()
|
/openbmc/qemu/backends/tpm/ |
H A D | tpm_backend.c | 55 aio_poll(qemu_get_aio_context(), true); in tpm_backend_finish_sync()
|
/openbmc/qemu/hw/scsi/ |
H A D | virtio-scsi-dataplane.c | 47 s->ctx = qemu_get_aio_context(); in virtio_scsi_dataplane_setup()
|
/openbmc/qemu/qapi/ |
H A D | qmp-dispatch.c | 215 aio_co_schedule(qemu_get_aio_context(), qemu_coroutine_self()); in qmp_dispatch()
|
/openbmc/qemu/hw/ide/ |
H A D | ide-dev.c | 88 dev->conf.blk = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in ide_dev_initfn()
|
/openbmc/qemu/hw/block/dataplane/ |
H A D | xen-block.c | 628 dataplane->ctx = qemu_get_aio_context(); in xen_block_dataplane_create() 700 blk_set_aio_context(dataplane->blk, qemu_get_aio_context(), &error_abort); in xen_block_dataplane_stop()
|
/openbmc/qemu/hw/hyperv/ |
H A D | hyperv_testdev.c | 131 aio_bh_schedule_oneshot(qemu_get_aio_context(), msg_retry, conn); in msg_cb()
|
/openbmc/qemu/ |
H A D | iothread.c | 407 return qemu_get_current_aio_context() != qemu_get_aio_context(); in qemu_in_iothread()
|
H A D | job.c | 433 aio_timer_init(qemu_get_aio_context(), &job->sleep_timer, in job_create() 1112 aio_bh_schedule_oneshot(qemu_get_aio_context(), job_exit, job); in job_co_entry()
|
/openbmc/qemu/migration/ |
H A D | savevm.c | 3444 aio_bh_schedule_oneshot(qemu_get_aio_context(), in snapshot_save_job_run() 3455 aio_bh_schedule_oneshot(qemu_get_aio_context(), in snapshot_load_job_run() 3466 aio_bh_schedule_oneshot(qemu_get_aio_context(), in snapshot_delete_job_run() 3501 qemu_get_aio_context(), JOB_MANUAL_DISMISS, in qmp_snapshot_save() 3523 qemu_get_aio_context(), JOB_MANUAL_DISMISS, in qmp_snapshot_load() 3544 qemu_get_aio_context(), JOB_MANUAL_DISMISS, in qmp_snapshot_delete()
|