IoUringBufferRing() — netty Function Reference
Architecture documentation for the IoUringBufferRing() function in IoUringIoHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d8db468b_8a77_90be_b134_4ff923043d64["IoUringBufferRing()"] 54b1e24c_acd2_7686_4313_2695f1b73de1["IoUringIoHandler"] d8db468b_8a77_90be_b134_4ff923043d64 -->|defined in| 54b1e24c_acd2_7686_4313_2695f1b73de1 style d8db468b_8a77_90be_b134_4ff923043d64 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java lines 225–240
private static IoUringBufferRing newBufferRing(int ringFd, IoUringBufferRingConfig bufferRingConfig)
throws Errors.NativeIoException {
short bufferRingSize = bufferRingConfig.bufferRingSize();
short bufferGroupId = bufferRingConfig.bufferGroupId();
int flags = bufferRingConfig.isIncremental() ? Native.IOU_PBUF_RING_INC : 0;
long ioUringBufRingAddr = Native.ioUringRegisterBufRing(ringFd, bufferRingSize, bufferGroupId, flags);
if (ioUringBufRingAddr < 0) {
throw Errors.newIOException("ioUringRegisterBufRing", (int) ioUringBufRingAddr);
}
return new IoUringBufferRing(ringFd,
Buffer.wrapMemoryAddressWithNativeOrder(ioUringBufRingAddr, Native.ioUringBufRingSize(bufferRingSize)),
bufferRingSize, bufferRingConfig.batchSize(),
bufferGroupId, bufferRingConfig.isIncremental(), bufferRingConfig.allocator(),
bufferRingConfig.isBatchAllocation()
);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does IoUringBufferRing() do?
IoUringBufferRing() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java.
Where is IoUringBufferRing() defined?
IoUringBufferRing() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java at line 225.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free