Searched refs:to_submit (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/io_uring/ |
A D | sqpoll.c | 169 unsigned int to_submit; in __io_sq_thread() local 172 to_submit = io_sqring_entries(ctx); in __io_sq_thread() 174 if (cap_entries && to_submit > IORING_SQPOLL_CAP_ENTRIES_VALUE) in __io_sq_thread() 175 to_submit = IORING_SQPOLL_CAP_ENTRIES_VALUE; in __io_sq_thread() 177 if (!wq_list_empty(&ctx->iopoll_list) || to_submit) { in __io_sq_thread() 191 if (to_submit && likely(!percpu_ref_is_dying(&ctx->refs)) && in __io_sq_thread() 193 ret = io_submit_sqes(ctx, to_submit); in __io_sq_thread() 196 if (to_submit && wq_has_sleeper(&ctx->sqo_sq_wait)) in __io_sq_thread()
|
A D | io_uring.c | 3392 SYSCALL_DEFINE6(io_uring_enter, unsigned int, fd, u32, to_submit, in SYSCALL_DEFINE6() argument 3451 ret = to_submit; in SYSCALL_DEFINE6() 3452 } else if (to_submit) { in SYSCALL_DEFINE6() 3458 ret = io_submit_sqes(ctx, to_submit); in SYSCALL_DEFINE6() 3459 if (ret != to_submit) { in SYSCALL_DEFINE6()
|
/linux-6.3-rc2/tools/io_uring/ |
A 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()
|
A 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()
|
A 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()
|
A D | liburing.h | 56 extern int io_uring_enter(int fd, unsigned to_submit,
|
/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | io_uring_zerocopy_tx.c | 149 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()
|
/linux-6.3-rc2/include/linux/ |
A D | syscalls.h | 344 asmlinkage long sys_io_uring_enter(unsigned int fd, u32 to_submit,
|
Completed in 24 milliseconds