IORING_(UN)REGISTER_PBUF_RING.
struct io_uring_buf_reg {
__u64 ring_addr;
__u32 ring_entries;
__u16 bgid;
__u16 flags;
__u64 resv[3];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | IOURingBufReg.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BGID
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | RESV
The struct member offsets. |
| public static final int | RING_ADDR
The struct member offsets. |
| public static final int | RING_ENTRIES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | IOURingBufReg(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public short | |
| public IOURingBufReg | |
| public static IOURingBufReg | |
| public static IOURingBufReg. | calloc(int
the buffer capacity capacity)Returns a new |
| public static IOURingBufReg | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static IOURingBufReg. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected IOURingBufReg | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static IOURingBufReg | |
| public static IOURingBufReg | |
| public static IOURingBufReg. | create(int
the buffer capacity capacity)Returns a new |
| public static IOURingBufReg. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static IOURingBufReg | |
| public static IOURingBufReg. | |
| public short | |
| public IOURingBufReg | |
| public static IOURingBufReg | |
| public static IOURingBufReg. | malloc(int
the buffer capacity capacity)Returns a new |
| public static IOURingBufReg | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static IOURingBufReg. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static short | |
| public static void | |
| public static short | |
| public static void | |
| public static LongBuffer | |
| public static long | |
| public static void | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public LongBuffer | |
| public long | |
| public IOURingBufReg | |
| public IOURingBufReg | |
| public long | |
| public IOURingBufReg | |
| public int | |
| public IOURingBufReg | |
| public IOURingBufReg | set(long ring_addr, int ring_entries, short bgid, short flags, LongBuffer resv)
Initializes this struct with the specified values. |
| public IOURingBufReg | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BGID | back to summary |
|---|---|
| public static final int BGID The struct member offsets. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| RESV | back to summary |
|---|---|
| public static final int RESV The struct member offsets. | |
| RING_ADDR | back to summary |
|---|---|
| public static final int RING_ADDR The struct member offsets. | |
| RING_ENTRIES | back to summary |
|---|---|
| public static final int RING_ENTRIES The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| IOURingBufReg | back to summary |
|---|---|
| protected IOURingBufReg(long address, ByteBuffer container) | |
| IOURingBufReg | back to summary |
|---|---|
| public IOURingBufReg(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bgid | back to summary |
|---|---|
public short bgid()
| |
| bgid | back to summary |
|---|---|
| public IOURingBufReg bgid(short value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static IOURingBufReg calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static IOURingBufReg. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static IOURingBufReg calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static IOURingBufReg. Returns a new
| |
| create | back to summary |
|---|---|
| protected IOURingBufReg create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static IOURingBufReg create() Returns a new | |
| create | back to summary |
|---|---|
| public static IOURingBufReg create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static IOURingBufReg. Returns a new
| |
| create | back to summary |
|---|---|
| public static IOURingBufReg. Create a
| |
| createSafe | back to summary |
|---|---|
| public static IOURingBufReg createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static IOURingBufReg. Like
| |
| flags | back to summary |
|---|---|
public short flags()
| |
| flags | back to summary |
|---|---|
| public IOURingBufReg flags(short value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static IOURingBufReg malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static IOURingBufReg. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static IOURingBufReg malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static IOURingBufReg. Returns a new
| |
| nbgid | back to summary |
|---|---|
| public static short nbgid(long struct) Unsafe version of | |
| nbgid | back to summary |
|---|---|
| public static void nbgid(long struct, short value) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static short nflags(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static void nflags(long struct, short value) Unsafe version of | |
| nresv | back to summary |
|---|---|
| public static LongBuffer nresv(long struct) Unsafe version of | |
| nresv | back to summary |
|---|---|
| public static long nresv(long struct, int index) Unsafe version of | |
| nresv | back to summary |
|---|---|
| public static void nresv(long struct, LongBuffer value) Unsafe version of | |
| nresv | back to summary |
|---|---|
| public static void nresv(long struct, int index, long value) Unsafe version of | |
| nring_addr | back to summary |
|---|---|
| public static long nring_addr(long struct) Unsafe version of | |
| nring_addr | back to summary |
|---|---|
| public static void nring_addr(long struct, long value) Unsafe version of | |
| nring_entries | back to summary |
|---|---|
| public static int nring_entries(long struct) Unsafe version of | |
| nring_entries | back to summary |
|---|---|
| public static void nring_entries(long struct, int value) Unsafe version of | |
| resv | back to summary |
|---|---|
public LongBuffer resv()
| |
| resv | back to summary |
|---|---|
public long resv(int index)
| |
| resv | back to summary |
|---|---|
| public IOURingBufReg resv(LongBuffer value) Copies the specified | |
| resv | back to summary |
|---|---|
| public IOURingBufReg resv(int index, long value) Sets the specified value at the specified index of the | |
| ring_addr | back to summary |
|---|---|
public long ring_addr()
| |
| ring_addr | back to summary |
|---|---|
| public IOURingBufReg ring_addr(long value) Sets the specified value to the | |
| ring_entries | back to summary |
|---|---|
public int ring_entries()
| |
| ring_entries | back to summary |
|---|---|
| public IOURingBufReg ring_entries(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public IOURingBufReg set(long ring_addr, int ring_entries, short bgid, short flags, LongBuffer resv) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public IOURingBufReg set(IOURingBufReg src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
IOURingBufReg structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final IOURingBufReg |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public short | |
| public IOURingBufReg. | |
| public short | |
| public IOURingBufReg. | |
| protected IOURingBufReg | |
| public LongBuffer | |
| public long | |
| public IOURingBufReg. | |
| public IOURingBufReg. | |
| public long | |
| public IOURingBufReg. | |
| public int | |
| public IOURingBufReg. | |
| protected IOURingBufReg. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final IOURingBufReg ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| bgid | back to summary |
|---|---|
public short bgid()
| |
| bgid | back to summary |
|---|---|
| public IOURingBufReg. Sets the specified value to the | |
| flags | back to summary |
|---|---|
public short flags()
| |
| flags | back to summary |
|---|---|
| public IOURingBufReg. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected IOURingBufReg getElementFactory() Implements abstract org.
| |
| resv | back to summary |
|---|---|
public LongBuffer resv()
| |
| resv | back to summary |
|---|---|
public long resv(int index)
| |
| resv | back to summary |
|---|---|
| public IOURingBufReg. Copies the specified | |
| resv | back to summary |
|---|---|
| public IOURingBufReg. Sets the specified value at the specified index of the | |
| ring_addr | back to summary |
|---|---|
public long ring_addr()
| |
| ring_addr | back to summary |
|---|---|
| public IOURingBufReg. Sets the specified value to the | |
| ring_entries | back to summary |
|---|---|
public int ring_entries()
| |
| ring_entries | back to summary |
|---|---|
| public IOURingBufReg. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected IOURingBufReg. Implements abstract org.
| |