Home
last modified time | relevance | path

Searched refs:coroutine (Results 1 – 25 of 57) sorted by relevance

123

/openbmc/qemu/tests/unit/
H A Dtest-coroutine.c28 Coroutine *coroutine; in test_in_coroutine() local
32 coroutine = qemu_coroutine_create(verify_in_coroutine, NULL); in test_in_coroutine()
33 qemu_coroutine_enter(coroutine); in test_in_coroutine()
48 Coroutine *coroutine; in test_self() local
50 coroutine = qemu_coroutine_create(verify_self, &coroutine); in test_self()
51 qemu_coroutine_enter(coroutine); in test_self()
74 Coroutine *coroutine; in verify_entered_step_1() local
78 coroutine = qemu_coroutine_create(verify_entered_step_2, self); in verify_entered_step_1()
79 g_assert(!qemu_coroutine_entered(coroutine)); in verify_entered_step_1()
80 qemu_coroutine_enter(coroutine); in verify_entered_step_1()
[all …]
/openbmc/qemu/docs/devel/
H A Dblock-coroutine-wrapper.rst2 block-coroutine-wrapper
6 called in coroutine context. Such functions are normally marked by the
8 non-coroutine context; for this we need to start a coroutine, run the
9 needed function from it and wait for the coroutine to finish in a
10 BDRV_POLL_WHILE() loop. To run a coroutine we need a function with one
12 non-coroutine interface, we should define a structure to pack the
16 parameters into a struct, create a coroutine, run it and wait in
24 ``bdrv_co_foo(<some args>)`` and need a non-coroutine interface for it,
36 2. You need to feed this declaration to block-coroutine-wrapper script.
41 You are done. During the build, coroutine wrappers will be generated in
[all …]
H A Dindex-internals.rst12 block-coroutine-wrapper
/openbmc/qemu/scripts/qapi/
H A Dcommands.py45 coroutine: bool) -> str:
50 coroutine_fn='coroutine_fn ' if coroutine else '',
164 coroutine: bool) -> str:
166 'coroutine_fn': 'coroutine_fn ' if coroutine else '',
173 coroutine: bool) -> str:
177 proto=build_marshal_proto(name, coroutine))
193 coroutine: bool) -> str:
207 proto=build_marshal_proto(name, coroutine))
283 coroutine: bool) -> str:
292 if coroutine:
[all …]
H A Dschema.py256 coroutine: bool,
1006 coroutine: bool,
1018 self.coroutine = coroutine
1068 self.coroutine)
1430 coroutine = expr.get('coroutine', False)
1444 allow_preconfig, coroutine))
/openbmc/qemu/scripts/
H A Dqemu-gdb.py26 from qemugdb import aio, mtree, coroutine, tcg, timers
35 coroutine.CoroutineCommand()
41 coroutine.CoroutineSPFunction()
42 coroutine.CoroutinePCFunction()
43 coroutine.CoroutineBt()
/openbmc/qemu/tests/qapi-schema/
H A Doob-coroutine.err1 oob-coroutine.json: In command 'oob-command-1':
2 oob-coroutine.json:2: flags 'allow-oob' and 'coroutine' are incompatible
H A Doob-coroutine.json1 # Check that incompatible flags allow-oob and coroutine are rejected
2 { 'command': 'oob-command-1', 'allow-oob': true, 'coroutine': true }
H A Dtest-qapi.py73 allow_oob, allow_preconfig, coroutine): argument
79 " coroutine=True" if coroutine else ""))
/openbmc/openbmc/meta-phosphor/recipes-support/boost/
H A Dboost_%.bbappend5 #note is that for most targets, coroutine and context libraries are also added
7 #be relied directly, but are required dependencies of context and coroutine.
14 chrono thread context coroutine url process atomic filesystem"
/openbmc/sdbusplus/example/
H A Dmeson.build25 modules: ['coroutine', 'context'],
33 'coroutine-example',
34 'coroutine-example.cpp',
/openbmc/qemu/scripts/qemugdb/
H A Daio.py13 from qemugdb import coroutine
30 coroutine.bt_jmpbuf(coptr['env']['__jmpbuf'])
/openbmc/qemu/util/
H A Dmeson.build84 util_ss.add(files('qemu-coroutine.c', 'qemu-coroutine-lock.c', 'qemu-coroutine-io.c'))
85 util_ss.add(files(f'coroutine-@coroutine_backend@.c'))
99 util_ss.add(files('qemu-coroutine-sleep.c'))
/openbmc/ipmbbridge/
H A Dmeson.build30 modules: ['coroutine'],
39 'BOOST_INCLUDE_LIBRARIES': 'asio;callable_traits;context;coroutine',
/openbmc/qemu/block/
H A Dblkio.c228 Coroutine *coroutine; member
247 aio_co_wake(cod->coroutine); in blkio_completion_fd_read()
273 aio_co_wake(cod->coroutine); in blkio_completion_fd_read()
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 Dgluster.c58 Coroutine *coroutine; member
746 aio_co_schedule(acb->aio_context, acb->coroutine); in gluster_finish_aiocb()
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 Dnbd.c56 Coroutine *coroutine; member
144 aio_co_wake(req->coroutine); in nbd_recv_coroutine_wake_one()
477 if (ind2 >= MAX_NBD_REQUESTS || !s->requests[ind2].coroutine) { in nbd_receive_replies()
516 if (s->requests[i].coroutine == NULL) { in nbd_co_send_request()
522 s->requests[i].coroutine = qemu_coroutine_self(); in nbd_co_send_request()
551 s->requests[i].coroutine = NULL; in nbd_co_send_request()
1062 s->requests[COOKIE_TO_INDEX(cookie)].coroutine = NULL; in nbd_reply_chunk_iter_receive()
H A Dio.c961 Coroutine *coroutine; member
970 aio_co_wake(co->coroutine); in bdrv_co_io_em_complete()
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()
3250 .coroutine = qemu_coroutine_self(), in bdrv_co_zone_mgmt()
3272 .coroutine = qemu_coroutine_self(), in bdrv_co_zone_append()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-gevent_24.2.1.bb1 SUMMARY = "A coroutine-based Python networking library"
2 DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \
/openbmc/qemu/include/qemu/
H A Dcoroutine-core.h82 void qemu_coroutine_enter(Coroutine *coroutine);
/openbmc/telemetry/subprojects/packagefiles/boost/
H A Dmeson.build8 r = run_command('./bootstrap.sh', '--with-libraries=coroutine', check: true)
/openbmc/qemu/monitor/
H A Dmonitor-internal.h85 bool coroutine; member
/openbmc/service-config-manager/
H A Dmeson.build28 dependency('boost', modules: ['coroutine']),
/openbmc/phosphor-host-ipmid/
H A Dmeson.build129 boost = dependency('boost', modules: ['coroutine'], required: false)
136 'BOOST_INCLUDE_LIBRARIES': 'asio;bimap;callable_traits;context;coroutine;interprocess;multiprecision;process',
/openbmc/telemetry/
H A Dmeson.build32 boost_modules = ['coroutine', 'context']

123