Home
last modified time | relevance | path

Searched refs:to_submit (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/io_uring/
H A Dsqpoll.c170 unsigned int to_submit; in __io_sq_thread() local
173 to_submit = io_sqring_entries(ctx); in __io_sq_thread()
175 if (cap_entries && to_submit > IORING_SQPOLL_CAP_ENTRIES_VALUE) in __io_sq_thread()
176 to_submit = IORING_SQPOLL_CAP_ENTRIES_VALUE; in __io_sq_thread()
178 if (!wq_list_empty(&ctx->iopoll_list) || to_submit) { in __io_sq_thread()
192 if (to_submit && likely(!percpu_ref_is_dying(&ctx->refs)) && in __io_sq_thread()
194 ret = io_submit_sqes(ctx, to_submit); in __io_sq_thread()
197 if (to_submit && wq_has_sleeper(&ctx->sqo_sq_wait)) in __io_sq_thread()
H A Dio_uring.c3610 SYSCALL_DEFINE6(io_uring_enter, unsigned int, fd, u32, to_submit, in SYSCALL_DEFINE6() argument
3668 ret = to_submit; in SYSCALL_DEFINE6()
3669 } else if (to_submit) { in SYSCALL_DEFINE6()
3675 ret = io_submit_sqes(ctx, to_submit); in SYSCALL_DEFINE6()
3676 if (ret != to_submit) { in SYSCALL_DEFINE6()
/openbmc/linux/tools/testing/selftests/net/
H A Dio_uring_zerocopy_tx.c149 static int io_uring_enter(int fd, unsigned int to_submit, in io_uring_enter() argument
153 return syscall(__NR_io_uring_enter, fd, to_submit, min_complete, in io_uring_enter()
240 unsigned ktail, submitted, to_submit; in io_uring_submit() local
252 to_submit = sq->sqe_tail - sq->sqe_head; in io_uring_submit()
253 for (submitted = 0; submitted < to_submit; submitted++) { in io_uring_submit()
/openbmc/linux/include/linux/
H A Dsyscalls.h331 asmlinkage long sys_io_uring_enter(unsigned int fd, u32 to_submit,