Home
last modified time | relevance | path

Searched refs:AioHandler (Results 1 – 7 of 7) sorted by relevance

/qemu/util/
H A Daio-posix.h22 struct AioHandler { struct
31 QLIST_ENTRY(AioHandler) node; argument
32 QLIST_ENTRY(AioHandler) node_ready; /* only used during aio_poll() */
33 QLIST_ENTRY(AioHandler) node_deleted;
34 QLIST_ENTRY(AioHandler) node_poll;
36 QSLIST_ENTRY(AioHandler) node_submitted;
44 void aio_add_ready_handler(AioHandlerList *ready_list, AioHandler *node, argument
H A Dfdmon-io_uring.c102 static void enqueue(AioHandlerSList *head, AioHandler *node, unsigned flags) in enqueue()
113 static AioHandler *dequeue(AioHandlerSList *head, unsigned *flags) in dequeue()
115 AioHandler *node = QSLIST_FIRST(head); in dequeue()
136 AioHandler *old_node, in fdmon_io_uring_update()
137 AioHandler *new_node) in fdmon_io_uring_update()
169 static void add_poll_add_sqe(AioContext *ctx, AioHandler *node) in add_poll_add_sqe()
178 static void add_poll_remove_sqe(AioContext *ctx, AioHandler *node) in add_poll_remove_sqe()
208 AioHandler *node; in fill_sq_ring()
229 AioHandler *node = io_uring_cqe_get_data(cqe); in process_cqe()
341 AioHandler *node; in fdmon_io_uring_destroy()
H A Dfdmon-poll.c25 static __thread AioHandler **nodes;
37 static void add_pollfd(AioHandler *node) in add_pollfd()
49 nodes = g_renew(AioHandler *, nodes, nalloc); in add_pollfd()
62 AioHandler *node; in fdmon_poll_wait()
97 AioHandler *old_node, in fdmon_poll_update()
98 AioHandler *new_node) in fdmon_poll_update()
H A Daio-posix.c54 AioHandler *node; in find_aio_handler()
108 AioHandler *node; in aio_set_fd_handler()
219 AioHandler *node; in poll_set_started()
271 AioHandler *node; in aio_pending()
301 AioHandler *node; in aio_free_deleted_handlers()
397 AioHandler *node; in aio_dispatch_ready_handlers()
410 AioHandler *node, *tmp; in aio_dispatch_handlers()
437 AioHandler *node; in run_poll_handlers_once()
438 AioHandler *tmp; in run_poll_handlers_once()
471 AioHandler *node; in remove_idle_poll_handlers()
[all …]
H A Daio-win32.c27 struct AioHandler { struct
35 QLIST_ENTRY(AioHandler) node; argument
72 AioHandler *old_node; in aio_set_fd_handler()
73 AioHandler *node = NULL; in aio_set_fd_handler()
95 node = g_new0(AioHandler, 1); in aio_set_fd_handler()
139 AioHandler *node; in aio_set_event_notifier()
183 AioHandler *node; in aio_prepare()
226 AioHandler *node; in aio_pending()
256 AioHandler *node; in aio_dispatch_handlers()
258 AioHandler *tmp; in aio_dispatch_handlers()
[all …]
H A Dfdmon-epoll.c34 AioHandler *old_node, in fdmon_epoll_update()
35 AioHandler *new_node) in fdmon_epoll_update()
63 AioHandler *node; in fdmon_epoll_wait()
103 AioHandler *node; in fdmon_epoll_try_enable()
/qemu/include/block/
H A Daio.h50 typedef struct AioHandler AioHandler; typedef
51 typedef QLIST_HEAD(, AioHandler) AioHandlerList;
77 void (*update)(AioContext *ctx, AioHandler *old_node, AioHandler *new_node);
123 typedef QSLIST_HEAD(, AioHandler) AioHandlerSList;