isRegisterBufferRingSupported() — netty Function Reference
Architecture documentation for the isRegisterBufferRingSupported() function in Native.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6a1baa44_1a9d_4915_4f59_ebf4f282e50d["isRegisterBufferRingSupported()"] 6ddaf968_1eb9_8057_3938_2ad6d5ebbbeb["Native"] 6a1baa44_1a9d_4915_4f59_ebf4f282e50d -->|defined in| 6ddaf968_1eb9_8057_3938_2ad6d5ebbbeb 6c8895cf_7401_432e_3ef1_f8031d902709["ioUringRegisterBufRing()"] 6a1baa44_1a9d_4915_4f59_ebf4f282e50d -->|calls| 6c8895cf_7401_432e_3ef1_f8031d902709 e716ed53_9252_a56e_8af7_219b026c1f75["ioUringUnRegisterBufRing()"] 6a1baa44_1a9d_4915_4f59_ebf4f282e50d -->|calls| e716ed53_9252_a56e_8af7_219b026c1f75 style 6a1baa44_1a9d_4915_4f59_ebf4f282e50d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/Native.java lines 505–515
static boolean isRegisterBufferRingSupported(int ringFd, int flags) {
int entries = 2;
short bgid = 1;
long result = ioUringRegisterBufRing(ringFd, entries, bgid, flags);
if (result >= 0) {
ioUringUnRegisterBufRing(ringFd, result, entries, bgid);
return true;
}
// This is not supported and so will return -EINVAL
return false;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does isRegisterBufferRingSupported() do?
isRegisterBufferRingSupported() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/Native.java.
Where is isRegisterBufferRingSupported() defined?
isRegisterBufferRingSupported() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/Native.java at line 505.
What does isRegisterBufferRingSupported() call?
isRegisterBufferRingSupported() calls 2 function(s): ioUringRegisterBufRing, ioUringUnRegisterBufRing.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free