Home
last modified time | relevance | path

Searched refs:qemu_coroutine_self (Results 1 – 25 of 51) sorted by relevance

123

/openbmc/qemu/util/
H A Dqemu-coroutine-lock.c44 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 Dqemu-coroutine-sleep.c45 Coroutine *co = qemu_coroutine_self(); in qemu_co_sleep()
H A Dcoroutine-ucontext.c286 co_->entry_arg = qemu_coroutine_self(); in qemu_coroutine_delete()
337 Coroutine *qemu_coroutine_self(void) in qemu_coroutine_self() function
H A Dqemu-coroutine.c249 Coroutine *from = qemu_coroutine_self(); in qemu_aio_coroutine_enter()
328 Coroutine *self = qemu_coroutine_self(); in qemu_coroutine_yield()
H A Dqemu-coroutine-io.c87 data.co = qemu_coroutine_self(); in yield_until_fd_readable()
H A Dcoroutine-windows.c90 Coroutine *qemu_coroutine_self(void) in qemu_coroutine_self() function
H A Dcoroutine-sigaltstack.c290 Coroutine *qemu_coroutine_self(void) in qemu_coroutine_self() function
H A Dasync.c673 .co = qemu_coroutine_self(), in aio_co_reschedule_self()
707 Coroutine *self = qemu_coroutine_self(); in aio_co_enter()
H A Dthread-pool.c286 ThreadPoolCo tpc = { .co = qemu_coroutine_self(), .ret = -EINPROGRESS }; in thread_pool_submit_co()
/openbmc/qemu/qapi/
H A Dqmp-dispatch.c127 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 Dblkreplay.c79 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 Dqcow2-cache.c192 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 Daio_task.c64 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 Dblkio.c347 .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 Dio.c319 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 Dgluster.c1012 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 Dqcow2-cluster.c1036 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 Dtest-coroutine.c43 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 Dtest-aio-multithread.c157 qatomic_set_mb(&to_schedule[id], qemu_coroutine_self()); in test_multi_co_schedule_entry()
/openbmc/qemu/include/qemu/
H A Dcoroutine-core.h111 Coroutine *qemu_coroutine_self(void);
H A Dcoroutine.h84 mutex->holder == qemu_coroutine_self()); in qemu_co_mutex_assert_locked()
/openbmc/qemu/io/
H A Dchannel.c628 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 Dcoth.h46 qemu_coroutine_self()); \
/openbmc/qemu/monitor/
H A Dhmp.c1121 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 Dclient-connection.c342 conn->wait_co = qemu_coroutine_self(); in nbd_co_establish_connection()

123