summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2023-05-04 05:18:54 -0700
committerJens Axboe <axboe@kernel.dk>2023-05-04 08:19:05 -0600
commit96c7d4f81db0fea05c0792f7563ae0cb4ad5f022 (patch)
tree3ba7822915e1b177a9680b19d0cf4a1b1b35a141 /drivers
parent776617db78c6d208780e7c69d4d68d1fa82913de (diff)
downloadlinux-stable-96c7d4f81db0fea05c0792f7563ae0cb4ad5f022.tar.gz
linux-stable-96c7d4f81db0fea05c0792f7563ae0cb4ad5f022.tar.bz2
linux-stable-96c7d4f81db0fea05c0792f7563ae0cb4ad5f022.zip
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions