aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorDavid Wei <[email protected]>2024-11-20 14:14:51 -0800
committerJens Axboe <[email protected]>2024-11-21 07:11:00 -0700
commit40cfe553240b32333b42652370ef5232e6ac59e1 (patch)
treeeb58b90a6b792d28bee414d76e410f619d742b55 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent2ae6bdb1e145af0a47253953132decbd2d52f4b2 (diff)
io_uring: add io_local_work_pending()
In preparation for adding a new llist of tw to retry due to hitting the tw limit, add a helper io_local_work_pending(). This function returns true if there is any local tw pending. For now it only checks ctx->work_llist. Signed-off-by: David Wei <[email protected]> Reviewed-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions