Package org.lwjgl.system.linux.liburing
Class IOURingSQE
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
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;
struct {
__u32 level;
__u32 optname;
};
};
__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;
__u32 waitid_flags;
__u32 futex_flags;
__u32 install_fd_flags;
__u32 nop_flags;
__u32 pipe_flags;
};
__u64 user_data;
union {
__u16 buf_index;
__u16 buf_group;
};
__u16 personality;
union {
__s32 splice_fd_in;
__u32 file_index;
__u32 zcrx_ifq_idx;
__u32 optlen;
struct {
__u16 addr_len;
__u16 __pad3[1];
};
};
union {
struct {
__u64 addr3;
__u64 __pad2[1];
};
__u64 optval;
__u8 cmd[0];
};
}-
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 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 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 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 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 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 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.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 member offsets.static final intThe struct member offsets.static final intThe struct member offsets.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
ConstructorsConstructorDescriptionIOURingSQE(ByteBuffer container) Creates aIOURingSQEinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionint__pad1()__pad1(int value) Sets the specified value to the__pad1field.__pad2()long__pad2(int index) __pad2(int index, long value) Sets the specified value at the specified index of the__pad2field.__pad2(LongBuffer value) Copies the specifiedLongBufferto the__pad2field.__pad3()short__pad3(int index) __pad3(int index, short value) Sets the specified value at the specified index of the__pad3field.__pad3(ShortBuffer value) Copies the specifiedShortBufferto the__pad3field.intaccept_flags(int value) Sets the specified value to theaccept_flagsfield.longaddr()addr(long value) Sets the specified value to theaddrfield.shortaddr_len()addr_len(short value) Sets the specified value to theaddr_lenfield.longaddr2()addr2(long value) Sets the specified value to theaddr2field.longaddr3()addr3(long value) Sets the specified value to theaddr3field.shortbuf_group(short value) Sets the specified value to thebuf_groupfield.shortbuf_index(short value) Sets the specified value to thebuf_indexfield.static IOURingSQEcalloc()Returns a newIOURingSQEinstance allocated withmemCalloc.static IOURingSQE.Buffercalloc(int capacity) Returns a newIOURingSQE.Bufferinstance allocated withmemCalloc.static IOURingSQE.Buffercalloc(int capacity, MemoryStack stack) Returns a newIOURingSQE.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static IOURingSQEcalloc(MemoryStack stack) Returns a newIOURingSQEinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.intcancel_flags(int value) Sets the specified value to thecancel_flagsfield.cmd()bytecmd(int index) cmd(int index, byte value) Sets the specified value at the specified index of thecmdfield.cmd(ByteBuffer value) Copies the specifiedByteBufferto thecmdfield.intcmd_op()cmd_op(int value) Sets the specified value to thecmd_opfield.static IOURingSQEcreate()Returns a newIOURingSQEinstance allocated withBufferUtils.static IOURingSQE.Buffercreate(int capacity) Returns a newIOURingSQE.Bufferinstance allocated withBufferUtils.static IOURingSQEcreate(long address) Returns a newIOURingSQEinstance for the specified memory address.static IOURingSQE.Buffercreate(long address, int capacity) Create aIOURingSQE.Bufferinstance at the specified memory.static @Nullable IOURingSQEcreateSafe(long address) static @Nullable IOURingSQE.BuffercreateSafe(long address, int capacity) intfadvise_advice(int value) Sets the specified value to thefadvise_advicefield.intfd()fd(int value) Sets the specified value to thefdfield.intfile_index(int value) Sets the specified value to thefile_indexfield.byteflags()flags(byte value) Sets the specified value to theflagsfield.intfsync_flags(int value) Sets the specified value to thefsync_flagsfield.intfutex_flags(int value) Sets the specified value to thefutex_flagsfield.inthardlink_flags(int value) Sets the specified value to thehardlink_flagsfield.intinstall_fd_flags(int value) Sets the specified value to theinstall_fd_flagsfield.shortioprio()ioprio(short value) Sets the specified value to theiopriofield.intlen()len(int value) Sets the specified value to thelenfield.intlevel()level(int value) Sets the specified value to thelevelfield.static IOURingSQEmalloc()Returns a newIOURingSQEinstance allocated withmemAlloc.static IOURingSQE.Buffermalloc(int capacity) Returns a newIOURingSQE.Bufferinstance allocated withmemAlloc.static IOURingSQE.Buffermalloc(int capacity, MemoryStack stack) Returns a newIOURingSQE.Bufferinstance allocated on the specifiedMemoryStack.static IOURingSQEmalloc(MemoryStack stack) Returns a newIOURingSQEinstance allocated on the specifiedMemoryStack.intmsg_flags(int value) Sets the specified value to themsg_flagsfield.intmsg_ring_flags(int value) Sets the specified value to themsg_ring_flagsfield.static intn__pad1(long struct) static voidn__pad1(long struct, int value) static LongBuffern__pad2(long struct) static longn__pad2(long struct, int index) static voidn__pad2(long struct, int index, long value) static voidn__pad2(long struct, LongBuffer value) static ShortBuffern__pad3(long struct) static shortn__pad3(long struct, int index) static voidn__pad3(long struct, int index, short value) static voidn__pad3(long struct, ShortBuffer value) static intnaccept_flags(long struct) Unsafe version ofaccept_flags().static voidnaccept_flags(long struct, int value) Unsafe version ofaccept_flags.static longnaddr(long struct) Unsafe version ofaddr().static voidnaddr(long struct, long value) Unsafe version ofaddr.static shortnaddr_len(long struct) Unsafe version ofaddr_len().static voidnaddr_len(long struct, short value) Unsafe version ofaddr_len.static longnaddr2(long struct) Unsafe version ofaddr2().static voidnaddr2(long struct, long value) Unsafe version ofaddr2.static longnaddr3(long struct) Unsafe version ofaddr3().static voidnaddr3(long struct, long value) Unsafe version ofaddr3.static shortnbuf_group(long struct) Unsafe version ofbuf_group().static voidnbuf_group(long struct, short value) Unsafe version ofbuf_group.static shortnbuf_index(long struct) Unsafe version ofbuf_index().static voidnbuf_index(long struct, short value) Unsafe version ofbuf_index.static intncancel_flags(long struct) Unsafe version ofcancel_flags().static voidncancel_flags(long struct, int value) Unsafe version ofcancel_flags.static ByteBufferncmd(long struct) Unsafe version ofcmd().static bytencmd(long struct, int index) Unsafe version ofcmd.static voidncmd(long struct, int index, byte value) Unsafe version ofcmd.static voidncmd(long struct, ByteBuffer value) Unsafe version ofcmd.static intncmd_op(long struct) Unsafe version ofcmd_op().static voidncmd_op(long struct, int value) Unsafe version ofcmd_op.static intnfadvise_advice(long struct) Unsafe version offadvise_advice().static voidnfadvise_advice(long struct, int value) Unsafe version offadvise_advice.static intnfd(long struct) Unsafe version offd().static voidnfd(long struct, int value) Unsafe version offd.static intnfile_index(long struct) Unsafe version offile_index().static voidnfile_index(long struct, int value) Unsafe version offile_index.static bytenflags(long struct) Unsafe version offlags().static voidnflags(long struct, byte value) Unsafe version offlags.static intnfsync_flags(long struct) Unsafe version offsync_flags().static voidnfsync_flags(long struct, int value) Unsafe version offsync_flags.static intnfutex_flags(long struct) Unsafe version offutex_flags().static voidnfutex_flags(long struct, int value) Unsafe version offutex_flags.static intnhardlink_flags(long struct) Unsafe version ofhardlink_flags().static voidnhardlink_flags(long struct, int value) Unsafe version ofhardlink_flags.static intninstall_fd_flags(long struct) Unsafe version ofinstall_fd_flags().static voidninstall_fd_flags(long struct, int value) Unsafe version ofinstall_fd_flags.static shortnioprio(long struct) Unsafe version ofioprio().static voidnioprio(long struct, short value) Unsafe version ofioprio.static intnlen(long struct) Unsafe version oflen().static voidnlen(long struct, int value) Unsafe version oflen.static intnlevel(long struct) Unsafe version oflevel().static voidnlevel(long struct, int value) Unsafe version oflevel.static intnmsg_flags(long struct) Unsafe version ofmsg_flags().static voidnmsg_flags(long struct, int value) Unsafe version ofmsg_flags.static intnmsg_ring_flags(long struct) Unsafe version ofmsg_ring_flags().static voidnmsg_ring_flags(long struct, int value) Unsafe version ofmsg_ring_flags.static intnnop_flags(long struct) Unsafe version ofnop_flags().static voidnnop_flags(long struct, int value) Unsafe version ofnop_flags.static longnoff(long struct) Unsafe version ofoff().static voidnoff(long struct, long value) Unsafe version ofoff.intnop_flags(int value) Sets the specified value to thenop_flagsfield.static bytenopcode(long struct) Unsafe version ofopcode().static voidnopcode(long struct, byte value) Unsafe version ofopcode.static intnopen_flags(long struct) Unsafe version ofopen_flags().static voidnopen_flags(long struct, int value) Unsafe version ofopen_flags.static intnoptlen(long struct) Unsafe version ofoptlen().static voidnoptlen(long struct, int value) Unsafe version ofoptlen.static intnoptname(long struct) Unsafe version ofoptname().static voidnoptname(long struct, int value) Unsafe version ofoptname.static longnoptval(long struct) Unsafe version ofoptval().static voidnoptval(long struct, long value) Unsafe version ofoptval.static shortnpersonality(long struct) Unsafe version ofpersonality().static voidnpersonality(long struct, short value) Unsafe version ofpersonality.static intnpipe_flags(long struct) Unsafe version ofpipe_flags().static voidnpipe_flags(long struct, int value) Unsafe version ofpipe_flags.static shortnpoll_events(long struct) Unsafe version ofpoll_events().static voidnpoll_events(long struct, short value) Unsafe version ofpoll_events.static intnpoll32_events(long struct) Unsafe version ofpoll32_events().static voidnpoll32_events(long struct, int value) Unsafe version ofpoll32_events.static intnrename_flags(long struct) Unsafe version ofrename_flags().static voidnrename_flags(long struct, int value) Unsafe version ofrename_flags.static intnrw_flags(long struct) Unsafe version ofrw_flags().static voidnrw_flags(long struct, int value) Unsafe version ofrw_flags.static intnsplice_fd_in(long struct) Unsafe version ofsplice_fd_in().static voidnsplice_fd_in(long struct, int value) Unsafe version ofsplice_fd_in.static intnsplice_flags(long struct) Unsafe version ofsplice_flags().static voidnsplice_flags(long struct, int value) Unsafe version ofsplice_flags.static longnsplice_off_in(long struct) Unsafe version ofsplice_off_in().static voidnsplice_off_in(long struct, long value) Unsafe version ofsplice_off_in.static intnstatx_flags(long struct) Unsafe version ofstatx_flags().static voidnstatx_flags(long struct, int value) Unsafe version ofstatx_flags.static intnsync_range_flags(long struct) Unsafe version ofsync_range_flags().static voidnsync_range_flags(long struct, int value) Unsafe version ofsync_range_flags.static intntimeout_flags(long struct) Unsafe version oftimeout_flags().static voidntimeout_flags(long struct, int value) Unsafe version oftimeout_flags.static intnunlink_flags(long struct) Unsafe version ofunlink_flags().static voidnunlink_flags(long struct, int value) Unsafe version ofunlink_flags.static intnuring_cmd_flags(long struct) Unsafe version ofuring_cmd_flags().static voidnuring_cmd_flags(long struct, int value) Unsafe version ofuring_cmd_flags.static longnuser_data(long struct) Unsafe version ofuser_data().static voidnuser_data(long struct, long value) Unsafe version ofuser_data.static intnwaitid_flags(long struct) Unsafe version ofwaitid_flags().static voidnwaitid_flags(long struct, int value) Unsafe version ofwaitid_flags.static intnxattr_flags(long struct) Unsafe version ofxattr_flags().static voidnxattr_flags(long struct, int value) Unsafe version ofxattr_flags.static intnzcrx_ifq_idx(long struct) Unsafe version ofzcrx_ifq_idx().static voidnzcrx_ifq_idx(long struct, int value) Unsafe version ofzcrx_ifq_idx.longoff()off(long value) Sets the specified value to theofffield.byteopcode()opcode(byte value) Sets the specified value to theopcodefield.intopen_flags(int value) Sets the specified value to theopen_flagsfield.intoptlen()optlen(int value) Sets the specified value to theoptlenfield.intoptname()optname(int value) Sets the specified value to theoptnamefield.longoptval()optval(long value) Sets the specified value to theoptvalfield.shortpersonality(short value) Sets the specified value to thepersonalityfield.intpipe_flags(int value) Sets the specified value to thepipe_flagsfield.shortpoll_events(short value) Sets the specified value to thepoll_eventsfield.intpoll32_events(int value) Sets the specified value to thepoll32_eventsfield.intrename_flags(int value) Sets the specified value to therename_flagsfield.intrw_flags()rw_flags(int value) Sets the specified value to therw_flagsfield.set(IOURingSQE src) Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).intsplice_fd_in(int value) Sets the specified value to thesplice_fd_infield.intsplice_flags(int value) Sets the specified value to thesplice_flagsfield.longsplice_off_in(long value) Sets the specified value to thesplice_off_infield.intstatx_flags(int value) Sets the specified value to thestatx_flagsfield.intsync_range_flags(int value) Sets the specified value to thesync_range_flagsfield.inttimeout_flags(int value) Sets the specified value to thetimeout_flagsfield.intunlink_flags(int value) Sets the specified value to theunlink_flagsfield.inturing_cmd_flags(int value) Sets the specified value to theuring_cmd_flagsfield.longuser_data(long value) Sets the specified value to theuser_datafield.intwaitid_flags(int value) Sets the specified value to thewaitid_flagsfield.intxattr_flags(int value) Sets the specified value to thexattr_flagsfield.intzcrx_ifq_idx(int value) Sets the specified value to thezcrx_ifq_idxfield.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. -
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. -
LEVEL
public static final int LEVELThe struct member offsets. -
OPTNAME
public static final int OPTNAMEThe 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. -
WAITID_FLAGS
public static final int WAITID_FLAGSThe struct member offsets. -
FUTEX_FLAGS
public static final int FUTEX_FLAGSThe struct member offsets. -
INSTALL_FD_FLAGS
public static final int INSTALL_FD_FLAGSThe struct member offsets. -
NOP_FLAGS
public static final int NOP_FLAGSThe struct member offsets. -
PIPE_FLAGS
public static final int PIPE_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. -
ZCRX_IFQ_IDX
public static final int ZCRX_IFQ_IDXThe struct member offsets. -
OPTLEN
public static final int OPTLENThe 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. -
OPTVAL
public static final int OPTVALThe struct member offsets. -
CMD
public static final int CMDThe struct member offsets.
-
-
Constructor Details
-
IOURingSQE
Creates aIOURingSQEinstance 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<IOURingSQE>
-
opcode
public byte opcode()- Returns:
- the value of the
opcodefield.
-
flags
public byte flags()- Returns:
- the value of the
flagsfield.
-
ioprio
public short ioprio()- Returns:
- the value of the
iopriofield.
-
fd
public int fd()- Returns:
- the value of the
fdfield.
-
off
public long off()- Returns:
- the value of the
offfield.
-
addr2
public long addr2()- Returns:
- the value of the
addr2field.
-
cmd_op
public int cmd_op()- Returns:
- the value of the
cmd_opfield.
-
__pad1
public int __pad1()- Returns:
- the value of the
__pad1field.
-
addr
public long addr()- Returns:
- the value of the
addrfield.
-
splice_off_in
public long splice_off_in()- Returns:
- the value of the
splice_off_infield.
-
level
public int level()- Returns:
- the value of the
levelfield.
-
optname
public int optname()- Returns:
- the value of the
optnamefield.
-
len
public int len()- Returns:
- the value of the
lenfield.
-
rw_flags
public int rw_flags()- Returns:
- the value of the
rw_flagsfield.
-
fsync_flags
public int fsync_flags()- Returns:
- the value of the
fsync_flagsfield.
-
poll_events
public short poll_events()- Returns:
- the value of the
poll_eventsfield.
-
poll32_events
public int poll32_events()- Returns:
- the value of the
poll32_eventsfield.
-
sync_range_flags
public int sync_range_flags()- Returns:
- the value of the
sync_range_flagsfield.
-
msg_flags
public int msg_flags()- Returns:
- the value of the
msg_flagsfield.
-
timeout_flags
public int timeout_flags()- Returns:
- the value of the
timeout_flagsfield.
-
accept_flags
public int accept_flags()- Returns:
- the value of the
accept_flagsfield.
-
cancel_flags
public int cancel_flags()- Returns:
- the value of the
cancel_flagsfield.
-
open_flags
public int open_flags()- Returns:
- the value of the
open_flagsfield.
-
statx_flags
public int statx_flags()- Returns:
- the value of the
statx_flagsfield.
-
fadvise_advice
public int fadvise_advice()- Returns:
- the value of the
fadvise_advicefield.
-
splice_flags
public int splice_flags()- Returns:
- the value of the
splice_flagsfield.
-
rename_flags
public int rename_flags()- Returns:
- the value of the
rename_flagsfield.
-
unlink_flags
public int unlink_flags()- Returns:
- the value of the
unlink_flagsfield.
-
hardlink_flags
public int hardlink_flags()- Returns:
- the value of the
hardlink_flagsfield.
-
xattr_flags
public int xattr_flags()- Returns:
- the value of the
xattr_flagsfield.
-
msg_ring_flags
public int msg_ring_flags()- Returns:
- the value of the
msg_ring_flagsfield.
-
uring_cmd_flags
public int uring_cmd_flags()- Returns:
- the value of the
uring_cmd_flagsfield.
-
waitid_flags
public int waitid_flags()- Returns:
- the value of the
waitid_flagsfield.
-
futex_flags
public int futex_flags()- Returns:
- the value of the
futex_flagsfield.
-
install_fd_flags
public int install_fd_flags()- Returns:
- the value of the
install_fd_flagsfield.
-
nop_flags
public int nop_flags()- Returns:
- the value of the
nop_flagsfield.
-
pipe_flags
public int pipe_flags()- Returns:
- the value of the
pipe_flagsfield.
-
user_data
public long user_data()- Returns:
- the value of the
user_datafield.
-
buf_index
public short buf_index()- Returns:
- the value of the
buf_indexfield.
-
buf_group
public short buf_group()- Returns:
- the value of the
buf_groupfield.
-
personality
public short personality()- Returns:
- the value of the
personalityfield.
-
splice_fd_in
public int splice_fd_in()- Returns:
- the value of the
splice_fd_infield.
-
file_index
public int file_index()- Returns:
- the value of the
file_indexfield.
-
zcrx_ifq_idx
public int zcrx_ifq_idx()- Returns:
- the value of the
zcrx_ifq_idxfield.
-
optlen
public int optlen()- Returns:
- the value of the
optlenfield.
-
addr_len
public short addr_len()- Returns:
- the value of the
addr_lenfield.
-
__pad3
- Returns:
- a
ShortBufferview of the__pad3field.
-
__pad3
public short __pad3(int index) - Returns:
- the value at the specified index of the
__pad3field.
-
addr3
public long addr3()- Returns:
- the value of the
addr3field.
-
__pad2
- Returns:
- a
LongBufferview of the__pad2field.
-
__pad2
public long __pad2(int index) - Returns:
- the value at the specified index of the
__pad2field.
-
optval
public long optval()- Returns:
- the value of the
optvalfield.
-
cmd
- Returns:
- a
ByteBufferview of thecmdfield.
-
cmd
public byte cmd(int index) - Returns:
- the value at the specified index of the
cmdfield.
-
opcode
Sets the specified value to theopcodefield. -
flags
Sets the specified value to theflagsfield. -
ioprio
Sets the specified value to theiopriofield. -
fd
Sets the specified value to thefdfield. -
off
Sets the specified value to theofffield. -
addr2
Sets the specified value to theaddr2field. -
cmd_op
Sets the specified value to thecmd_opfield. -
__pad1
Sets the specified value to the__pad1field. -
addr
Sets the specified value to theaddrfield. -
splice_off_in
Sets the specified value to thesplice_off_infield. -
level
Sets the specified value to thelevelfield. -
optname
Sets the specified value to theoptnamefield. -
len
Sets the specified value to thelenfield. -
rw_flags
Sets the specified value to therw_flagsfield. -
fsync_flags
Sets the specified value to thefsync_flagsfield. -
poll_events
Sets the specified value to thepoll_eventsfield. -
poll32_events
Sets the specified value to thepoll32_eventsfield. -
sync_range_flags
Sets the specified value to thesync_range_flagsfield. -
msg_flags
Sets the specified value to themsg_flagsfield. -
timeout_flags
Sets the specified value to thetimeout_flagsfield. -
accept_flags
Sets the specified value to theaccept_flagsfield. -
cancel_flags
Sets the specified value to thecancel_flagsfield. -
open_flags
Sets the specified value to theopen_flagsfield. -
statx_flags
Sets the specified value to thestatx_flagsfield. -
fadvise_advice
Sets the specified value to thefadvise_advicefield. -
splice_flags
Sets the specified value to thesplice_flagsfield. -
rename_flags
Sets the specified value to therename_flagsfield. -
unlink_flags
Sets the specified value to theunlink_flagsfield. -
hardlink_flags
Sets the specified value to thehardlink_flagsfield. -
xattr_flags
Sets the specified value to thexattr_flagsfield. -
msg_ring_flags
Sets the specified value to themsg_ring_flagsfield. -
uring_cmd_flags
Sets the specified value to theuring_cmd_flagsfield. -
waitid_flags
Sets the specified value to thewaitid_flagsfield. -
futex_flags
Sets the specified value to thefutex_flagsfield. -
install_fd_flags
Sets the specified value to theinstall_fd_flagsfield. -
nop_flags
Sets the specified value to thenop_flagsfield. -
pipe_flags
Sets the specified value to thepipe_flagsfield. -
user_data
Sets the specified value to theuser_datafield. -
buf_index
Sets the specified value to thebuf_indexfield. -
buf_group
Sets the specified value to thebuf_groupfield. -
personality
Sets the specified value to thepersonalityfield. -
splice_fd_in
Sets the specified value to thesplice_fd_infield. -
file_index
Sets the specified value to thefile_indexfield. -
zcrx_ifq_idx
Sets the specified value to thezcrx_ifq_idxfield. -
optlen
Sets the specified value to theoptlenfield. -
addr_len
Sets the specified value to theaddr_lenfield. -
__pad3
Copies the specifiedShortBufferto the__pad3field. -
__pad3
Sets the specified value at the specified index of the__pad3field. -
addr3
Sets the specified value to theaddr3field. -
__pad2
Copies the specifiedLongBufferto the__pad2field. -
__pad2
Sets the specified value at the specified index of the__pad2field. -
optval
Sets the specified value to theoptvalfield. -
cmd
Copies the specifiedByteBufferto thecmdfield. -
cmd
Sets the specified value at the specified index of thecmdfield. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newIOURingSQEinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newIOURingSQEinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newIOURingSQEinstance allocated withBufferUtils. -
create
Returns a newIOURingSQEinstance for the specified memory address. -
createSafe
-
malloc
Returns a newIOURingSQE.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newIOURingSQE.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newIOURingSQE.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aIOURingSQE.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newIOURingSQEinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newIOURingSQEinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newIOURingSQE.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newIOURingSQE.Bufferinstance allocated on the specifiedMemoryStackand 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(). -
nlevel
public static int nlevel(long struct) Unsafe version oflevel(). -
noptname
public static int noptname(long struct) Unsafe version ofoptname(). -
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(). -
nwaitid_flags
public static int nwaitid_flags(long struct) Unsafe version ofwaitid_flags(). -
nfutex_flags
public static int nfutex_flags(long struct) Unsafe version offutex_flags(). -
ninstall_fd_flags
public static int ninstall_fd_flags(long struct) Unsafe version ofinstall_fd_flags(). -
nnop_flags
public static int nnop_flags(long struct) Unsafe version ofnop_flags(). -
npipe_flags
public static int npipe_flags(long struct) Unsafe version ofpipe_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(). -
nzcrx_ifq_idx
public static int nzcrx_ifq_idx(long struct) Unsafe version ofzcrx_ifq_idx(). -
noptlen
public static int noptlen(long struct) Unsafe version ofoptlen(). -
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) -
noptval
public static long noptval(long struct) Unsafe version ofoptval(). -
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. -
nlevel
public static void nlevel(long struct, int value) Unsafe version oflevel. -
noptname
public static void noptname(long struct, int value) Unsafe version ofoptname. -
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. -
nwaitid_flags
public static void nwaitid_flags(long struct, int value) Unsafe version ofwaitid_flags. -
nfutex_flags
public static void nfutex_flags(long struct, int value) Unsafe version offutex_flags. -
ninstall_fd_flags
public static void ninstall_fd_flags(long struct, int value) Unsafe version ofinstall_fd_flags. -
nnop_flags
public static void nnop_flags(long struct, int value) Unsafe version ofnop_flags. -
npipe_flags
public static void npipe_flags(long struct, int value) Unsafe version ofpipe_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. -
nzcrx_ifq_idx
public static void nzcrx_ifq_idx(long struct, int value) Unsafe version ofzcrx_ifq_idx. -
noptlen
public static void noptlen(long struct, int value) Unsafe version ofoptlen. -
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) -
noptval
public static void noptval(long struct, long value) Unsafe version ofoptval. -
ncmd
Unsafe version ofcmd. -
ncmd
public static void ncmd(long struct, int index, byte value) Unsafe version ofcmd.
-