Home
last modified time | relevance | path

Searched hist:"96 c7d4f8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/io_uring/
H A Dio_uring.h96c7d4f8 Thu May 04 07:18:54 CDT 2023 Breno Leitao <leitao@debian.org> io_uring: Create a helper to return the SQE size

Create a simple helper that returns the size of the SQE. The SQE could
have two size, depending of the flags.

If IO_URING_SETUP_SQE128 flag is set, then return a double SQE,
otherwise returns the sizeof of io_uring_sqe (64 bytes).

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/20230504121856.904491-2-leitao@debian.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>