Package org.lwjgl.system.linux.liburing
Class IOURingSQE
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct
org.lwjgl.system.linux.liburing.IOURingSQE
- All Implemented Interfaces:
AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class IOURingSQE
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
IO submission data structure (Submission Queue Entry).
Once the submission queue entry is initialized, I/O is submitted by placing the index of the submission queue entry into the tail of the submission
queue. After one or more indexes are added to the queue, and the queue tail is advanced, the enter
system call can be invoked to initiate the I/O.
Layout
struct io_uring_sqe {
__u8 opcode()
;
__u8 flags()
;
__u16 ioprio()
;
__s32 fd()
;
union {
__u64 off()
;
__u64 addr2;
struct {
__u32 cmd_op;
__u32 __pad1;
};
};
union {
__u64 addr()
;
__u64 splice_off_in;
};
__u32 len()
;
union {
__kernel_rwf_t rw_flags()
;
__u32 fsync_flags()
;
__u16 poll_events()
;
__u32 poll32_events()
;
__u32 sync_range_flags;
__u32 msg_flags;
__u32 timeout_flags;
__u32 accept_flags;
__u32 cancel_flags;
__u32 open_flags;
__u32 statx_flags;
__u32 fadvise_advice;
__u32 splice_flags;
__u32 rename_flags;
__u32 unlink_flags;
__u32 hardlink_flags;
__u32 xattr_flags;
__u32 msg_ring_flags;
__u32 uring_cmd_flags;
};
__u64 user_data()
;
union {
__u16 buf_index()
;
__u16 buf_group()
;
};
__u16 personality()
;
union {
__s32 splice_fd_in;
__u32 file_index;
struct {
__u16 addr_len;
__u16 __pad3[1];
};
};
union {
struct {
__u64 addr3;
__u64 __pad2[1];
};
__u8 cmd()
[0];
};
}
-
Nested Class Summary
Nested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionIOURingSQE
(ByteBuffer container) Creates aIOURingSQE
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionint
__pad1()
__pad1
(int value) Sets the specified value to the__pad1
field.__pad2()
long
__pad2
(int index) __pad2
(int index, long value) Sets the specified value at the specified index of the__pad2
field.__pad2
(LongBuffer value) Copies the specifiedLongBuffer
to the__pad2
field.__pad3()
short
__pad3
(int index) __pad3
(int index, short value) Sets the specified value at the specified index of the__pad3
field.__pad3
(ShortBuffer value) Copies the specifiedShortBuffer
to the__pad3
field.int
accept_flags
(int value) Sets the specified value to theaccept_flags
field.long
addr()
pointer to buffer oriovecs
addr
(long value) Sets the specified value to theaddr()
field.short
addr_len()
addr_len
(short value) Sets the specified value to theaddr_len
field.long
addr2()
addr2
(long value) Sets the specified value to theaddr2
field.long
addr3()
addr3
(long value) Sets the specified value to theaddr3
field.short
for grouped buffer selectionbuf_group
(short value) Sets the specified value to thebuf_group()
field.short
an index into an array of fixed buffers, and is only valid if fixed buffers were registeredbuf_index
(short value) Sets the specified value to thebuf_index()
field.static IOURingSQE
calloc()
Returns a newIOURingSQE
instance allocated withmemCalloc
.static IOURingSQE.Buffer
calloc
(int capacity) Returns a newIOURingSQE.Buffer
instance allocated withmemCalloc
.static IOURingSQE.Buffer
calloc
(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newIOURingSQE.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static IOURingSQE
calloc
(org.lwjgl.system.MemoryStack stack) Returns a newIOURingSQE
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.int
cancel_flags
(int value) Sets the specified value to thecancel_flags
field.cmd()
If the ring is initialized withSETUP_SQE128
, then this field is used for 80 bytes of arbitrary command databyte
cmd
(int index) If the ring is initialized withSETUP_SQE128
, then this field is used for 80 bytes of arbitrary command datacmd
(int index, byte value) Sets the specified value at the specified index of thecmd()
field.cmd
(ByteBuffer value) Copies the specifiedByteBuffer
to thecmd()
field.int
cmd_op()
cmd_op
(int value) Sets the specified value to thecmd_op
field.static IOURingSQE
create()
Returns a newIOURingSQE
instance allocated withBufferUtils
.static IOURingSQE.Buffer
create
(int capacity) Returns a newIOURingSQE.Buffer
instance allocated withBufferUtils
.static IOURingSQE
create
(long address) Returns a newIOURingSQE
instance for the specified memory address.static IOURingSQE.Buffer
create
(long address, int capacity) Create aIOURingSQE.Buffer
instance at the specified memory.static IOURingSQE
createSafe
(long address) static IOURingSQE.Buffer
createSafe
(long address, int capacity) int
fadvise_advice
(int value) Sets the specified value to thefadvise_advice
field.int
fd()
specifies the file descriptor against which the operation will be performedfd
(int value) Sets the specified value to thefd()
field.int
file_index
(int value) Sets the specified value to thefile_index
field.byte
flags()
IOSQE_
flags.flags
(byte value) Sets the specified value to theflags()
field.int
may contain either 0, for a normal file integrity sync, orFSYNC_DATASYNC
to provide data sync only semantics.fsync_flags
(int value) Sets the specified value to thefsync_flags()
field.int
hardlink_flags
(int value) Sets the specified value to thehardlink_flags
field.short
ioprio()
specifies the I/O priority.ioprio
(short value) Sets the specified value to theioprio()
field.int
len()
buffer size or number ofiovecs
len
(int value) Sets the specified value to thelen()
field.static IOURingSQE
malloc()
Returns a newIOURingSQE
instance allocated withmemAlloc
.static IOURingSQE.Buffer
malloc
(int capacity) Returns a newIOURingSQE.Buffer
instance allocated withmemAlloc
.static IOURingSQE.Buffer
malloc
(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newIOURingSQE.Buffer
instance allocated on the specifiedMemoryStack
.static IOURingSQE
malloc
(org.lwjgl.system.MemoryStack stack) Returns a newIOURingSQE
instance allocated on the specifiedMemoryStack
.int
msg_flags
(int value) Sets the specified value to themsg_flags
field.int
msg_ring_flags
(int value) Sets the specified value to themsg_ring_flags
field.static int
n__pad1
(long struct) static void
n__pad1
(long struct, int value) static LongBuffer
n__pad2
(long struct) static long
n__pad2
(long struct, int index) static void
n__pad2
(long struct, int index, long value) static void
n__pad2
(long struct, LongBuffer value) static ShortBuffer
n__pad3
(long struct) static short
n__pad3
(long struct, int index) static void
n__pad3
(long struct, int index, short value) static void
n__pad3
(long struct, ShortBuffer value) static int
naccept_flags
(long struct) Unsafe version ofaccept_flags()
.static void
naccept_flags
(long struct, int value) Unsafe version ofaccept_flags
.static long
naddr
(long struct) Unsafe version ofaddr()
.static void
naddr
(long struct, long value) Unsafe version ofaddr
.static short
naddr_len
(long struct) Unsafe version ofaddr_len()
.static void
naddr_len
(long struct, short value) Unsafe version ofaddr_len
.static long
naddr2
(long struct) Unsafe version ofaddr2()
.static void
naddr2
(long struct, long value) Unsafe version ofaddr2
.static long
naddr3
(long struct) Unsafe version ofaddr3()
.static void
naddr3
(long struct, long value) Unsafe version ofaddr3
.static short
nbuf_group
(long struct) Unsafe version ofbuf_group()
.static void
nbuf_group
(long struct, short value) Unsafe version ofbuf_group
.static short
nbuf_index
(long struct) Unsafe version ofbuf_index()
.static void
nbuf_index
(long struct, short value) Unsafe version ofbuf_index
.static int
ncancel_flags
(long struct) Unsafe version ofcancel_flags()
.static void
ncancel_flags
(long struct, int value) Unsafe version ofcancel_flags
.static ByteBuffer
ncmd
(long struct) Unsafe version ofcmd()
.static byte
ncmd
(long struct, int index) Unsafe version ofcmd
.static void
ncmd
(long struct, int index, byte value) Unsafe version ofcmd
.static void
ncmd
(long struct, ByteBuffer value) Unsafe version ofcmd
.static int
ncmd_op
(long struct) Unsafe version ofcmd_op()
.static void
ncmd_op
(long struct, int value) Unsafe version ofcmd_op
.static int
nfadvise_advice
(long struct) Unsafe version offadvise_advice()
.static void
nfadvise_advice
(long struct, int value) Unsafe version offadvise_advice
.static int
nfd
(long struct) Unsafe version offd()
.static void
nfd
(long struct, int value) Unsafe version offd
.static int
nfile_index
(long struct) Unsafe version offile_index()
.static void
nfile_index
(long struct, int value) Unsafe version offile_index
.static byte
nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, byte value) Unsafe version offlags
.static int
nfsync_flags
(long struct) Unsafe version offsync_flags()
.static void
nfsync_flags
(long struct, int value) Unsafe version offsync_flags
.static int
nhardlink_flags
(long struct) Unsafe version ofhardlink_flags()
.static void
nhardlink_flags
(long struct, int value) Unsafe version ofhardlink_flags
.static short
nioprio
(long struct) Unsafe version ofioprio()
.static void
nioprio
(long struct, short value) Unsafe version ofioprio
.static int
nlen
(long struct) Unsafe version oflen()
.static void
nlen
(long struct, int value) Unsafe version oflen
.static int
nmsg_flags
(long struct) Unsafe version ofmsg_flags()
.static void
nmsg_flags
(long struct, int value) Unsafe version ofmsg_flags
.static int
nmsg_ring_flags
(long struct) Unsafe version ofmsg_ring_flags()
.static void
nmsg_ring_flags
(long struct, int value) Unsafe version ofmsg_ring_flags
.static long
noff
(long struct) Unsafe version ofoff()
.static void
noff
(long struct, long value) Unsafe version ofoff
.static byte
nopcode
(long struct) Unsafe version ofopcode()
.static void
nopcode
(long struct, byte value) Unsafe version ofopcode
.static int
nopen_flags
(long struct) Unsafe version ofopen_flags()
.static void
nopen_flags
(long struct, int value) Unsafe version ofopen_flags
.static short
npersonality
(long struct) Unsafe version ofpersonality()
.static void
npersonality
(long struct, short value) Unsafe version ofpersonality
.static short
npoll_events
(long struct) Unsafe version ofpoll_events()
.static void
npoll_events
(long struct, short value) Unsafe version ofpoll_events
.static int
npoll32_events
(long struct) Unsafe version ofpoll32_events()
.static void
npoll32_events
(long struct, int value) Unsafe version ofpoll32_events
.static int
nrename_flags
(long struct) Unsafe version ofrename_flags()
.static void
nrename_flags
(long struct, int value) Unsafe version ofrename_flags
.static int
nrw_flags
(long struct) Unsafe version ofrw_flags()
.static void
nrw_flags
(long struct, int value) Unsafe version ofrw_flags
.static int
nsplice_fd_in
(long struct) Unsafe version ofsplice_fd_in()
.static void
nsplice_fd_in
(long struct, int value) Unsafe version ofsplice_fd_in
.static int
nsplice_flags
(long struct) Unsafe version ofsplice_flags()
.static void
nsplice_flags
(long struct, int value) Unsafe version ofsplice_flags
.static long
nsplice_off_in
(long struct) Unsafe version ofsplice_off_in()
.static void
nsplice_off_in
(long struct, long value) Unsafe version ofsplice_off_in
.static int
nstatx_flags
(long struct) Unsafe version ofstatx_flags()
.static void
nstatx_flags
(long struct, int value) Unsafe version ofstatx_flags
.static int
nsync_range_flags
(long struct) Unsafe version ofsync_range_flags()
.static void
nsync_range_flags
(long struct, int value) Unsafe version ofsync_range_flags
.static int
ntimeout_flags
(long struct) Unsafe version oftimeout_flags()
.static void
ntimeout_flags
(long struct, int value) Unsafe version oftimeout_flags
.static int
nunlink_flags
(long struct) Unsafe version ofunlink_flags()
.static void
nunlink_flags
(long struct, int value) Unsafe version ofunlink_flags
.static int
nuring_cmd_flags
(long struct) Unsafe version ofuring_cmd_flags()
.static void
nuring_cmd_flags
(long struct, int value) Unsafe version ofuring_cmd_flags
.static long
nuser_data
(long struct) Unsafe version ofuser_data()
.static void
nuser_data
(long struct, long value) Unsafe version ofuser_data
.static int
nxattr_flags
(long struct) Unsafe version ofxattr_flags()
.static void
nxattr_flags
(long struct, int value) Unsafe version ofxattr_flags
.long
off()
offset into fileoff
(long value) Sets the specified value to theoff()
field.byte
opcode()
type of operation for this sqeopcode
(byte value) Sets the specified value to theopcode()
field.int
open_flags
(int value) Sets the specified value to theopen_flags
field.short
the credentials id to use for this operation.personality
(short value) Sets the specified value to thepersonality()
field.short
the bits that may be set inpoll_events
are defined in<poll.h>
, and documented inpoll(2)
poll_events
(short value) Sets the specified value to thepoll_events()
field.int
word-reversed for BEpoll32_events
(int value) Sets the specified value to thepoll32_events()
field.int
rename_flags
(int value) Sets the specified value to therename_flags
field.int
rw_flags()
specified for read and write operations, contains a bitwise OR of per-I/O flags, as described in thepreadv2(2)
man pagerw_flags
(int value) Sets the specified value to therw_flags()
field.set
(IOURingSQE src) Copies the specified struct data to this struct.int
sizeof()
int
splice_fd_in
(int value) Sets the specified value to thesplice_fd_in
field.int
splice_flags
(int value) Sets the specified value to thesplice_flags
field.long
splice_off_in
(long value) Sets the specified value to thesplice_off_in
field.int
statx_flags
(int value) Sets the specified value to thestatx_flags
field.int
sync_range_flags
(int value) Sets the specified value to thesync_range_flags
field.int
timeout_flags
(int value) Sets the specified value to thetimeout_flags
field.int
unlink_flags
(int value) Sets the specified value to theunlink_flags
field.int
uring_cmd_flags
(int value) Sets the specified value to theuring_cmd_flags
field.long
an application-supplied value that will be copied into the completion queue entryuser_data
(long value) Sets the specified value to theuser_data()
field.int
xattr_flags
(int value) Sets the specified value to thexattr_flags
field.Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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. -
OPCODE
public static final int OPCODEThe struct member offsets. -
FLAGS
public static final int FLAGSThe struct member offsets. -
IOPRIO
public static final int IOPRIOThe struct member offsets. -
FD
public static final int FDThe struct member offsets. -
OFF
public static final int OFFThe struct member offsets. -
ADDR2
public static final int ADDR2The struct member offsets. -
CMD_OP
public static final int CMD_OPThe struct member offsets. -
__PAD1
public static final int __PAD1The struct member offsets. -
ADDR
public static final int ADDRThe struct member offsets. -
SPLICE_OFF_IN
public static final int SPLICE_OFF_INThe struct member offsets. -
LEN
public static final int LENThe struct member offsets. -
RW_FLAGS
public static final int RW_FLAGSThe struct member offsets. -
FSYNC_FLAGS
public static final int FSYNC_FLAGSThe struct member offsets. -
POLL_EVENTS
public static final int POLL_EVENTSThe struct member offsets. -
POLL32_EVENTS
public static final int POLL32_EVENTSThe struct member offsets. -
SYNC_RANGE_FLAGS
public static final int SYNC_RANGE_FLAGSThe struct member offsets. -
MSG_FLAGS
public static final int MSG_FLAGSThe struct member offsets. -
TIMEOUT_FLAGS
public static final int TIMEOUT_FLAGSThe struct member offsets. -
ACCEPT_FLAGS
public static final int ACCEPT_FLAGSThe struct member offsets. -
CANCEL_FLAGS
public static final int CANCEL_FLAGSThe struct member offsets. -
OPEN_FLAGS
public static final int OPEN_FLAGSThe struct member offsets. -
STATX_FLAGS
public static final int STATX_FLAGSThe struct member offsets. -
FADVISE_ADVICE
public static final int FADVISE_ADVICEThe struct member offsets. -
SPLICE_FLAGS
public static final int SPLICE_FLAGSThe struct member offsets. -
RENAME_FLAGS
public static final int RENAME_FLAGSThe struct member offsets. -
UNLINK_FLAGS
public static final int UNLINK_FLAGSThe struct member offsets. -
HARDLINK_FLAGS
public static final int HARDLINK_FLAGSThe struct member offsets. -
XATTR_FLAGS
public static final int XATTR_FLAGSThe struct member offsets. -
MSG_RING_FLAGS
public static final int MSG_RING_FLAGSThe struct member offsets. -
URING_CMD_FLAGS
public static final int URING_CMD_FLAGSThe struct member offsets. -
USER_DATA
public static final int USER_DATAThe struct member offsets. -
BUF_INDEX
public static final int BUF_INDEXThe struct member offsets. -
BUF_GROUP
public static final int BUF_GROUPThe struct member offsets. -
PERSONALITY
public static final int PERSONALITYThe struct member offsets. -
SPLICE_FD_IN
public static final int SPLICE_FD_INThe struct member offsets. -
FILE_INDEX
public static final int FILE_INDEXThe struct member offsets. -
ADDR_LEN
public static final int ADDR_LENThe struct member offsets. -
__PAD3
public static final int __PAD3The struct member offsets. -
ADDR3
public static final int ADDR3The struct member offsets. -
__PAD2
public static final int __PAD2The struct member offsets. -
CMD
public static final int CMDThe struct member offsets.
-
-
Constructor Details
-
IOURingSQE
Creates aIOURingSQE
instance at the current position of the specifiedByteBuffer
container. 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()- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
opcode
public byte opcode()type of operation for this sqe -
flags
public byte flags()IOSQE_
flags. One or more of: -
ioprio
public short ioprio()specifies the I/O priority. Seeioprio_get(2)
for a description of Linux I/O priorities. -
fd
public int fd()specifies the file descriptor against which the operation will be performed -
off
public long off()offset into file -
addr2
public long addr2()- Returns:
- the value of the
addr2
field.
-
cmd_op
public int cmd_op()- Returns:
- the value of the
cmd_op
field.
-
__pad1
public int __pad1()- Returns:
- the value of the
__pad1
field.
-
addr
public long addr()pointer to buffer oriovecs
-
splice_off_in
public long splice_off_in()- Returns:
- the value of the
splice_off_in
field.
-
len
public int len()buffer size or number ofiovecs
-
rw_flags
public int rw_flags()specified for read and write operations, contains a bitwise OR of per-I/O flags, as described in thepreadv2(2)
man page -
fsync_flags
public int fsync_flags()may contain either 0, for a normal file integrity sync, orFSYNC_DATASYNC
to provide data sync only semantics.See the descriptions of
O_SYNC
andO_DSYNC
in theopen(2)
manual page for more information. -
poll_events
public short poll_events()the bits that may be set inpoll_events
are defined in<poll.h>
, and documented inpoll(2)
-
poll32_events
public int poll32_events()word-reversed for BE -
sync_range_flags
public int sync_range_flags()- Returns:
- the value of the
sync_range_flags
field.
-
msg_flags
public int msg_flags()- Returns:
- the value of the
msg_flags
field.
-
timeout_flags
public int timeout_flags()- Returns:
- the value of the
timeout_flags
field.
-
accept_flags
public int accept_flags()- Returns:
- the value of the
accept_flags
field.
-
cancel_flags
public int cancel_flags()- Returns:
- the value of the
cancel_flags
field.
-
open_flags
public int open_flags()- Returns:
- the value of the
open_flags
field.
-
statx_flags
public int statx_flags()- Returns:
- the value of the
statx_flags
field.
-
fadvise_advice
public int fadvise_advice()- Returns:
- the value of the
fadvise_advice
field.
-
splice_flags
public int splice_flags()- Returns:
- the value of the
splice_flags
field.
-
rename_flags
public int rename_flags()- Returns:
- the value of the
rename_flags
field.
-
unlink_flags
public int unlink_flags()- Returns:
- the value of the
unlink_flags
field.
-
hardlink_flags
public int hardlink_flags()- Returns:
- the value of the
hardlink_flags
field.
-
xattr_flags
public int xattr_flags()- Returns:
- the value of the
xattr_flags
field.
-
msg_ring_flags
public int msg_ring_flags()- Returns:
- the value of the
msg_ring_flags
field.
-
uring_cmd_flags
public int uring_cmd_flags()- Returns:
- the value of the
uring_cmd_flags
field.
-
user_data
public long user_data()an application-supplied value that will be copied into the completion queue entry -
buf_index
public short buf_index()an index into an array of fixed buffers, and is only valid if fixed buffers were registered -
buf_group
public short buf_group()for grouped buffer selection -
personality
public short personality()the credentials id to use for this operation.See
register
for how to register personalities withio_uring
. If set to 0, the current personality of the submitting task is used. -
splice_fd_in
public int splice_fd_in()- Returns:
- the value of the
splice_fd_in
field.
-
file_index
public int file_index()- Returns:
- the value of the
file_index
field.
-
addr_len
public short addr_len()- Returns:
- the value of the
addr_len
field.
-
__pad3
- Returns:
- a
ShortBuffer
view of the__pad3
field.
-
__pad3
public short __pad3(int index) - Returns:
- the value at the specified index of the
__pad3
field.
-
addr3
public long addr3()- Returns:
- the value of the
addr3
field.
-
__pad2
- Returns:
- a
LongBuffer
view of the__pad2
field.
-
__pad2
public long __pad2(int index) - Returns:
- the value at the specified index of the
__pad2
field.
-
cmd
If the ring is initialized withSETUP_SQE128
, then this field is used for 80 bytes of arbitrary command data -
cmd
public byte cmd(int index) If the ring is initialized withSETUP_SQE128
, then this field is used for 80 bytes of arbitrary command data -
opcode
Sets the specified value to theopcode()
field. -
flags
Sets the specified value to theflags()
field. -
ioprio
Sets the specified value to theioprio()
field. -
fd
Sets the specified value to thefd()
field. -
off
Sets the specified value to theoff()
field. -
addr2
Sets the specified value to theaddr2
field. -
cmd_op
Sets the specified value to thecmd_op
field. -
__pad1
Sets the specified value to the__pad1
field. -
addr
Sets the specified value to theaddr()
field. -
splice_off_in
Sets the specified value to thesplice_off_in
field. -
len
Sets the specified value to thelen()
field. -
rw_flags
Sets the specified value to therw_flags()
field. -
fsync_flags
Sets the specified value to thefsync_flags()
field. -
poll_events
Sets the specified value to thepoll_events()
field. -
poll32_events
Sets the specified value to thepoll32_events()
field. -
sync_range_flags
Sets the specified value to thesync_range_flags
field. -
msg_flags
Sets the specified value to themsg_flags
field. -
timeout_flags
Sets the specified value to thetimeout_flags
field. -
accept_flags
Sets the specified value to theaccept_flags
field. -
cancel_flags
Sets the specified value to thecancel_flags
field. -
open_flags
Sets the specified value to theopen_flags
field. -
statx_flags
Sets the specified value to thestatx_flags
field. -
fadvise_advice
Sets the specified value to thefadvise_advice
field. -
splice_flags
Sets the specified value to thesplice_flags
field. -
rename_flags
Sets the specified value to therename_flags
field. -
unlink_flags
Sets the specified value to theunlink_flags
field. -
hardlink_flags
Sets the specified value to thehardlink_flags
field. -
xattr_flags
Sets the specified value to thexattr_flags
field. -
msg_ring_flags
Sets the specified value to themsg_ring_flags
field. -
uring_cmd_flags
Sets the specified value to theuring_cmd_flags
field. -
user_data
Sets the specified value to theuser_data()
field. -
buf_index
Sets the specified value to thebuf_index()
field. -
buf_group
Sets the specified value to thebuf_group()
field. -
personality
Sets the specified value to thepersonality()
field. -
splice_fd_in
Sets the specified value to thesplice_fd_in
field. -
file_index
Sets the specified value to thefile_index
field. -
addr_len
Sets the specified value to theaddr_len
field. -
__pad3
Copies the specifiedShortBuffer
to the__pad3
field. -
__pad3
Sets the specified value at the specified index of the__pad3
field. -
addr3
Sets the specified value to theaddr3
field. -
__pad2
Copies the specifiedLongBuffer
to the__pad2
field. -
__pad2
Sets the specified value at the specified index of the__pad2
field. -
cmd
Copies the specifiedByteBuffer
to thecmd()
field. -
cmd
Sets the specified value at the specified index of thecmd()
field. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newIOURingSQE
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newIOURingSQE
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newIOURingSQE
instance allocated withBufferUtils
. -
create
Returns a newIOURingSQE
instance for the specified memory address. -
createSafe
-
malloc
Returns a newIOURingSQE.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newIOURingSQE.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newIOURingSQE.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aIOURingSQE.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newIOURingSQE
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newIOURingSQE
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newIOURingSQE.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newIOURingSQE.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nopcode
public static byte nopcode(long struct) Unsafe version ofopcode()
. -
nflags
public static byte nflags(long struct) Unsafe version offlags()
. -
nioprio
public static short nioprio(long struct) Unsafe version ofioprio()
. -
nfd
public static int nfd(long struct) Unsafe version offd()
. -
noff
public static long noff(long struct) Unsafe version ofoff()
. -
naddr2
public static long naddr2(long struct) Unsafe version ofaddr2()
. -
ncmd_op
public static int ncmd_op(long struct) Unsafe version ofcmd_op()
. -
n__pad1
public static int n__pad1(long struct) -
naddr
public static long naddr(long struct) Unsafe version ofaddr()
. -
nsplice_off_in
public static long nsplice_off_in(long struct) Unsafe version ofsplice_off_in()
. -
nlen
public static int nlen(long struct) Unsafe version oflen()
. -
nrw_flags
public static int nrw_flags(long struct) Unsafe version ofrw_flags()
. -
nfsync_flags
public static int nfsync_flags(long struct) Unsafe version offsync_flags()
. -
npoll_events
public static short npoll_events(long struct) Unsafe version ofpoll_events()
. -
npoll32_events
public static int npoll32_events(long struct) Unsafe version ofpoll32_events()
. -
nsync_range_flags
public static int nsync_range_flags(long struct) Unsafe version ofsync_range_flags()
. -
nmsg_flags
public static int nmsg_flags(long struct) Unsafe version ofmsg_flags()
. -
ntimeout_flags
public static int ntimeout_flags(long struct) Unsafe version oftimeout_flags()
. -
naccept_flags
public static int naccept_flags(long struct) Unsafe version ofaccept_flags()
. -
ncancel_flags
public static int ncancel_flags(long struct) Unsafe version ofcancel_flags()
. -
nopen_flags
public static int nopen_flags(long struct) Unsafe version ofopen_flags()
. -
nstatx_flags
public static int nstatx_flags(long struct) Unsafe version ofstatx_flags()
. -
nfadvise_advice
public static int nfadvise_advice(long struct) Unsafe version offadvise_advice()
. -
nsplice_flags
public static int nsplice_flags(long struct) Unsafe version ofsplice_flags()
. -
nrename_flags
public static int nrename_flags(long struct) Unsafe version ofrename_flags()
. -
nunlink_flags
public static int nunlink_flags(long struct) Unsafe version ofunlink_flags()
. -
nhardlink_flags
public static int nhardlink_flags(long struct) Unsafe version ofhardlink_flags()
. -
nxattr_flags
public static int nxattr_flags(long struct) Unsafe version ofxattr_flags()
. -
nmsg_ring_flags
public static int nmsg_ring_flags(long struct) Unsafe version ofmsg_ring_flags()
. -
nuring_cmd_flags
public static int nuring_cmd_flags(long struct) Unsafe version ofuring_cmd_flags()
. -
nuser_data
public static long nuser_data(long struct) Unsafe version ofuser_data()
. -
nbuf_index
public static short nbuf_index(long struct) Unsafe version ofbuf_index()
. -
nbuf_group
public static short nbuf_group(long struct) Unsafe version ofbuf_group()
. -
npersonality
public static short npersonality(long struct) Unsafe version ofpersonality()
. -
nsplice_fd_in
public static int nsplice_fd_in(long struct) Unsafe version ofsplice_fd_in()
. -
nfile_index
public static int nfile_index(long struct) Unsafe version offile_index()
. -
naddr_len
public static short naddr_len(long struct) Unsafe version ofaddr_len()
. -
n__pad3
-
n__pad3
public static short n__pad3(long struct, int index) -
naddr3
public static long naddr3(long struct) Unsafe version ofaddr3()
. -
n__pad2
-
n__pad2
public static long n__pad2(long struct, int index) -
ncmd
Unsafe version ofcmd()
. -
ncmd
public static byte ncmd(long struct, int index) Unsafe version ofcmd
. -
nopcode
public static void nopcode(long struct, byte value) Unsafe version ofopcode
. -
nflags
public static void nflags(long struct, byte value) Unsafe version offlags
. -
nioprio
public static void nioprio(long struct, short value) Unsafe version ofioprio
. -
nfd
public static void nfd(long struct, int value) Unsafe version offd
. -
noff
public static void noff(long struct, long value) Unsafe version ofoff
. -
naddr2
public static void naddr2(long struct, long value) Unsafe version ofaddr2
. -
ncmd_op
public static void ncmd_op(long struct, int value) Unsafe version ofcmd_op
. -
n__pad1
public static void n__pad1(long struct, int value) -
naddr
public static void naddr(long struct, long value) Unsafe version ofaddr
. -
nsplice_off_in
public static void nsplice_off_in(long struct, long value) Unsafe version ofsplice_off_in
. -
nlen
public static void nlen(long struct, int value) Unsafe version oflen
. -
nrw_flags
public static void nrw_flags(long struct, int value) Unsafe version ofrw_flags
. -
nfsync_flags
public static void nfsync_flags(long struct, int value) Unsafe version offsync_flags
. -
npoll_events
public static void npoll_events(long struct, short value) Unsafe version ofpoll_events
. -
npoll32_events
public static void npoll32_events(long struct, int value) Unsafe version ofpoll32_events
. -
nsync_range_flags
public static void nsync_range_flags(long struct, int value) Unsafe version ofsync_range_flags
. -
nmsg_flags
public static void nmsg_flags(long struct, int value) Unsafe version ofmsg_flags
. -
ntimeout_flags
public static void ntimeout_flags(long struct, int value) Unsafe version oftimeout_flags
. -
naccept_flags
public static void naccept_flags(long struct, int value) Unsafe version ofaccept_flags
. -
ncancel_flags
public static void ncancel_flags(long struct, int value) Unsafe version ofcancel_flags
. -
nopen_flags
public static void nopen_flags(long struct, int value) Unsafe version ofopen_flags
. -
nstatx_flags
public static void nstatx_flags(long struct, int value) Unsafe version ofstatx_flags
. -
nfadvise_advice
public static void nfadvise_advice(long struct, int value) Unsafe version offadvise_advice
. -
nsplice_flags
public static void nsplice_flags(long struct, int value) Unsafe version ofsplice_flags
. -
nrename_flags
public static void nrename_flags(long struct, int value) Unsafe version ofrename_flags
. -
nunlink_flags
public static void nunlink_flags(long struct, int value) Unsafe version ofunlink_flags
. -
nhardlink_flags
public static void nhardlink_flags(long struct, int value) Unsafe version ofhardlink_flags
. -
nxattr_flags
public static void nxattr_flags(long struct, int value) Unsafe version ofxattr_flags
. -
nmsg_ring_flags
public static void nmsg_ring_flags(long struct, int value) Unsafe version ofmsg_ring_flags
. -
nuring_cmd_flags
public static void nuring_cmd_flags(long struct, int value) Unsafe version ofuring_cmd_flags
. -
nuser_data
public static void nuser_data(long struct, long value) Unsafe version ofuser_data
. -
nbuf_index
public static void nbuf_index(long struct, short value) Unsafe version ofbuf_index
. -
nbuf_group
public static void nbuf_group(long struct, short value) Unsafe version ofbuf_group
. -
npersonality
public static void npersonality(long struct, short value) Unsafe version ofpersonality
. -
nsplice_fd_in
public static void nsplice_fd_in(long struct, int value) Unsafe version ofsplice_fd_in
. -
nfile_index
public static void nfile_index(long struct, int value) Unsafe version offile_index
. -
naddr_len
public static void naddr_len(long struct, short value) Unsafe version ofaddr_len
. -
n__pad3
-
n__pad3
public static void n__pad3(long struct, int index, short value) -
naddr3
public static void naddr3(long struct, long value) Unsafe version ofaddr3
. -
n__pad2
-
n__pad2
public static void n__pad2(long struct, int index, long value) -
ncmd
Unsafe version ofcmd
. -
ncmd
public static void ncmd(long struct, int index, byte value) Unsafe version ofcmd
.
-