Searched refs:IOThread (Results 1 – 18 of 18) sorted by relevance
| /openbmc/qemu/include/system/ |
| H A D | iothread.h | 24 struct IOThread { struct 42 typedef struct IOThread IOThread; argument 44 DECLARE_INSTANCE_CHECKER(IOThread, IOTHREAD, 47 char *iothread_get_id(IOThread *iothread); 48 IOThread *iothread_by_id(const char *id); 49 AioContext *iothread_get_aio_context(IOThread *iothread); 50 GMainContext *iothread_get_g_main_context(IOThread *iothread); 57 IOThread *iothread_create(const char *id, Error **errp); 58 void iothread_stop(IOThread *iothread); 59 void iothread_destroy(IOThread *iothread);
|
| /openbmc/qemu/ |
| H A D | iothread.c | 41 IOThread *iothread = opaque; in iothread_run() 82 IOThread *iothread = opaque; in iothread_stop_bh() 91 void iothread_stop(IOThread *iothread) in iothread_stop() 103 IOThread *iothread = IOTHREAD(obj); in iothread_instance_init() 114 IOThread *iothread = IOTHREAD(obj); in iothread_instance_finalize() 141 static void iothread_init_gcontext(IOThread *iothread, const char *thread_name) in iothread_init_gcontext() 157 IOThread *iothread = IOTHREAD(base); in iothread_set_aio_context_params() 183 IOThread *iothread = IOTHREAD(base); in iothread_init() 228 "poll-max-ns", offsetof(IOThread, poll_max_ns), 231 "poll-grow", offsetof(IOThread, poll_grow), [all …]
|
| /openbmc/qemu/tests/unit/ |
| H A D | iothread.h | 19 typedef struct IOThread IOThread; typedef 21 IOThread *iothread_new(void); 22 void iothread_join(IOThread *iothread); 23 AioContext *iothread_get_aio_context(IOThread *iothread);
|
| H A D | iothread.c | 22 struct IOThread { struct 33 static void iothread_init_gcontext(IOThread *iothread) in iothread_init_gcontext() argument 46 IOThread *iothread = opaque; in iothread_run() 81 IOThread *iothread = opaque; in iothread_stop_bh() 86 void iothread_join(IOThread *iothread) in iothread_join() 98 IOThread *iothread_new(void) in iothread_new() 100 IOThread *iothread = g_new0(IOThread, 1); in iothread_new() 117 AioContext *iothread_get_aio_context(IOThread *iothread) in iothread_get_aio_context()
|
| H A D | test-block-iothread.c | 468 IOThread *iothread = iothread_new(); in test_sync_op() 551 IOThread *iothread = iothread_new(); in test_attach_blockjob() 614 IOThread *iothread = iothread_new(); in test_propagate_basic() 678 IOThread *iothread = iothread_new(); in test_propagate_diamond() 743 IOThread *iothread = iothread_new(); in test_propagate_mirror() 814 IOThread *iothread = iothread_new(); in test_attach_second_node() 847 IOThread *iothread = iothread_new(); in test_attach_preserve_blk_ctx()
|
| H A D | test-bdrv-drain.c | 538 IOThread *a = iothread_new(); in test_iothread_common() 539 IOThread *b = iothread_new(); in test_iothread_common() 730 IOThread *iothread = NULL; in test_blockjob_common_drain_node() 1399 IOThread *a = iothread_new(); in test_set_aio_context() 1400 IOThread *b = iothread_new(); in test_set_aio_context()
|
| H A D | test-aio-multithread.c | 24 static IOThread *threads[NUM_CONTEXTS];
|
| /openbmc/qemu/docs/devel/ |
| H A D | multiple-iothreads.rst | 1 Using Multiple ``IOThread``\ s 11 This document explains the ``IOThread`` feature and how to write code that runs 14 The main loop and ``IOThread``\ s 25 Side note: The main loop and ``IOThread`` are both event loops but their code is 29 Why ``IOThread``\ s are useful 31 ``IOThread``\ s allow the user to control the placement of work. The main loop is a 33 several ``IOThread``\ s instead of just one main loop. When set up correctly this 43 why it is desirable to place work into ``IOThread``\ s. 51 How to program for ``IOThread``\ s 54 ``IOThread`` is dealing explicitly with the event loop object, ``AioContext`` [all …]
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 202.out | 2 Adding IOThread...
|
| /openbmc/qemu/hw/virtio/ |
| H A D | iothread-vq-mapping.c | 94 IOThread *iothread = iothread_by_id(node->value->iothread); in iothread_vq_mapping_apply() 127 IOThread *iothread = iothread_by_id(node->value->iothread); in iothread_vq_mapping_cleanup()
|
| /openbmc/qemu/hw/block/dataplane/ |
| H A D | xen-block.h | 20 IOThread *iothread);
|
| H A D | xen-block.c | 66 IOThread *iothread; 612 IOThread *iothread) in xen_block_dataplane_create()
|
| /openbmc/qemu/include/hw/virtio/ |
| H A D | virtio-balloon.h | 55 IOThread *iothread;
|
| H A D | virtio-blk.h | 40 IOThread *iothread;
|
| /openbmc/qemu/include/hw/xen/ |
| H A D | xen-block.h | 38 IOThread *iothread;
|
| /openbmc/qemu/block/export/ |
| H A D | export.c | 120 IOThread *iothread; in blk_exp_add()
|
| /openbmc/qemu/monitor/ |
| H A D | monitor.c | 54 IOThread *mon_iothread;
|
| /openbmc/qemu/hw/block/ |
| H A D | xen-block.c | 679 TYPE_IOTHREAD, IOThread *),
|