ioUringEnter() — netty Function Reference
Architecture documentation for the ioUringEnter() function in SubmissionQueue.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0b9ee949_f438_fd8c_1b6b_8500db630572["ioUringEnter()"] 1d316f16_48b4_d00e_edf3_3c8fd55f9a6a["SubmissionQueue"] 0b9ee949_f438_fd8c_1b6b_8500db630572 -->|defined in| 1d316f16_48b4_d00e_edf3_3c8fd55f9a6a ee83630d_bb3f_069b_2bdf_fe4f9f84e1c8["submitAndGet0()"] ee83630d_bb3f_069b_2bdf_fe4f9f84e1c8 -->|calls| 0b9ee949_f438_fd8c_1b6b_8500db630572 d8afc313_5c22_a638_a799_a59e3af69b92["submit()"] d8afc313_5c22_a638_a799_a59e3af69b92 -->|calls| 0b9ee949_f438_fd8c_1b6b_8500db630572 97bf0e83_239f_dcfb_1648_e0609ff26cc3["ioUringEnter0()"] 97bf0e83_239f_dcfb_1648_e0609ff26cc3 -->|calls| 0b9ee949_f438_fd8c_1b6b_8500db630572 97bf0e83_239f_dcfb_1648_e0609ff26cc3["ioUringEnter0()"] 0b9ee949_f438_fd8c_1b6b_8500db630572 -->|calls| 97bf0e83_239f_dcfb_1648_e0609ff26cc3 style 0b9ee949_f438_fd8c_1b6b_8500db630572 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/SubmissionQueue.java lines 285–309
private int ioUringEnter(int toSubmit, int minComplete, int flags) {
int f = enterFlags | flags;
if (IoUring.isSetupSubmitAllSupported()) {
return ioUringEnter0(toSubmit, minComplete, f);
}
// If IORING_SETUP_SUBMIT_ALL is not supported we need to loop until we submitted everything as
// io_uring_enter(...) will stop submitting once the first inline executed submission fails.
int submitted = 0;
for (;;) {
int ret = ioUringEnter0(toSubmit, minComplete, f);
if (ret < 0) {
return ret;
}
submitted += ret;
if (ret == toSubmit) {
return submitted;
}
if (logger.isTraceEnabled()) {
// some submission might fail if these are done inline and failed.
logger.trace("Not all submissions succeeded. Only {} of {} SQEs were submitted.", ret, toSubmit);
}
toSubmit -= ret;
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does ioUringEnter() do?
ioUringEnter() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/SubmissionQueue.java.
Where is ioUringEnter() defined?
ioUringEnter() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/SubmissionQueue.java at line 285.
What does ioUringEnter() call?
ioUringEnter() calls 1 function(s): ioUringEnter0.
What calls ioUringEnter()?
ioUringEnter() is called by 3 function(s): ioUringEnter0, submit, submitAndGet0.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free