1io_uring_sq_ready(3) liburing Manual io_uring_sq_ready(3)
2
3
4
6 io_uring_sq_ready - number of unconsumed or unsubmitted entries in the
7 SQ ring
8
10 #include <liburing.h>
11
12 unsigned io_uring_sq_ready(const struct io_uring *ring);
13
15 The io_uring_sq_ready(3) function returns the number of unconsumed (if
16 SQPOLL) or unsubmitted entries that exist in the SQ ring belonging to
17 the ring param.
18
19 Usage of this function only applies if the ring has been setup with
20 IORING_SETUP_SQPOLL, where request submissions, and hence consumption
21 from the SQ ring, happens through a polling thread.
22
23
25 Returns the number of unconsumed or unsubmitted entries in the SQ
26 ring.
27
29 io_uring_cq_ready(3)
30
31
32
33liburing-2.1 January 25, 2022 io_uring_sq_ready(3)