Package org.lwjgl.system.linux.liburing
Class IOURingZCRXIfqReg
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct io_uring_zcrx_ifq_reg {
__u32 if_idx;
__u32 if_rxq;
__u32 rq_entries;
__u32 flags;
__u64 area_ptr;
__u64 region_ptr;
struct io_uring_zcrx_offsets offsets;
__u32 zcrx_id;
__u32 __resv2;
__u64 __resv[3];
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionIOURingZCRXIfqReg(ByteBuffer container) Creates aIOURingZCRXIfqReginstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionlongarea_ptr()area_ptr(long value) Sets the specified value to thearea_ptrfield.static IOURingZCRXIfqRegcalloc()Returns a newIOURingZCRXIfqReginstance allocated withmemCalloc.static IOURingZCRXIfqReg.Buffercalloc(int capacity) Returns a newIOURingZCRXIfqReg.Bufferinstance allocated withmemCalloc.static IOURingZCRXIfqReg.Buffercalloc(int capacity, MemoryStack stack) Returns a newIOURingZCRXIfqReg.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static IOURingZCRXIfqRegcalloc(MemoryStack stack) Returns a newIOURingZCRXIfqReginstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static IOURingZCRXIfqRegcreate()Returns a newIOURingZCRXIfqReginstance allocated withBufferUtils.static IOURingZCRXIfqReg.Buffercreate(int capacity) Returns a newIOURingZCRXIfqReg.Bufferinstance allocated withBufferUtils.static IOURingZCRXIfqRegcreate(long address) Returns a newIOURingZCRXIfqReginstance for the specified memory address.static IOURingZCRXIfqReg.Buffercreate(long address, int capacity) Create aIOURingZCRXIfqReg.Bufferinstance at the specified memory.static @Nullable IOURingZCRXIfqRegcreateSafe(long address) static @Nullable IOURingZCRXIfqReg.BuffercreateSafe(long address, int capacity) intflags()flags(int value) Sets the specified value to theflagsfield.intif_idx()if_idx(int value) Sets the specified value to theif_idxfield.intif_rxq()if_rxq(int value) Sets the specified value to theif_rxqfield.static IOURingZCRXIfqRegmalloc()Returns a newIOURingZCRXIfqReginstance allocated withmemAlloc.static IOURingZCRXIfqReg.Buffermalloc(int capacity) Returns a newIOURingZCRXIfqReg.Bufferinstance allocated withmemAlloc.static IOURingZCRXIfqReg.Buffermalloc(int capacity, MemoryStack stack) Returns a newIOURingZCRXIfqReg.Bufferinstance allocated on the specifiedMemoryStack.static IOURingZCRXIfqRegmalloc(MemoryStack stack) Returns a newIOURingZCRXIfqReginstance allocated on the specifiedMemoryStack.static LongBuffern__resv(long struct) static longn__resv(long struct, int index) static voidn__resv(long struct, int index, long value) static voidn__resv(long struct, LongBuffer value) static intn__resv2(long struct) static voidn__resv2(long struct, int value) static longnarea_ptr(long struct) Unsafe version ofarea_ptr().static voidnarea_ptr(long struct, long value) Unsafe version ofarea_ptr.static intnflags(long struct) Unsafe version offlags().static voidnflags(long struct, int value) Unsafe version offlags.static intnif_idx(long struct) Unsafe version ofif_idx().static voidnif_idx(long struct, int value) Unsafe version ofif_idx.static intnif_rxq(long struct) Unsafe version ofif_rxq().static voidnif_rxq(long struct, int value) Unsafe version ofif_rxq.static IOURingZCRXOffsetsnoffsets(long struct) Unsafe version ofoffsets().static voidnoffsets(long struct, IOURingZCRXOffsets value) Unsafe version ofoffsets.static longnregion_ptr(long struct) Unsafe version ofregion_ptr().static voidnregion_ptr(long struct, long value) Unsafe version ofregion_ptr.static intnrq_entries(long struct) Unsafe version ofrq_entries().static voidnrq_entries(long struct, int value) Unsafe version ofrq_entries.static intnzcrx_id(long struct) Unsafe version ofzcrx_id().static voidnzcrx_id(long struct, int value) Unsafe version ofzcrx_id.offsets()offsets(Consumer<IOURingZCRXOffsets> consumer) Passes theoffsetsfield to the specifiedConsumer.offsets(IOURingZCRXOffsets value) Copies the specifiedIOURingZCRXOffsetsto theoffsetsfield.longregion_ptr(long value) Sets the specified value to theregion_ptrfield.intrq_entries(int value) Sets the specified value to therq_entriesfield.set(int if_idx, int if_rxq, int rq_entries, int flags, long area_ptr, long region_ptr, IOURingZCRXOffsets offsets, int zcrx_id) Initializes this struct with the specified values.set(IOURingZCRXIfqReg src) Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).intzcrx_id()zcrx_id(int value) Sets the specified value to thezcrx_idfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
IF_IDX
public static final int IF_IDXThe struct member offsets. -
IF_RXQ
public static final int IF_RXQThe struct member offsets. -
RQ_ENTRIES
public static final int RQ_ENTRIESThe struct member offsets. -
FLAGS
public static final int FLAGSThe struct member offsets. -
AREA_PTR
public static final int AREA_PTRThe struct member offsets. -
REGION_PTR
public static final int REGION_PTRThe struct member offsets. -
OFFSETS
public static final int OFFSETSThe struct member offsets. -
ZCRX_ID
public static final int ZCRX_IDThe struct member offsets. -
__RESV2
public static final int __RESV2The struct member offsets. -
__RESV
public static final int __RESVThe struct member offsets.
-
-
Constructor Details
-
IOURingZCRXIfqReg
Creates aIOURingZCRXIfqReginstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<IOURingZCRXIfqReg>
-
if_idx
public int if_idx()- Returns:
- the value of the
if_idxfield.
-
if_rxq
public int if_rxq()- Returns:
- the value of the
if_rxqfield.
-
rq_entries
public int rq_entries()- Returns:
- the value of the
rq_entriesfield.
-
flags
public int flags()- Returns:
- the value of the
flagsfield.
-
area_ptr
public long area_ptr()- Returns:
- the value of the
area_ptrfield.
-
region_ptr
public long region_ptr()- Returns:
- the value of the
region_ptrfield.
-
offsets
- Returns:
- a
IOURingZCRXOffsetsview of theoffsetsfield.
-
zcrx_id
public int zcrx_id()- Returns:
- the value of the
zcrx_idfield.
-
if_idx
Sets the specified value to theif_idxfield. -
if_rxq
Sets the specified value to theif_rxqfield. -
rq_entries
Sets the specified value to therq_entriesfield. -
flags
Sets the specified value to theflagsfield. -
area_ptr
Sets the specified value to thearea_ptrfield. -
region_ptr
Sets the specified value to theregion_ptrfield. -
offsets
Copies the specifiedIOURingZCRXOffsetsto theoffsetsfield. -
offsets
Passes theoffsetsfield to the specifiedConsumer. -
zcrx_id
Sets the specified value to thezcrx_idfield. -
set
public IOURingZCRXIfqReg set(int if_idx, int if_rxq, int rq_entries, int flags, long area_ptr, long region_ptr, IOURingZCRXOffsets offsets, int zcrx_id) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newIOURingZCRXIfqReginstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newIOURingZCRXIfqReginstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newIOURingZCRXIfqReginstance allocated withBufferUtils. -
create
Returns a newIOURingZCRXIfqReginstance for the specified memory address. -
createSafe
-
malloc
Returns a newIOURingZCRXIfqReg.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newIOURingZCRXIfqReg.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newIOURingZCRXIfqReg.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aIOURingZCRXIfqReg.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newIOURingZCRXIfqReginstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newIOURingZCRXIfqReginstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newIOURingZCRXIfqReg.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newIOURingZCRXIfqReg.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nif_idx
public static int nif_idx(long struct) Unsafe version ofif_idx(). -
nif_rxq
public static int nif_rxq(long struct) Unsafe version ofif_rxq(). -
nrq_entries
public static int nrq_entries(long struct) Unsafe version ofrq_entries(). -
nflags
public static int nflags(long struct) Unsafe version offlags(). -
narea_ptr
public static long narea_ptr(long struct) Unsafe version ofarea_ptr(). -
nregion_ptr
public static long nregion_ptr(long struct) Unsafe version ofregion_ptr(). -
noffsets
Unsafe version ofoffsets(). -
nzcrx_id
public static int nzcrx_id(long struct) Unsafe version ofzcrx_id(). -
n__resv2
public static int n__resv2(long struct) -
n__resv
-
n__resv
public static long n__resv(long struct, int index) -
nif_idx
public static void nif_idx(long struct, int value) Unsafe version ofif_idx. -
nif_rxq
public static void nif_rxq(long struct, int value) Unsafe version ofif_rxq. -
nrq_entries
public static void nrq_entries(long struct, int value) Unsafe version ofrq_entries. -
nflags
public static void nflags(long struct, int value) Unsafe version offlags. -
narea_ptr
public static void narea_ptr(long struct, long value) Unsafe version ofarea_ptr. -
nregion_ptr
public static void nregion_ptr(long struct, long value) Unsafe version ofregion_ptr. -
noffsets
Unsafe version ofoffsets. -
nzcrx_id
public static void nzcrx_id(long struct, int value) Unsafe version ofzcrx_id. -
n__resv2
public static void n__resv2(long struct, int value) -
n__resv
-
n__resv
public static void n__resv(long struct, int index, long value)
-