tryRegisterRingFd() — netty Function Reference
Architecture documentation for the tryRegisterRingFd() function in SubmissionQueue.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 960730d2_3253_4848_e62d_c72351b93285["tryRegisterRingFd()"] 1d316f16_48b4_d00e_edf3_3c8fd55f9a6a["SubmissionQueue"] 960730d2_3253_4848_e62d_c72351b93285 -->|defined in| 1d316f16_48b4_d00e_edf3_3c8fd55f9a6a 8a51d74d_fd76_09f6_f454_5a079f4faf11["checkClosed()"] 960730d2_3253_4848_e62d_c72351b93285 -->|calls| 8a51d74d_fd76_09f6_f454_5a079f4faf11 style 960730d2_3253_4848_e62d_c72351b93285 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/SubmissionQueue.java lines 113–128
void tryRegisterRingFd() {
checkClosed();
// Try to use IORING_REGISTER_RING_FDS.
// See https://manpages.debian.org/unstable/liburing-dev/io_uring_register.2.en.html#IORING_REGISTER_RING_FDS
int enterRingFd = Native.ioUringRegisterRingFds(ringFd);
final int enterFlags;
if (enterRingFd < 0) {
// Use of IORING_REGISTER_RING_FDS failed, just use the ring fd directly.
enterRingFd = ringFd;
enterFlags = 0;
} else {
enterFlags = Native.IORING_ENTER_REGISTERED_RING;
}
this.enterRingFd = enterRingFd;
this.enterFlags = enterFlags;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does tryRegisterRingFd() do?
tryRegisterRingFd() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/SubmissionQueue.java.
Where is tryRegisterRingFd() defined?
tryRegisterRingFd() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/SubmissionQueue.java at line 113.
What does tryRegisterRingFd() call?
tryRegisterRingFd() calls 1 function(s): checkClosed.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free