MCPcopy Create free account
hub / github.com/axboe/liburing / io_uring_sq_space_left

Function io_uring_sq_space_left

src/include/liburing.h:1736–1740  ·  view source on GitHub ↗

* Returns how much space is left in the SQ ring. */

Source from the content-addressed store, hash-verified

1734 * Returns how much space is left in the SQ ring.
1735 */
1736IOURINGINLINE 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.

Callers 3

test_leftFunction · 0.85
check_sqFunction · 0.85
liburing.hFile · 0.85

Calls 1

io_uring_sq_readyFunction · 0.85

Tested by 1

test_leftFunction · 0.68