Home
last modified time | relevance | path

Searched refs:cq_wait (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/io_uring/
H A Dcancel.c316 prepare_to_wait(&ctx->cq_wait, &wait, TASK_INTERRUPTIBLE);
335 finish_wait(&ctx->cq_wait, &wait);
H A Dio_uring.h256 if (wq_has_sleeper(&ctx->cq_wait)) in io_cqring_wake()
257 __wake_up(&ctx->cq_wait, TASK_NORMAL, 0, in io_cqring_wake()
H A Dio_uring.c324 init_waitqueue_head(&ctx->cq_wait); in io_ring_ctx_alloc()
2593 prepare_to_wait_exclusive(&ctx->cq_wait, &iowq.wq, in io_cqring_wait()
2641 finish_wait(&ctx->cq_wait, &iowq.wq); in io_cqring_wait()
/kernel/linux/linux-6.6/include/linux/
H A Dio_uring_types.h293 struct wait_queue_head cq_wait; member
/kernel/linux/linux-5.10/io_uring/
H A Dio_uring.c403 struct wait_queue_head cq_wait; member
1347 init_waitqueue_head(&ctx->cq_wait); in io_ring_ctx_alloc()
1647 if (wq_has_sleeper(&ctx->cq_wait)) in io_cqring_ev_posted()
1648 __wake_up(&ctx->cq_wait, TASK_NORMAL, 0, in io_cqring_ev_posted()
1665 if (waitqueue_active(&ctx->cq_wait)) in io_cqring_ev_posted_iopoll()
1666 __wake_up(&ctx->cq_wait, TASK_NORMAL, 0, in io_cqring_ev_posted_iopoll()
7740 prepare_to_wait_exclusive(&ctx->cq_wait, &iowq.wq, in io_cqring_wait()
7743 finish_wait(&ctx->cq_wait, &iowq.wq); in io_cqring_wait()

Completed in 23 milliseconds