Home
last modified time | relevance | path

Searched refs:coroutine (Results 1 – 25 of 54) 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.rst14 block-coroutine-wrapper
/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/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,
1009 coroutine: bool,
1021 self.coroutine = coroutine
1074 self.coroutine)
1455 coroutine = expr.get('coroutine', False)
1469 allow_preconfig, coroutine))
/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/sdbusplus/example/
H A Dmeson.build25 modules: ['coroutine', 'context'],
33 'coroutine-example',
34 'coroutine-example.cpp',
/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.
16 coroutine \
/openbmc/qemu/scripts/qemugdb/
H A Daio.py13 from qemugdb import coroutine
30 coroutine.bt_jmpbuf(coptr['env']['__jmpbuf'])
/openbmc/ipmbbridge/
H A Dmeson.build32 modules: ['coroutine', 'context'],
41 {'BOOST_INCLUDE_LIBRARIES': 'asio;callable_traits;context;coroutine'},
/openbmc/qemu/util/
H A Dmeson.build87 util_ss.add(files('qemu-coroutine.c', 'qemu-coroutine-lock.c', 'qemu-coroutine-io.c'))
88 util_ss.add(files(f'coroutine-@coroutine_backend@.c'))
104 util_ss.add(files('qemu-coroutine-sleep.c'))
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-gevent_25.4.2.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/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()
1008 acb.coroutine = qemu_coroutine_self(); in qemu_gluster_co_pwrite_zeroes()
1186 acb.coroutine = qemu_coroutine_self(); in qemu_gluster_co_rw()
1253 acb.coroutine = qemu_coroutine_self(); in qemu_gluster_co_flush_to_disk()
1301 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()
/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.build27 dependency('boost', modules: ['coroutine', 'context']),
/openbmc/telemetry/
H A Dmeson.build32 boost_modules = ['coroutine', 'context']
/openbmc/qemu/
H A Dmeson_options.txt38 value: 'auto', description: 'coroutine backend to use')
95 …description: 'SafeStack Stack Smash Protection (requires clang/llvm and coroutine backend ucontext…
119 description: 'valgrind debug support for coroutine stacks')
360 description: 'coroutine freelist (better performance)')
366 description: 'measure coroutine stack usage')
/openbmc/phosphor-host-ipmid/
H A Dmeson.build130 boost = dependency('boost', modules: ['context', 'coroutine'], required: false)
137 …'BOOST_INCLUDE_LIBRARIES': 'asio;bimap;callable_traits;context;coroutine;interprocess;multiprecisi…

123