/openbmc/qemu/tests/unit/ |
H A D | test-coroutine.c | 28 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 D | block-coroutine-wrapper.rst | 2 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 D | index-internals.rst | 12 block-coroutine-wrapper
|
/openbmc/qemu/scripts/qapi/ |
H A D | commands.py | 45 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 D | schema.py | 256 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 D | qemu-gdb.py | 26 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 D | oob-coroutine.err | 1 oob-coroutine.json: In command 'oob-command-1': 2 oob-coroutine.json:2: flags 'allow-oob' and 'coroutine' are incompatible
|
H A D | oob-coroutine.json | 1 # Check that incompatible flags allow-oob and coroutine are rejected 2 { 'command': 'oob-command-1', 'allow-oob': true, 'coroutine': true }
|
H A D | test-qapi.py | 73 allow_oob, allow_preconfig, coroutine): argument 79 " coroutine=True" if coroutine else ""))
|
/openbmc/openbmc/meta-phosphor/recipes-support/boost/ |
H A D | boost_%.bbappend | 5 #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 D | meson.build | 25 modules: ['coroutine', 'context'], 33 'coroutine-example', 34 'coroutine-example.cpp',
|
/openbmc/qemu/scripts/qemugdb/ |
H A D | aio.py | 13 from qemugdb import coroutine 30 coroutine.bt_jmpbuf(coptr['env']['__jmpbuf'])
|
/openbmc/qemu/util/ |
H A D | meson.build | 84 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 D | meson.build | 30 modules: ['coroutine'], 39 'BOOST_INCLUDE_LIBRARIES': 'asio;callable_traits;context;coroutine',
|
/openbmc/qemu/block/ |
H A D | blkio.c | 228 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 D | gluster.c | 58 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 D | nbd.c | 56 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 D | io.c | 961 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 D | python3-gevent_24.2.1.bb | 1 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 D | coroutine-core.h | 82 void qemu_coroutine_enter(Coroutine *coroutine);
|
/openbmc/telemetry/subprojects/packagefiles/boost/ |
H A D | meson.build | 8 r = run_command('./bootstrap.sh', '--with-libraries=coroutine', check: true)
|
/openbmc/qemu/monitor/ |
H A D | monitor-internal.h | 85 bool coroutine; member
|
/openbmc/service-config-manager/ |
H A D | meson.build | 28 dependency('boost', modules: ['coroutine']),
|
/openbmc/phosphor-host-ipmid/ |
H A D | meson.build | 129 boost = dependency('boost', modules: ['coroutine'], required: false) 136 'BOOST_INCLUDE_LIBRARIES': 'asio;bimap;callable_traits;context;coroutine;interprocess;multiprecision;process',
|
/openbmc/telemetry/ |
H A D | meson.build | 32 boost_modules = ['coroutine', 'context']
|