summaryrefslogtreecommitdiff
path: root/include/linux/cdev.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-04-12 17:09:47 +0300
committerJens Axboe <axboe@kernel.dk>2022-04-25 03:02:46 +0300
commit88ab95be7e408ff9cedc81ad5402ad4bd700baf9 (patch)
treef2cba1fbcc2fa4915ab3e19a5b085f19c3030a68 /include/linux/cdev.h
parent23a5c43b2fc0cc210dcb36264fe3050468c79b17 (diff)
downloadlinux-88ab95be7e408ff9cedc81ad5402ad4bd700baf9.tar.xz
io_uring: helper for empty req cache checks
Add io_req_cache_empty(), which checks if there are requests in the inline req cache or not. It'll be needed in the future, but also nicely cleans up a few spots poking into ->free_list directly. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/b18662389f3fb483d0bd07906647f65f6037475a.1649771823.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/cdev.h')
0 files changed, 0 insertions, 0 deletions