* See io_uring_wait_cqes() - this function is the same, it just always uses * '1' as the wait_nr. */
| 466 | * '1' as the wait_nr. |
| 467 | */ |
| 468 | int io_uring_wait_cqe_timeout(struct io_uring *ring, |
| 469 | struct io_uring_cqe **cqe_ptr, |
| 470 | struct __kernel_timespec *ts) |
| 471 | { |
| 472 | return io_uring_wait_cqes(ring, cqe_ptr, 1, ts, NULL); |
| 473 | } |
| 474 | |
| 475 | /* |
| 476 | * Submit sqes acquired from io_uring_get_sqe() to the kernel. |