Searched refs:to_submit (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/tools/io_uring/ |
D | io_uring-bench.c | 290 int to_wait, to_submit, this_reap, to_prep; in submitter_fn() local 298 to_submit = prepped; in submitter_fn() 300 if (to_submit && (s->inflight + to_submit <= DEPTH)) in submitter_fn() 303 to_wait = min(s->inflight + to_submit, BATCH_COMPLETE); in submitter_fn() 316 ret = io_uring_enter(s->ring_fd, to_submit, to_wait, in submitter_fn() 340 to_submit = 0; in submitter_fn() 344 } else if (ret < to_submit) { in submitter_fn() 345 int diff = to_submit - ret; in submitter_fn() 360 to_submit = 0; in submitter_fn()
|
D | queue.c | 72 unsigned ktail, ktail_next, submitted, to_submit; in io_uring_submit() local 94 to_submit = sq->sqe_tail - sq->sqe_head; in io_uring_submit() 95 while (to_submit--) { in io_uring_submit()
|
D | syscall.c | 47 int io_uring_enter(int fd, unsigned int to_submit, unsigned int min_complete, in io_uring_enter() argument 50 return syscall(__NR_io_uring_enter, fd, to_submit, min_complete, in io_uring_enter()
|
D | liburing.h | 56 extern int io_uring_enter(int fd, unsigned to_submit,
|
/kernel/linux/linux-5.10/io_uring/ |
D | io_uring.c | 7378 unsigned int to_submit; in __io_sq_thread() local 7381 to_submit = io_sqring_entries(ctx); in __io_sq_thread() 7383 if (cap_entries && to_submit > IORING_SQPOLL_CAP_ENTRIES_VALUE) in __io_sq_thread() 7384 to_submit = IORING_SQPOLL_CAP_ENTRIES_VALUE; in __io_sq_thread() 7386 if (!list_empty(&ctx->iopoll_list) || to_submit) { in __io_sq_thread() 7401 if (to_submit && likely(!percpu_ref_is_dying(&ctx->refs)) && in __io_sq_thread() 7403 ret = io_submit_sqes(ctx, to_submit); in __io_sq_thread() 7406 if (to_submit && wq_has_sleeper(&ctx->sqo_sq_wait)) in __io_sq_thread() 9947 SYSCALL_DEFINE6(io_uring_enter, unsigned int, fd, u32, to_submit, in SYSCALL_DEFINE6() argument 9999 submitted = to_submit; in SYSCALL_DEFINE6() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | syscalls.h | 342 asmlinkage long sys_io_uring_enter(unsigned int fd, u32 to_submit,
|