mmap(2).
struct io_sqring_offsets {
__u32 head;
__u32 tail;
__u32 ring_mask;
__u32 ring_entries;
__u32 flags;
__u32 dropped;
__u32 array;
__u32 resv1;
__u64 resv2;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | IOSQRingOffsets.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ARRAY
The struct member offsets. |
| public static final int | DROPPED
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 | 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 | IOSQRingOffsets(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public IOSQRingOffsets | |
| public static IOSQRingOffsets | |
| public static IOSQRingOffsets. | calloc(int
the buffer capacity capacity)Returns a new |
| public static IOSQRingOffsets | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static IOSQRingOffsets. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected IOSQRingOffsets | 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 IOSQRingOffsets | |
| public static IOSQRingOffsets | |
| public static IOSQRingOffsets. | create(int
the buffer capacity capacity)Returns a new |
| public static IOSQRingOffsets. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static IOSQRingOffsets | |
| public static IOSQRingOffsets. | |
| public int | |
| public IOSQRingOffsets | |
| public int | |
| public IOSQRingOffsets | |
| public int | |
| public IOSQRingOffsets | |
| public static IOSQRingOffsets | |
| public static IOSQRingOffsets. | malloc(int
the buffer capacity capacity)Returns a new |
| public static IOSQRingOffsets | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static IOSQRingOffsets. | 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 IOSQRingOffsets | |
| public int | |
| public IOSQRingOffsets | |
| public IOSQRingOffsets | set(int head, int tail, int ring_mask, int ring_entries, int flags, int dropped, int array)
Initializes this struct with the specified values. |
| public IOSQRingOffsets | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public IOSQRingOffsets |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ARRAY | back to summary |
|---|---|
| public static final int ARRAY The struct member offsets. | |
| DROPPED | back to summary |
|---|---|
| public static final int DROPPED 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. | |
| 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. | |
| IOSQRingOffsets | back to summary |
|---|---|
| protected IOSQRingOffsets(long address, ByteBuffer container) | |
| IOSQRingOffsets | back to summary |
|---|---|
| public IOSQRingOffsets(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| array | back to summary |
|---|---|
public int array()
| |
| array | back to summary |
|---|---|
| public IOSQRingOffsets array(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static IOSQRingOffsets calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static IOSQRingOffsets. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static IOSQRingOffsets calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static IOSQRingOffsets. Returns a new
| |
| create | back to summary |
|---|---|
| protected IOSQRingOffsets create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static IOSQRingOffsets create() Returns a new | |
| create | back to summary |
|---|---|
| public static IOSQRingOffsets create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static IOSQRingOffsets. Returns a new
| |
| create | back to summary |
|---|---|
| public static IOSQRingOffsets. Create a
| |
| createSafe | back to summary |
|---|---|
| public static IOSQRingOffsets createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static IOSQRingOffsets. Like
| |
| dropped | back to summary |
|---|---|
public int dropped()
| |
| dropped | back to summary |
|---|---|
| public IOSQRingOffsets dropped(int value) Sets the specified value to the | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public IOSQRingOffsets flags(int value) Sets the specified value to the | |
| head | back to summary |
|---|---|
public int head()
| |
| head | back to summary |
|---|---|
| public IOSQRingOffsets head(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static IOSQRingOffsets malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static IOSQRingOffsets. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static IOSQRingOffsets malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static IOSQRingOffsets. Returns a new
| |
| narray | back to summary |
|---|---|
| public static int narray(long struct) Unsafe version of | |
| narray | back to summary |
|---|---|
| public static void narray(long struct, int value) Unsafe version of | |
| ndropped | back to summary |
|---|---|
| public static int ndropped(long struct) Unsafe version of | |
| ndropped | back to summary |
|---|---|
| public static void ndropped(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 | |
| 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 | |
| ring_entries | back to summary |
|---|---|
public int ring_entries()
| |
| ring_entries | back to summary |
|---|---|
| public IOSQRingOffsets 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 IOSQRingOffsets ring_mask(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public IOSQRingOffsets set(int head, int tail, int ring_mask, int ring_entries, int flags, int dropped, int array) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public IOSQRingOffsets set(IOSQRingOffsets 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 IOSQRingOffsets tail(int value) Sets the specified value to the | |
IOSQRingOffsets structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final IOSQRingOffsets |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public IOSQRingOffsets. | |
| public int | |
| public IOSQRingOffsets. | |
| public int | |
| public IOSQRingOffsets. | |
| protected IOSQRingOffsets | |
| public int | |
| public IOSQRingOffsets. | |
| public int | |
| public IOSQRingOffsets. | |
| public int | |
| public IOSQRingOffsets. | |
| protected IOSQRingOffsets. | |
| public int | |
| public IOSQRingOffsets. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final IOSQRingOffsets 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) | |
| array | back to summary |
|---|---|
public int array()
| |
| array | back to summary |
|---|---|
| public IOSQRingOffsets. Sets the specified value to the | |
| dropped | back to summary |
|---|---|
public int dropped()
| |
| dropped | back to summary |
|---|---|
| public IOSQRingOffsets. Sets the specified value to the | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public IOSQRingOffsets. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected IOSQRingOffsets getElementFactory() Implements abstract org.
| |
| head | back to summary |
|---|---|
public int head()
| |
| head | back to summary |
|---|---|
| public IOSQRingOffsets. Sets the specified value to the | |
| ring_entries | back to summary |
|---|---|
public int ring_entries()
| |
| ring_entries | back to summary |
|---|---|
| public IOSQRingOffsets. Sets the specified value to the | |
| ring_mask | back to summary |
|---|---|
public int ring_mask()
| |
| ring_mask | back to summary |
|---|---|
| public IOSQRingOffsets. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected IOSQRingOffsets. Implements abstract org.
| |
| tail | back to summary |
|---|---|
public int tail()
| |
| tail | back to summary |
|---|---|
| public IOSQRingOffsets. Sets the specified value to the | |