struct io_cqring_offsets {
__u32 head;
__u32 tail;
__u32 ring_mask;
__u32 ring_entries;
__u32 overflow;
__u32 cqes;
__u32 flags;
__u32 resv1;
__u64 resv2;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | IOCQRingOffsets.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CQES
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | HEAD
The struct member offsets. |
| public static final int | OVERFLOW
The struct member offsets. |
| public static final int | RESV1
The struct member offsets. |
| public static final int | RESV2
The struct member offsets. |
| public static final int | RING_ENTRIES
The struct member offsets. |
| public static final int | RING_MASK
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TAIL
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | IOCQRingOffsets(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static IOCQRingOffsets | |
| public static IOCQRingOffsets. | calloc(int
the buffer capacity capacity)Returns a new |
| public static IOCQRingOffsets | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static IOCQRingOffsets. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| public IOCQRingOffsets | |
| protected IOCQRingOffsets | 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 IOCQRingOffsets | |
| public static IOCQRingOffsets | |
| public static IOCQRingOffsets. | create(int
the buffer capacity capacity)Returns a new |
| public static IOCQRingOffsets. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static IOCQRingOffsets | |
| public static IOCQRingOffsets. | |
| public int | |
| public IOCQRingOffsets | |
| public int | |
| public IOCQRingOffsets | |
| public static IOCQRingOffsets | |
| public static IOCQRingOffsets. | malloc(int
the buffer capacity capacity)Returns a new |
| public static IOCQRingOffsets | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static IOCQRingOffsets. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public int | |
| public IOCQRingOffsets | |
| public int | |
| public IOCQRingOffsets | |
| public int | |
| public IOCQRingOffsets | |
| public IOCQRingOffsets | set(int head, int tail, int ring_mask, int ring_entries, int overflow, int cqes, int flags)
Initializes this struct with the specified values. |
| public IOCQRingOffsets | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public IOCQRingOffsets |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CQES | back to summary |
|---|---|
| public static final int CQES The struct member offsets. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| HEAD | back to summary |
|---|---|
| public static final int HEAD The struct member offsets. | |
| OVERFLOW | back to summary |
|---|---|
| public static final int OVERFLOW The struct member offsets. | |
| RESV1 | back to summary |
|---|---|
| public static final int RESV1 The struct member offsets. | |
| RESV2 | back to summary |
|---|---|
| public static final int RESV2 The struct member offsets. | |
| RING_ENTRIES | back to summary |
|---|---|
| public static final int RING_ENTRIES The struct member offsets. | |
| RING_MASK | back to summary |
|---|---|
| public static final int RING_MASK The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TAIL | back to summary |
|---|---|
| public static final int TAIL The struct member offsets. | |
| IOCQRingOffsets | back to summary |
|---|---|
| protected IOCQRingOffsets(long address, ByteBuffer container) | |
| IOCQRingOffsets | back to summary |
|---|---|
| public IOCQRingOffsets(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static IOCQRingOffsets calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static IOCQRingOffsets. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static IOCQRingOffsets calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static IOCQRingOffsets. Returns a new
| |
| cqes | back to summary |
|---|---|
public int cqes()
| |
| cqes | back to summary |
|---|---|
| public IOCQRingOffsets cqes(int value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected IOCQRingOffsets create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static IOCQRingOffsets create() Returns a new | |
| create | back to summary |
|---|---|
| public static IOCQRingOffsets create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static IOCQRingOffsets. Returns a new
| |
| create | back to summary |
|---|---|
| public static IOCQRingOffsets. Create a
| |
| createSafe | back to summary |
|---|---|
| public static IOCQRingOffsets createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static IOCQRingOffsets. Like
| |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public IOCQRingOffsets flags(int value) Sets the specified value to the | |
| head | back to summary |
|---|---|
public int head()
| |
| head | back to summary |
|---|---|
| public IOCQRingOffsets head(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static IOCQRingOffsets malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static IOCQRingOffsets. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static IOCQRingOffsets malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static IOCQRingOffsets. Returns a new
| |
| ncqes | back to summary |
|---|---|
| public static int ncqes(long struct) Unsafe version of | |
| ncqes | back to summary |
|---|---|
| public static void ncqes(long struct, int 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 | |
| nhead | back to summary |
|---|---|
| public static int nhead(long struct) Unsafe version of | |
| nhead | back to summary |
|---|---|
| public static void nhead(long struct, int value) Unsafe version of | |
| noverflow | back to summary |
|---|---|
| public static int noverflow(long struct) Unsafe version of | |
| noverflow | back to summary |
|---|---|
| public static void noverflow(long struct, int value) Unsafe version of | |
| nresv1 | back to summary |
|---|---|
| public static int nresv1(long struct) | |
| nresv1 | back to summary |
|---|---|
| public static void nresv1(long struct, int value) | |
| nresv2 | back to summary |
|---|---|
| public static long nresv2(long struct) | |
| nresv2 | back to summary |
|---|---|
| public static void nresv2(long struct, long value) | |
| 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 | |
| nring_mask | back to summary |
|---|---|
| public static int nring_mask(long struct) Unsafe version of | |
| nring_mask | back to summary |
|---|---|
| public static void nring_mask(long struct, int value) Unsafe version of | |
| ntail | back to summary |
|---|---|
| public static int ntail(long struct) Unsafe version of | |
| ntail | back to summary |
|---|---|
| public static void ntail(long struct, int value) Unsafe version of | |
| overflow | back to summary |
|---|---|
public int overflow()
| |
| overflow | back to summary |
|---|---|
| public IOCQRingOffsets overflow(int value) Sets the specified value to the | |
| ring_entries | back to summary |
|---|---|
public int ring_entries()
| |
| ring_entries | back to summary |
|---|---|
| public IOCQRingOffsets ring_entries(int value) Sets the specified value to the | |
| ring_mask | back to summary |
|---|---|
public int ring_mask()
| |
| ring_mask | back to summary |
|---|---|
| public IOCQRingOffsets ring_mask(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public IOCQRingOffsets set(int head, int tail, int ring_mask, int ring_entries, int overflow, int cqes, int flags) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public IOCQRingOffsets set(IOCQRingOffsets src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| tail | back to summary |
|---|---|
public int tail()
| |
| tail | back to summary |
|---|---|
| public IOCQRingOffsets tail(int value) Sets the specified value to the | |
IOCQRingOffsets structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final IOCQRingOffsets |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public IOCQRingOffsets. | |
| public int | |
| public IOCQRingOffsets. | |
| protected IOCQRingOffsets | |
| public int | |
| public IOCQRingOffsets. | |
| public int | |
| public IOCQRingOffsets. | |
| public int | |
| public IOCQRingOffsets. | |
| public int | |
| public IOCQRingOffsets. | |
| protected IOCQRingOffsets. | |
| public int | |
| public IOCQRingOffsets. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final IOCQRingOffsets 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) | |
| cqes | back to summary |
|---|---|
public int cqes()
| |
| cqes | back to summary |
|---|---|
| public IOCQRingOffsets. Sets the specified value to the | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public IOCQRingOffsets. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected IOCQRingOffsets getElementFactory() Implements abstract org.
| |
| head | back to summary |
|---|---|
public int head()
| |
| head | back to summary |
|---|---|
| public IOCQRingOffsets. Sets the specified value to the | |
| overflow | back to summary |
|---|---|
public int overflow()
| |
| overflow | back to summary |
|---|---|
| public IOCQRingOffsets. Sets the specified value to the | |
| ring_entries | back to summary |
|---|---|
public int ring_entries()
| |
| ring_entries | back to summary |
|---|---|
| public IOCQRingOffsets. Sets the specified value to the | |
| ring_mask | back to summary |
|---|---|
public int ring_mask()
| |
| ring_mask | back to summary |
|---|---|
| public IOCQRingOffsets. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected IOCQRingOffsets. Implements abstract org.
| |
| tail | back to summary |
|---|---|
public int tail()
| |
| tail | back to summary |
|---|---|
| public IOCQRingOffsets. Sets the specified value to the | |