io_uring_buf_ring_mask - Man Page

Calculate buffer ring mask size

Synopsis

#include <liburing.h>

int io_uring_buf_ring_mask(__u32 ring_entries);

Description

io_uring_buf_ring_mask(3) calculates the appropriate size mask for a buffer ring. ring_entries is the ring entries as specified in io_uring_register_buf_ring(3).

Return Value

Size mask for the buffer ring.

See Also

io_uring_register_buf_ring(3), io_uring_buf_ring_add(3)

Referenced By

io_uring_buf_ring_add(3).

June 13, 2022 liburing-2.2 liburing Manual