| Modifier and Type | Field and Description |
|---|---|
| public static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static int | io_uring_buf_ring_mask(int ring_entries)
Return the appropriate mask for a buffer ring of size |
| public static native boolean | |
| public static int | |
| public static boolean | io_uring_cq_eventfd_enabled(IOURing ring)
Returns true if the |
| public static int | io_uring_cq_eventfd_toggle(IOURing ring, boolean enabled)
Toggle |
| public static boolean | io_uring_cq_has_overflow(IOURing ring)
Returns true if there are overflow entries waiting to be flushed onto the CQ ring |
| public static int | io_uring_cq_ready(IOURing ring)
Retuns the number of unconsumed entries that are ready belonging to the |
| public static long | |
| public static long | |
| public static void | io_uring_cqe_seen(IOURing ring, IOURingCQE cqe)
Marks the IO completion |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static void | io_uring_free_probe(IOURingProbe probe)
Frees the |
| public static int | Returns: 0 on success,-errno on failureRuns outstanding work and flushes completion events to the CQE ring. |
| public static IOURingProbe | |
| public static IOURingProbe | io_uring_get_probe_ring(IOURing ring)
Return an allocated |
| public static IOURingSQE | Returns: a pointer to the next submission queue event on success andNULL on failureGets the next available submission queue entry from the submission queue belonging to the |
| public static native int | |
| public static native int | |
| public static native int | io_uring_mlock_size(int entries, int
io_uring_params flagsReturn required |
| public static int | io_uring_mlock_size_params(int entries, IOURingParams p)
Returns the required |
| public static int | io_uring_opcode_supported(IOURingProbe p, int op)
Allows the caller to determine if the passed in |
| public static int | Returns: the amount of IO completions filledFill in an array of IO completions up to count, if any are available. |
| public static int | Returns: 0 withcqe_ptr filled in on success, -errno on failureReturns an IO completion, if one is readily available. |
| public static void | |
| public static void | io_uring_prep_accept_direct(IOURingSQE sqe, int fd, Sockaddr addr, IntBuffer addrlen, int flags, int file_index)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | io_uring_prep_linkat(IOURingSQE sqe, int olddfd, ByteBuffer oldpath, int newdfd, ByteBuffer newpath, int flags)
|
| public static void | io_uring_prep_linkat(IOURingSQE sqe, int olddfd, CharSequence oldpath, int newdfd, CharSequence newpath, int flags)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | io_uring_prep_msg_ring_cqe_flags(IOURingSQE sqe, int fd, int len, long data, int flags, int cqe_flags)
|
| public static void | io_uring_prep_msg_ring_fd(IOURingSQE sqe, int fd, int source_fd, int target_fd, long data, int flags)
|
| public static void | |
| public static void | |
| public static void | io_uring_prep_multishot_accept_direct(IOURingSQE sqe, int fd, Sockaddr addr, IntBuffer addrlen, int flags)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | io_uring_prep_openat2_direct(IOURingSQE sqe, int dfd, ByteBuffer path, OpenHow how, int file_index)
open directly into the fixed file table |
| public static void | io_uring_prep_openat2_direct(IOURingSQE sqe, int dfd, CharSequence path, OpenHow how, int file_index)
open directly into the fixed file table |
| public static void | io_uring_prep_openat_direct(IOURingSQE sqe, int dfd, ByteBuffer path, int flags, int mode, int file_index)
|
| public static void | io_uring_prep_openat_direct(IOURingSQE sqe, int dfd, CharSequence path, int flags, int mode, int file_index)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | io_uring_prep_poll_update(IOURingSQE sqe, long old_user_data, long new_user_data, int poll_mask, int flags)
|
| public static void | |
| public static void | |
| public static void | io_uring_prep_read_fixed(IOURingSQE sqe, int fd, ByteBuffer buf, int offset, int buf_index)
Prepares an IO read request with a previously registered IO buffer. |
| public static void | io_uring_prep_readv(IOURingSQE sqe, int fd, IOVec.
Prepares a vectored IO read request. |
| public static void | io_uring_prep_readv2(IOURingSQE sqe, int fd, IOVec.
Prepares a vectored IO read request. |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | io_uring_prep_renameat(IOURingSQE sqe, int olddfd, ByteBuffer oldpath, int newdfd, ByteBuffer newpath, int flags)
|
| public static void | io_uring_prep_renameat(IOURingSQE sqe, int olddfd, CharSequence oldpath, int newdfd, CharSequence newpath, int flags)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | io_uring_prep_send_zc_fixed(IOURingSQE sqe, int sockfd, ByteBuffer buf, int flags, int zc_flags, int buf_index)
|
| public static void | |
| public static void | |
| public static void | io_uring_prep_sendto(IOURingSQE sqe, int sockfd, ByteBuffer buf, int flags, Sockaddr addr, int addrlen)
|
| public static void | io_uring_prep_setxattr(IOURingSQE sqe, ByteBuffer name, ByteBuffer value, ByteBuffer path, int flags)
|
| public static void | io_uring_prep_setxattr(IOURingSQE sqe, CharSequence name, ByteBuffer value, CharSequence path, int flags)
|
| public static void | |
| public static void | |
| public static void | io_uring_prep_socket_direct(IOURingSQE sqe, int domain, int type, int protocol, int file_index, int flags)
|
| public static void | |
| public static void | io_uring_prep_splice(IOURingSQE sqe, int fd_in, long
if off_in, int fd_out, long fd_in refers to a pipe, off_in must be (int64_t) -1; If fd_in does not refer to a pipe and off_in is
(int64_t) -1, then bytes are read from fd_in starting from the file offset and it is adjust appropriately; If fd_in does
not refer to a pipe and off_in is not (int64_t) -1, then the starting offset of fd_in will be off_in.the description of off_out, int nbytes, int off_in also applied to off_outsee man splice_flags)splice(2) for description of flagsThis splice operation can be used to implement |
| public static void | |
| public static void | io_uring_prep_statx(IOURingSQE sqe, int dfd, CharSequence path, int flags, int mask, Statx statxbuf)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | io_uring_prep_write(IOURingSQE sqe, int fd, ByteBuffer buf, int offset)
Prepares an IO write request. |
| public static void | io_uring_prep_write_fixed(IOURingSQE sqe, int fd, ByteBuffer buf, int offset, int buf_index)
Prepares an IO write request with a previously registered IO buffer. |
| public static void | io_uring_prep_writev(IOURingSQE sqe, int fd, IOVec.
Prepares a vectored IO write request. |
| public static void | io_uring_prep_writev2(IOURingSQE sqe, int fd, IOVec.
Prepares a vectored IO write request. |
| public static void | |
| public static int | Returns: 0 on success andring will point to the shared memory containing the io_uring queues. On failure -errno is returned.will be passed through to the flags)setup syscallExecutes the |
| public static int | |
| public static int | Returns: -errno on error, or zero on successa file descriptor returned by fd, IOURingParams p, IOURing setupon success, contains the necessary information to read/write to the rings ring)For users that want to specify |
| public static CMsghdr | |
| public static CMsghdr | |
| public static long | |
| public static long | |
| public static int | |
| public static IOURingRecvmsgOut | |
| public static native int | |
| public static int | Returns: 0 on success,-errno on failureRegisters a shared buffer ring to be used with provided buffers. |
| public static int | Returns: 0 on success. On failure it returns-errno.Registers |
| public static int | io_uring_register_buffers_sparse(IOURing ring, int nr_iovecs)
Registers |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | Returns: 0 on success. On failure it returns-errno.Registers |
| public static int | io_uring_register_files_sparse(IOURing ring, int nr_files)
Registers an empty file table of |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | Returns: 1 on success, indicating that one file descriptor was registered, or-errno on errorRegisters the file descriptor of the ring. |
| public static int | |
| public static int | io_uring_ring_dontfork(IOURing ring)
Ensure that the |
| public static int | |
| public static IOURingBufRing | |
| public static int | io_uring_sq_ready(IOURing ring)
Returns the number of unconsumed (if |
| public static int | io_uring_sq_space_left(IOURing ring)
Returns how much space is left in the SQ ring belonging to the |
| public static void | io_uring_sqe_set_data(IOURingSQE sqe, long data)
Stores a |
| public static void | io_uring_sqe_set_data64(IOURingSQE sqe, long data)
Assign a 64-bit value to this |
| public static void | io_uring_sqe_set_flags(IOURingSQE sqe, int flags)
Allows the caller to change the behavior of the submission queue entry by specifying flags. |
| public static int | io_uring_sqring_wait(IOURing ring)
Allows the caller to wait for space to free up in the SQ ring belonging to the |
| public static int | Returns: the number of submitted submission queue entries on success. On failure it returns-errno.Submits the next events to the submission queue belonging to the |
| public static int | Returns: the number of submitted submission queue entries on success,-errno on failureSubmits the next events to the submission queue as with |
| public static int | Returns: the number of submitted submission queue entries on success. On failure it returns-errno.Submits the next events to the submission queue belonging to the |
| public static int | Returns: the number of submitted submission queue entries on success. On failure it returns-errno.the set of signals to block. The prevailing signal mask is restored before returning. sigmask)Submits the next events to the submission queue belonging to the |
| public static int | Returns: 0 on success,-errno on failureFunction unregisters a previously registered shared buffer ring indicated by |
| public static int | Returns: 0 on success. On failure it returns-errno.Unregisters the fixed buffers previously registered to the |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | Returns: 1 on success, indicating that one file descriptor was unregistered, or-errno on errorUnregisters the file descriptor of the ring. |
| public static int | Returns: 0 on success and thecqe_ptr param is filled in. On failure it returns -errno.Returns an IO completion from the queue belonging to the |
| public static int | Returns: 0 on success and thecqe_ptr param is filled in. On failure it returns -errno.Returns |
| public static int | Returns: 0 on success and thecqe_ptr param is filled in. On failure it returns -errno.filled in on success cqe_ptr, KernelTimespec ts)Returns one IO completion from the queue belonging to the |
| public static int | Returns: 0 on success and thecqe_ptr param is filled in. On failure it returns -errno.filled in on success cqe_ptr, KernelTimespec ts, long the set of signals to block. The prevailing signal mask is restored before returning. sigmask)Returns |
| public static native int | |
| public static native void | |
| public static native void | |
| public static native int | |
| public static native boolean | |
| public static native int | |
| public static native boolean | |
| public static native int | |
| public static native long | |
| public static native long | |
| public static native void | |
| public static native int | |
| public static native int | nio_uring_enter(int fd, int to_submit, int min_complete, int flags, long sig)
Unsafe version of: |
| public static native int | nio_uring_enter2(int fd, int to_submit, int min_complete, int flags, long sig, long sz)
Unsafe version of: |
| public static native int | |
| public static native void | |
| public static native int | |
| public static native long | |
| public static native long | |
| public static native long | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | nio_uring_prep_openat2_direct(long sqe, int dfd, long path, long how, int file_index)
Unsafe version of: |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | nio_uring_prep_poll_update(long sqe, long old_user_data, long new_user_data, int poll_mask, int flags)
|
| public static native void | |
| public static native void | |
| public static native void | nio_uring_prep_read_fixed(long sqe, int fd, long buf, int nbytes, int offset, int buf_index)
Unsafe version of: |
| public static native void | nio_uring_prep_readv(long sqe, int fd, long iovecs, int nr_vecs, int offset)
Unsafe version of: |
| public static native void | nio_uring_prep_readv2(long sqe, int fd, long iovecs, int nr_vecs, int offset, int flags)
Unsafe version of: |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | nio_uring_prep_send_zc_fixed(long sqe, int sockfd, long buf, long len, int flags, int zc_flags, int buf_index)
|
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | nio_uring_prep_socket_direct(long sqe, int domain, int type, int protocol, int file_index, int flags)
|
| public static native void | |
| public static native void | nio_uring_prep_splice(long sqe, int fd_in, long off_in, int fd_out, long off_out, int nbytes, int splice_flags)
Unsafe version of: |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void | nio_uring_prep_write(long sqe, int fd, long buf, int nbytes, int offset)
Unsafe version of: |
| public static native void | nio_uring_prep_write_fixed(long sqe, int fd, long buf, int nbytes, int offset, int buf_index)
Unsafe version of: |
| public static native void | nio_uring_prep_writev(long sqe, int fd, long iovecs, int nr_vecs, int offset)
Unsafe version of: |
| public static native void | nio_uring_prep_writev2(long sqe, int fd, long iovecs, int nr_vecs, int offset, int flags)
Unsafe version of: |
| public static native void | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native long | |
| public static native long | |
| public static native long | |
| public static native long | |
| public static native int | |
| public static native long | |
| public static native int | |
| public static native int | nio_uring_register_buffers(long ring, long iovecs, int nr_iovecs)
Unsafe version of: |
| public static native int | nio_uring_register_buffers_sparse(long ring, int nr_iovecs)
Unsafe version of: |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native long | |
| public static native int | |
| public static native int | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | nio_uring_submit_and_wait_timeout(long ring, long cqe_ptr, int wait_nr, long ts, long sigmask)
Unsafe version of: |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | |
| public static native int | nio_uring_wait_cqes(long ring, long cqe_ptr, int wait_nr, long ts, long sigmask)
Unsafe version of: |