struct io_uring_buf {
__u64 addr;
__u32 len;
__u16 bid;
__u16 resv;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | IOURingBuf.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ADDR
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BID
The struct member offsets. |
| public static final int | LEN
The struct member offsets. |
| public static final int | RESV
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | IOURingBuf(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public IOURingBuf | |
| public short | |
| public IOURingBuf | |
| public static IOURingBuf | |
| public static IOURingBuf. | calloc(int
the buffer capacity capacity)Returns a new |
| public static IOURingBuf | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static IOURingBuf. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected IOURingBuf | 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 IOURingBuf | |
| public static IOURingBuf | |
| public static IOURingBuf. | create(int
the buffer capacity capacity)Returns a new |
| public static IOURingBuf. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static IOURingBuf | |
| public static IOURingBuf. | |
| public int | |
| public IOURingBuf | |
| public static IOURingBuf | |
| public static IOURingBuf. | malloc(int
the buffer capacity capacity)Returns a new |
| public static IOURingBuf | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static IOURingBuf. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static long | |
| public static void | |
| public static short | |
| public static void | |
| public static int | |
| public static void | |
| public static short | |
| public static void | |
| public short | |
| public IOURingBuf | |
| public IOURingBuf | |
| public IOURingBuf | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ADDR | back to summary |
|---|---|
| public static final int ADDR The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BID | back to summary |
|---|---|
| public static final int BID The struct member offsets. | |
| LEN | back to summary |
|---|---|
| public static final int LEN The struct member offsets. | |
| RESV | back to summary |
|---|---|
| public static final int RESV The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| IOURingBuf | back to summary |
|---|---|
| protected IOURingBuf(long address, ByteBuffer container) | |
| IOURingBuf | back to summary |
|---|---|
| public IOURingBuf(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| addr | back to summary |
|---|---|
public long addr()
| |
| addr | back to summary |
|---|---|
| public IOURingBuf addr(long value) Sets the specified value to the | |
| bid | back to summary |
|---|---|
public short bid()
| |
| bid | back to summary |
|---|---|
| public IOURingBuf bid(short value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static IOURingBuf calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static IOURingBuf. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static IOURingBuf calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static IOURingBuf. Returns a new
| |
| create | back to summary |
|---|---|
| protected IOURingBuf create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static IOURingBuf create() Returns a new | |
| create | back to summary |
|---|---|
| public static IOURingBuf create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static IOURingBuf. Returns a new
| |
| create | back to summary |
|---|---|
| public static IOURingBuf. Create a
| |
| createSafe | back to summary |
|---|---|
| public static IOURingBuf createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static IOURingBuf. Like
| |
| len | back to summary |
|---|---|
public int len()
| |
| len | back to summary |
|---|---|
| public IOURingBuf len(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static IOURingBuf malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static IOURingBuf. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static IOURingBuf malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static IOURingBuf. Returns a new
| |
| naddr | back to summary |
|---|---|
| public static long naddr(long struct) Unsafe version of | |
| naddr | back to summary |
|---|---|
| public static void naddr(long struct, long value) Unsafe version of | |
| nbid | back to summary |
|---|---|
| public static short nbid(long struct) Unsafe version of | |
| nbid | back to summary |
|---|---|
| public static void nbid(long struct, short value) Unsafe version of | |
| nlen | back to summary |
|---|---|
| public static int nlen(long struct) Unsafe version of | |
| nlen | back to summary |
|---|---|
| public static void nlen(long struct, int value) Unsafe version of | |
| nresv | back to summary |
|---|---|
| public static short nresv(long struct) Unsafe version of | |
| nresv | back to summary |
|---|---|
| public static void nresv(long struct, short value) Unsafe version of | |
| resv | back to summary |
|---|---|
public short resv()
| |
| resv | back to summary |
|---|---|
| public IOURingBuf resv(short value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public IOURingBuf set(long addr, int len, short bid, short resv) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public IOURingBuf set(IOURingBuf src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
IOURingBuf structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final IOURingBuf |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public IOURingBuf. | |
| public short | |
| public IOURingBuf. | |
| protected IOURingBuf | |
| public int | |
| public IOURingBuf. | |
| public short | |
| public IOURingBuf. | |
| protected IOURingBuf. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final IOURingBuf 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) | |
| addr | back to summary |
|---|---|
public long addr()
| |
| addr | back to summary |
|---|---|
| public IOURingBuf. Sets the specified value to the | |
| bid | back to summary |
|---|---|
public short bid()
| |
| bid | back to summary |
|---|---|
| public IOURingBuf. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected IOURingBuf getElementFactory() Implements abstract org.
| |
| len | back to summary |
|---|---|
public int len()
| |
| len | back to summary |
|---|---|
| public IOURingBuf. Sets the specified value to the | |
| resv | back to summary |
|---|---|
public short resv()
| |
| resv | back to summary |
|---|---|
| public IOURingBuf. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected IOURingBuf. Implements abstract org.
| |