Home
last modified time | relevance | path

Searched refs:ready_list (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/util/
H A Daio-posix.c36 void aio_add_ready_handler(AioHandlerList *ready_list, in aio_add_ready_handler() argument
42 QLIST_INSERT_HEAD(ready_list, node, node_ready); in aio_add_ready_handler()
45 static void aio_add_poll_ready_handler(AioHandlerList *ready_list, in aio_add_poll_ready_handler() argument
50 QLIST_INSERT_HEAD(ready_list, node, node_ready); in aio_add_poll_ready_handler()
217 static bool poll_set_started(AioContext *ctx, AioHandlerList *ready_list, in poll_set_started() argument
249 aio_add_poll_ready_handler(ready_list, node); in poll_set_started()
261 AioHandlerList ready_list = QLIST_HEAD_INITIALIZER(ready_list); in aio_prepare() local
264 poll_set_started(ctx, &ready_list, false); in aio_prepare()
395 AioHandlerList *ready_list) in aio_dispatch_ready_handlers() argument
400 while ((node = QLIST_FIRST(ready_list))) { in aio_dispatch_ready_handlers()
[all …]
H A Dfdmon-io_uring.c226 AioHandlerList *ready_list, in process_cqe() argument
248 aio_add_ready_handler(ready_list, node, pfd_events_from_poll(cqe->res)); in process_cqe()
255 static int process_cq_ring(AioContext *ctx, AioHandlerList *ready_list) in process_cq_ring() argument
264 if (process_cqe(ctx, ready_list, cqe)) { in process_cq_ring()
275 static int fdmon_io_uring_wait(AioContext *ctx, AioHandlerList *ready_list, in fdmon_io_uring_wait() argument
295 return process_cq_ring(ctx, ready_list); in fdmon_io_uring_wait()
H A Dfdmon-poll.c59 static int fdmon_poll_wait(AioContext *ctx, AioHandlerList *ready_list, in fdmon_poll_wait() argument
76 return ctx->fdmon_ops->wait(ctx, ready_list, timeout); in fdmon_poll_wait()
87 aio_add_ready_handler(ready_list, nodes[i], revents); in fdmon_poll_wait()
H A Dfdmon-epoll.c57 static int fdmon_epoll_wait(AioContext *ctx, AioHandlerList *ready_list, in fdmon_epoll_wait() argument
89 aio_add_ready_handler(ready_list, node, revents); in fdmon_epoll_wait()
H A Daio-posix.h44 void aio_add_ready_handler(AioHandlerList *ready_list, AioHandler *node,
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-io.c41 struct list_head ready_list; member
180 list_add_tail(&bp->list_overhead, &sp->ready_list); in pvr2_buffer_set_ready()
403 INIT_LIST_HEAD(&sp->ready_list); in pvr2_stream_init()
556 struct list_head *lp = sp->ready_list.next; in pvr2_stream_get_ready_buffer()
557 if (lp == &sp->ready_list) return NULL; in pvr2_stream_get_ready_buffer()
/openbmc/linux/sound/usb/
H A Dcard.h60 struct list_head ready_list; member
H A Dendpoint.c446 list_add_tail(&ctx->ready_list, &ep->ready_playback_urbs); in push_back_to_ready_list()
480 struct snd_urb_ctx, ready_list); in snd_usb_queue_pending_output_urbs()
481 list_del_init(&ctx->ready_list); in snd_usb_queue_pending_output_urbs()
1265 INIT_LIST_HEAD(&u->ready_list); in data_ep_set_params()
/openbmc/linux/sound/usb/misc/
H A Dua101.c114 struct list_head ready_list; member
188 list_add_tail(&urb->ready_list, &ua->ready_playback_urbs); in playback_urb_complete()
282 struct ua101_urb, ready_list); in playback_work()
283 list_del(&urb->ready_list); in playback_work()
/openbmc/qemu/include/block/
H A Daio.h92 int (*wait)(AioContext *ctx, AioHandlerList *ready_list, int64_t timeout);