Searched refs:AioHandler (Results 1 – 7 of 7) sorted by relevance
/openbmc/qemu/util/ |
H A D | aio-posix.h | 22 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 D | fdmon-io_uring.c | 102 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 D | fdmon-poll.c | 25 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 D | aio-posix.c | 37 AioHandler *node, in aio_add_ready_handler() 46 AioHandler *node) in aio_add_poll_ready_handler() 53 static AioHandler *find_aio_handler(AioContext *ctx, int fd) in find_aio_handler() 55 AioHandler *node; in find_aio_handler() 68 static bool aio_remove_fd_handler(AioContext *ctx, AioHandler *node) in aio_remove_fd_handler() 109 AioHandler *node; in aio_set_fd_handler() 110 AioHandler *new_node = NULL; in aio_set_fd_handler() 139 new_node = g_new0(AioHandler, 1); in aio_set_fd_handler() 186 AioHandler *node = find_aio_handler(ctx, fd); in aio_set_fd_poll() 220 AioHandler *node; in poll_set_started() [all …]
|
H A D | aio-win32.c | 28 struct AioHandler { struct 36 QLIST_ENTRY(AioHandler) node; argument 39 static void aio_remove_fd_handler(AioContext *ctx, AioHandler *node) in aio_remove_fd_handler() 73 AioHandler *old_node; in aio_set_fd_handler() 74 AioHandler *node = NULL; in aio_set_fd_handler() 96 node = g_new0(AioHandler, 1); in aio_set_fd_handler() 140 AioHandler *node; in aio_set_event_notifier() 157 node = g_new0(AioHandler, 1); in aio_set_event_notifier() 184 AioHandler *node; in aio_prepare() 227 AioHandler *node; in aio_pending() [all …]
|
H A D | fdmon-epoll.c | 35 AioHandler *old_node, in fdmon_epoll_update() 36 AioHandler *new_node) in fdmon_epoll_update() 64 AioHandler *node; in fdmon_epoll_wait() 104 AioHandler *node; in fdmon_epoll_try_enable()
|
/openbmc/qemu/include/block/ |
H A D | aio.h | 51 typedef struct AioHandler AioHandler; typedef 52 typedef QLIST_HEAD(, AioHandler) AioHandlerList; 78 void (*update)(AioContext *ctx, AioHandler *old_node, AioHandler *new_node); 124 typedef QSLIST_HEAD(, AioHandler) AioHandlerSList;
|