* Returns how much space is left in the SQ ring. */
| 1734 | * Returns how much space is left in the SQ ring. |
| 1735 | */ |
| 1736 | IOURINGINLINE unsigned io_uring_sq_space_left(const struct io_uring *ring) |
| 1737 | LIBURING_NOEXCEPT |
| 1738 | { |
| 1739 | return ring->sq.ring_entries - io_uring_sq_ready(ring); |
| 1740 | } |
| 1741 | |
| 1742 | /* |
| 1743 | * Returns the bit shift needed to index the SQ. |