struct io_uring {
struct io_uring_sq sq;
struct io_uring_cq cq;
unsigned int flags;
int ring_fd;
unsigned int features;
int enter_ring_fd;
__u8 int_flags;
__u8 pad[3];
unsigned pad2;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | IOURing.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CQ
The struct member offsets. |
| public static final int | ENTER_RING_FD
The struct member offsets. |
| public static final int | FEATURES
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | INT_FLAGS
The struct member offsets. |
| public static final int | PAD
The struct member offsets. |
| public static final int | PAD2
The struct member offsets. |
| public static final int | RING_FD
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SQ
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | IOURing(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static IOURing | |
| public static IOURing. | calloc(int
the buffer capacity capacity)Returns a new |
| public static IOURing | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static IOURing. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public IOURingCQ | |
| public IOURing | |
| public IOURing | |
| protected IOURing | 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 IOURing | |
| public static IOURing | |
| public static IOURing. | create(int
the buffer capacity capacity)Returns a new |
| public static IOURing. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static IOURing | |
| public static IOURing. | |
| public int | |
| public IOURing | |
| public int | |
| public IOURing | |
| public int | |
| public IOURing | |
| public byte | |
| public IOURing | |
| public static IOURing | |
| public static IOURing. | malloc(int
the buffer capacity capacity)Returns a new |
| public static IOURing | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static IOURing. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static IOURingCQ | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static byte | |
| public static void | |
| public static ByteBuffer | |
| public static byte | |
| public static void | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static IOURingSQ | |
| public static void | |
| public int | |
| public IOURing | |
| public IOURing | |
| public IOURing | |
| public int | |
| public IOURingSQ | |
| public IOURing | |
| public IOURing | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CQ | back to summary |
|---|---|
| public static final int CQ The struct member offsets. | |
| ENTER_RING_FD | back to summary |
|---|---|
| public static final int ENTER_RING_FD The struct member offsets. | |
| FEATURES | back to summary |
|---|---|
| public static final int FEATURES The struct member offsets. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| INT_FLAGS | back to summary |
|---|---|
| public static final int INT_FLAGS The struct member offsets. | |
| PAD | back to summary |
|---|---|
| public static final int PAD The struct member offsets. | |
| PAD2 | back to summary |
|---|---|
| public static final int PAD2 The struct member offsets. | |
| RING_FD | back to summary |
|---|---|
| public static final int RING_FD The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SQ | back to summary |
|---|---|
| public static final int SQ The struct member offsets. | |
| IOURing | back to summary |
|---|---|
| protected IOURing(long address, ByteBuffer container) | |
| IOURing | back to summary |
|---|---|
| public IOURing(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static IOURing calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static IOURing. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static IOURing calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static IOURing. Returns a new
| |
| cq | back to summary |
|---|---|
public IOURingCQ cq()
| |
| cq | back to summary |
|---|---|
| public IOURing cq(IOURingCQ value) Copies the specified | |
| cq | back to summary |
|---|---|
| public IOURing cq(Consumer<IOURingCQ> consumer) Passes the | |
| create | back to summary |
|---|---|
| protected IOURing create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static IOURing create() Returns a new | |
| create | back to summary |
|---|---|
| public static IOURing create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static IOURing. Returns a new
| |
| create | back to summary |
|---|---|
| public static IOURing. Create a
| |
| createSafe | back to summary |
|---|---|
| public static IOURing createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static IOURing. Like
| |
| enter_ring_fd | back to summary |
|---|---|
public int enter_ring_fd()
| |
| enter_ring_fd | back to summary |
|---|---|
| public IOURing enter_ring_fd(int value) Sets the specified value to the | |
| features | back to summary |
|---|---|
public int features()
| |
| features | back to summary |
|---|---|
| public IOURing features(int value) Sets the specified value to the | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public IOURing flags(int value) Sets the specified value to the | |
| int_flags | back to summary |
|---|---|
public byte int_flags()
| |
| int_flags | back to summary |
|---|---|
| public IOURing int_flags(byte value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static IOURing malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static IOURing. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static IOURing malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static IOURing. Returns a new
| |
| ncq | back to summary |
|---|---|
| public static IOURingCQ ncq(long struct) Unsafe version of | |
| ncq | back to summary |
|---|---|
| public static void ncq(long struct, IOURingCQ value) Unsafe version of | |
| nenter_ring_fd | back to summary |
|---|---|
| public static int nenter_ring_fd(long struct) Unsafe version of | |
| nenter_ring_fd | back to summary |
|---|---|
| public static void nenter_ring_fd(long struct, int value) Unsafe version of | |
| nfeatures | back to summary |
|---|---|
| public static int nfeatures(long struct) Unsafe version of | |
| nfeatures | back to summary |
|---|---|
| public static void nfeatures(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 | |
| nint_flags | back to summary |
|---|---|
| public static byte nint_flags(long struct) Unsafe version of | |
| nint_flags | back to summary |
|---|---|
| public static void nint_flags(long struct, byte value) Unsafe version of | |
| npad | back to summary |
|---|---|
| public static ByteBuffer npad(long struct) | |
| npad | back to summary |
|---|---|
| public static byte npad(long struct, int index) | |
| npad | back to summary |
|---|---|
| public static void npad(long struct, ByteBuffer value) | |
| npad | back to summary |
|---|---|
| public static void npad(long struct, int index, byte value) | |
| npad2 | back to summary |
|---|---|
| public static int npad2(long struct) | |
| npad2 | back to summary |
|---|---|
| public static void npad2(long struct, int value) | |
| nring_fd | back to summary |
|---|---|
| public static int nring_fd(long struct) Unsafe version of | |
| nring_fd | back to summary |
|---|---|
| public static void nring_fd(long struct, int value) Unsafe version of | |
| nsq | back to summary |
|---|---|
| public static IOURingSQ nsq(long struct) Unsafe version of | |
| nsq | back to summary |
|---|---|
| public static void nsq(long struct, IOURingSQ value) Unsafe version of | |
| ring_fd | back to summary |
|---|---|
public int ring_fd()
| |
| ring_fd | back to summary |
|---|---|
| public IOURing ring_fd(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public IOURing set(IOURingSQ sq, IOURingCQ cq, int flags, int ring_fd, int features, int enter_ring_fd, byte int_flags) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public IOURing set(IOURing src) Copies the specified struct data to this struct. | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sq | back to summary |
|---|---|
public IOURingSQ sq()
| |
| sq | back to summary |
|---|---|
| public IOURing sq(IOURingSQ value) Copies the specified | |
| sq | back to summary |
|---|---|
| public IOURing sq(Consumer<IOURingSQ> consumer) Passes the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
IOURing structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final IOURing |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public IOURingCQ | |
| public IOURing. | |
| public IOURing. | |
| public int | |
| public IOURing. | |
| public int | |
| public IOURing. | |
| public int | |
| public IOURing. | |
| protected IOURing | |
| public byte | |
| public IOURing. | |
| public int | |
| public IOURing. | |
| protected IOURing. | |
| public IOURingSQ | |
| public IOURing. | |
| public IOURing. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final IOURing 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) | |
| cq | back to summary |
|---|---|
public IOURingCQ cq()
| |
| cq | back to summary |
|---|---|
| public IOURing. Copies the specified | |
| cq | back to summary |
|---|---|
| public IOURing. Passes the | |
| enter_ring_fd | back to summary |
|---|---|
public int enter_ring_fd()
| |
| enter_ring_fd | back to summary |
|---|---|
| public IOURing. Sets the specified value to the | |
| features | back to summary |
|---|---|
public int features()
| |
| features | back to summary |
|---|---|
| public IOURing. Sets the specified value to the | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public IOURing. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected IOURing getElementFactory() Implements abstract org.
| |
| int_flags | back to summary |
|---|---|
public byte int_flags()
| |
| int_flags | back to summary |
|---|---|
| public IOURing. Sets the specified value to the | |
| ring_fd | back to summary |
|---|---|
public int ring_fd()
| |
| ring_fd | back to summary |
|---|---|
| public IOURing. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected IOURing. Implements abstract org.
| |
| sq | back to summary |
|---|---|
public IOURingSQ sq()
| |
| sq | back to summary |
|---|---|
| public IOURing. Copies the specified | |
| sq | back to summary |
|---|---|
| public IOURing. Passes the | |