struct io_uring_cqe {
__u64 user_data;
__s32 res;
__u32 flags;
__u64 big_cqe[0];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | IOURingCQE.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BIG_CQE
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | RES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | USER_DATA
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | IOURingCQE(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public LongBuffer | big_cqe()
If the ring is initialized with |
| public long | big_cqe(int index)
If the ring is initialized with |
| public IOURingCQE | |
| public IOURingCQE | |
| public static IOURingCQE | |
| public static IOURingCQE. | calloc(int
the buffer capacity capacity)Returns a new |
| public static IOURingCQE | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static IOURingCQE. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected IOURingCQE | 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 IOURingCQE | |
| public static IOURingCQE | |
| public static IOURingCQE. | create(int
the buffer capacity capacity)Returns a new |
| public static IOURingCQE. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static IOURingCQE | |
| public static IOURingCQE. | |
| public int | flags()
is used for certain commands, like |
| public IOURingCQE | |
| public static IOURingCQE | |
| public static IOURingCQE. | malloc(int
the buffer capacity capacity)Returns a new |
| public static IOURingCQE | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static IOURingCQE. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static LongBuffer | |
| public static long | |
| public static void | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public int | res()
is the operation-specific result, but |
| public IOURingCQE | |
| public IOURingCQE | set(long user_data, int res, int flags, LongBuffer big_cqe)
Initializes this struct with the specified values. |
| public IOURingCQE | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public IOURingCQE |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BIG_CQE | back to summary |
|---|---|
| public static final int BIG_CQE The struct member offsets. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| RES | back to summary |
|---|---|
| public static final int RES The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| USER_DATA | back to summary |
|---|---|
| public static final int USER_DATA The struct member offsets. | |
| IOURingCQE | back to summary |
|---|---|
| protected IOURingCQE(long address, ByteBuffer container) | |
| IOURingCQE | back to summary |
|---|---|
| public IOURingCQE(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| big_cqe | back to summary |
|---|---|
| public LongBuffer big_cqe() If the ring is initialized with
| |
| big_cqe | back to summary |
|---|---|
| public long big_cqe(int index) If the ring is initialized with
| |
| big_cqe | back to summary |
|---|---|
| public IOURingCQE big_cqe(LongBuffer value) Copies the specified | |
| big_cqe | back to summary |
|---|---|
| public IOURingCQE big_cqe(int index, long value) Sets the specified value at the specified index of the | |
| calloc | back to summary |
|---|---|
| public static IOURingCQE calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static IOURingCQE. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static IOURingCQE calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static IOURingCQE. Returns a new
| |
| create | back to summary |
|---|---|
| protected IOURingCQE create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static IOURingCQE create() Returns a new | |
| create | back to summary |
|---|---|
| public static IOURingCQE create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static IOURingCQE. Returns a new
| |
| create | back to summary |
|---|---|
| public static IOURingCQE. Create a
| |
| createSafe | back to summary |
|---|---|
| public static IOURingCQE createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static IOURingCQE. Like
| |
| flags | back to summary |
|---|---|
| public int flags() is used for certain commands, like
| |
| flags | back to summary |
|---|---|
| public IOURingCQE flags(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static IOURingCQE malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static IOURingCQE. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static IOURingCQE malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static IOURingCQE. Returns a new
| |
| nbig_cqe | back to summary |
|---|---|
| public static LongBuffer nbig_cqe(long struct) Unsafe version of | |
| nbig_cqe | back to summary |
|---|---|
| public static long nbig_cqe(long struct, int index) Unsafe version of | |
| nbig_cqe | back to summary |
|---|---|
| public static void nbig_cqe(long struct, LongBuffer value) Unsafe version of | |
| nbig_cqe | back to summary |
|---|---|
| public static void nbig_cqe(long struct, int index, long value) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static void nflags(long struct, int value) Unsafe version of | |
| nres | back to summary |
|---|---|
| public static int nres(long struct) Unsafe version of | |
| nres | back to summary |
|---|---|
| public static void nres(long struct, int value) Unsafe version of | |
| nuser_data | back to summary |
|---|---|
| public static long nuser_data(long struct) Unsafe version of | |
| nuser_data | back to summary |
|---|---|
| public static void nuser_data(long struct, long value) Unsafe version of | |
| res | back to summary |
|---|---|
| public int res() is the operation-specific result, but For read and write
| |
| res | back to summary |
|---|---|
| public IOURingCQE res(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public IOURingCQE set(long user_data, int res, int flags, LongBuffer big_cqe) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public IOURingCQE set(IOURingCQE src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| user_data | back to summary |
|---|---|
| public long user_data() is copied from the field of the same name in the submission queue entry. The primary use case is to store data that the application will need to access upon completion of this particular I/O.
| |
| user_data | back to summary |
|---|---|
| public IOURingCQE user_data(long value) Sets the specified value to the | |
IOURingCQE structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final IOURingCQE |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public LongBuffer | |
| public long | |
| public IOURingCQE. | |
| public IOURingCQE. | big_cqe(int index, long value)
Sets the specified value at the specified index of the |
| public int | |
| public IOURingCQE. | |
| protected IOURingCQE | |
| public int | |
| public IOURingCQE. | |
| protected IOURingCQE. | |
| public long | |
| public IOURingCQE. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final IOURingCQE 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) | |
| big_cqe | back to summary |
|---|---|
public LongBuffer big_cqe()
| |
| big_cqe | back to summary |
|---|---|
public long big_cqe(int index)
| |
| big_cqe | back to summary |
|---|---|
| public IOURingCQE. Copies the specified | |
| big_cqe | back to summary |
|---|---|
| public IOURingCQE. Sets the specified value at the specified index of the | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public IOURingCQE. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected IOURingCQE getElementFactory() Implements abstract org.
| |
| res | back to summary |
|---|---|
public int res()
| |
| res | back to summary |
|---|---|
| public IOURingCQE. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected IOURingCQE. Implements abstract org.
| |
| user_data | back to summary |
|---|---|
public long user_data()
| |
| user_data | back to summary |
|---|---|
| public IOURingCQE. Sets the specified value to the | |