/openbmc/qemu/util/ |
H A D | qemu-coroutine-lock.c | 44 Coroutine *self = qemu_coroutine_self(); in qemu_co_queue_wait_impl() 144 w->co = qemu_coroutine_self(); in push_waiter() 197 Coroutine *self = qemu_coroutine_self(); in qemu_co_mutex_lock_slowpath() 239 Coroutine *self = qemu_coroutine_self(); in qemu_co_mutex_lock() 278 Coroutine *self = qemu_coroutine_self(); in qemu_co_mutex_unlock() 381 Coroutine *self = qemu_coroutine_self(); in qemu_co_rwlock_rdlock() 406 Coroutine *self = qemu_coroutine_self(); in qemu_co_rwlock_unlock() 434 Coroutine *self = qemu_coroutine_self(); in qemu_co_rwlock_wrlock() 441 CoRwTicket my_ticket = { false, qemu_coroutine_self() }; in qemu_co_rwlock_wrlock() 461 CoRwTicket my_ticket = { false, qemu_coroutine_self() }; in qemu_co_rwlock_upgrade()
|
H A D | qemu-coroutine-sleep.c | 45 Coroutine *co = qemu_coroutine_self(); in qemu_co_sleep()
|
H A D | coroutine-ucontext.c | 286 co_->entry_arg = qemu_coroutine_self(); in qemu_coroutine_delete() 337 Coroutine *qemu_coroutine_self(void) in qemu_coroutine_self() function
|
H A D | qemu-coroutine.c | 249 Coroutine *from = qemu_coroutine_self(); in qemu_aio_coroutine_enter() 328 Coroutine *self = qemu_coroutine_self(); in qemu_coroutine_yield()
|
H A D | qemu-coroutine-io.c | 87 data.co = qemu_coroutine_self(); in yield_until_fd_readable()
|
H A D | coroutine-windows.c | 90 Coroutine *qemu_coroutine_self(void) in qemu_coroutine_self() function
|
H A D | coroutine-sigaltstack.c | 290 Coroutine *qemu_coroutine_self(void) in qemu_coroutine_self() function
|
H A D | async.c | 673 .co = qemu_coroutine_self(), in aio_co_reschedule_self() 707 Coroutine *self = qemu_coroutine_self(); in aio_co_enter()
|
H A D | thread-pool.c | 286 ThreadPoolCo tpc = { .co = qemu_coroutine_self(), .ret = -EINPROGRESS }; in thread_pool_submit_co()
|
/openbmc/qemu/qapi/ |
H A D | qmp-dispatch.c | 127 monitor_set_cur(qemu_coroutine_self(), data->cur_mon); in do_qmp_dispatch_bh() 129 monitor_set_cur(qemu_coroutine_self(), NULL); in do_qmp_dispatch_bh() 215 aio_co_schedule(qemu_get_aio_context(), qemu_coroutine_self()); in qmp_dispatch() 219 monitor_set_cur(qemu_coroutine_self(), cur_mon); in qmp_dispatch() 221 monitor_set_cur(qemu_coroutine_self(), NULL); in qmp_dispatch() 231 qemu_coroutine_self()); in qmp_dispatch() 255 .co = qemu_coroutine_self(), in qmp_dispatch()
|
/openbmc/qemu/block/ |
H A D | blkreplay.c | 79 block_request_create(reqid, bs, qemu_coroutine_self()); in blkreplay_co_preadv() 91 block_request_create(reqid, bs, qemu_coroutine_self()); in blkreplay_co_pwritev() 103 block_request_create(reqid, bs, qemu_coroutine_self()); in blkreplay_co_pwrite_zeroes() 114 block_request_create(reqid, bs, qemu_coroutine_self()); in blkreplay_co_pdiscard() 124 block_request_create(reqid, bs, qemu_coroutine_self()); in blkreplay_co_flush()
|
H A D | qcow2-cache.c | 192 trace_qcow2_cache_entry_flush(qemu_coroutine_self(), in qcow2_cache_entry_flush() 247 trace_qcow2_cache_flush(qemu_coroutine_self(), c == s->l2_table_cache); in qcow2_cache_write() 336 trace_qcow2_cache_get(qemu_coroutine_self(), c == s->l2_table_cache, in qcow2_cache_do_get() 370 trace_qcow2_cache_get_replace_entry(qemu_coroutine_self(), in qcow2_cache_do_get() 378 trace_qcow2_cache_get_read(qemu_coroutine_self(), in qcow2_cache_do_get() 400 trace_qcow2_cache_get_done(qemu_coroutine_self(), in qcow2_cache_do_get()
|
H A D | aio_task.c | 64 assert(qemu_coroutine_self() == pool->main_co); in aio_task_pool_wait_one() 103 pool->main_co = qemu_coroutine_self(); in aio_task_pool_new()
|
H A D | blkio.c | 347 .coroutine = qemu_coroutine_self(), in blkio_co_pdiscard() 364 .coroutine = qemu_coroutine_self(), in blkio_co_preadv() 408 .coroutine = qemu_coroutine_self(), in blkio_co_pwritev() 446 .coroutine = qemu_coroutine_self(), in blkio_co_flush() 463 .coroutine = qemu_coroutine_self(), in blkio_co_pwrite_zeroes()
|
H A D | io.c | 319 Coroutine *self = qemu_coroutine_self(); in bdrv_co_yield_to_drain() 619 .co = qemu_coroutine_self(), in tracked_request_begin() 666 assert(qemu_coroutine_self() != req->co); in bdrv_find_conflicting_request() 721 Coroutine *self = qemu_coroutine_self(); in bdrv_co_get_self_request() 1009 .coroutine = qemu_coroutine_self(), in bdrv_driver_preadv() 1088 .coroutine = qemu_coroutine_self(), in bdrv_driver_pwritev() 3012 .coroutine = qemu_coroutine_self(), in bdrv_co_flush() 3165 .coroutine = qemu_coroutine_self(), in bdrv_co_pdiscard() 3197 .coroutine = qemu_coroutine_self(), in bdrv_co_ioctl() 3230 .coroutine = qemu_coroutine_self(), in bdrv_co_zone_report() [all …]
|
H A D | gluster.c | 1012 acb.coroutine = qemu_coroutine_self(); in qemu_gluster_co_pwrite_zeroes() 1190 acb.coroutine = qemu_coroutine_self(); in qemu_gluster_co_rw() 1257 acb.coroutine = qemu_coroutine_self(); in qemu_gluster_co_flush_to_disk() 1305 acb.coroutine = qemu_coroutine_self(); in qemu_gluster_co_pdiscard()
|
H A D | qcow2-cluster.c | 1036 trace_qcow2_cluster_link_l2(qemu_coroutine_self(), m->nb_clusters); in qcow2_alloc_cluster_link_l2() 1506 trace_qcow2_handle_copied(qemu_coroutine_self(), guest_offset, *host_offset, in handle_copied() 1610 trace_qcow2_do_alloc_clusters_offset(qemu_coroutine_self(), guest_offset, in do_alloc_cluster_offset() 1621 trace_qcow2_cluster_alloc_phys(qemu_coroutine_self()); in do_alloc_cluster_offset() 1673 trace_qcow2_handle_alloc(qemu_coroutine_self(), guest_offset, *host_offset, in handle_alloc() 1794 trace_qcow2_alloc_clusters_offset(qemu_coroutine_self(), offset, *bytes); in qcow2_alloc_host_offset()
|
/openbmc/qemu/tests/unit/ |
H A D | test-coroutine.c | 43 g_assert(qemu_coroutine_self() == *p_co); in verify_self() 63 g_assert(qemu_coroutine_entered(qemu_coroutine_self())); in verify_entered_step_2() 68 g_assert(qemu_coroutine_entered(qemu_coroutine_self())); in verify_entered_step_2() 73 Coroutine *self = qemu_coroutine_self(); in verify_entered_step_1()
|
H A D | test-aio-multithread.c | 157 qatomic_set_mb(&to_schedule[id], qemu_coroutine_self()); in test_multi_co_schedule_entry()
|
/openbmc/qemu/include/qemu/ |
H A D | coroutine-core.h | 111 Coroutine *qemu_coroutine_self(void);
|
H A D | coroutine.h | 84 mutex->holder == qemu_coroutine_self()); in qemu_co_mutex_assert_locked()
|
/openbmc/qemu/io/ |
H A D | channel.c | 628 qemu_coroutine_get_aio_context(qemu_coroutine_self()) : in qio_channel_set_fd_handlers() 636 ioc->read_coroutine = qemu_coroutine_self(); in qio_channel_set_fd_handlers() 654 ioc->write_coroutine = qemu_coroutine_self(); in qio_channel_set_fd_handlers() 709 ioc_ctx = qemu_coroutine_get_aio_context(qemu_coroutine_self()); in qio_channel_yield()
|
/openbmc/qemu/hw/9pfs/ |
H A D | coth.h | 46 qemu_coroutine_self()); \
|
/openbmc/qemu/monitor/ |
H A D | hmp.c | 1121 monitor_set_cur(qemu_coroutine_self(), NULL); in handle_hmp_command_co() 1157 Monitor *old_mon = monitor_set_cur(qemu_coroutine_self(), &mon->common); in handle_hmp_command() 1159 monitor_set_cur(qemu_coroutine_self(), old_mon); in handle_hmp_command()
|
/openbmc/qemu/nbd/ |
H A D | client-connection.c | 342 conn->wait_co = qemu_coroutine_self(); in nbd_co_establish_connection()
|