Expand description
Low-level Linux io_uring bindings.
Structs§
- __
kernel_ timespec - Kernel timespec structure.
- io_
cqring_ offsets - Offsets for the completion queue ring members.
- io_
sqring_ offsets - Offsets for the submission queue ring members.
- io_
uring_ cqe - A Completion Queue Entry.
- io_
uring_ params - Parameters for
io_uring_setup. - io_
uring_ sqe - A Submission Queue Entry.
Constants§
- IORING_
ACCEPT_ MULTISHOT - Accept flag: enable multishot mode.
- IORING_
ENTER_ GETEVENTS - Enter flag: wait for events.
- IORING_
OFF_ CQ_ RING - Offset for mapping the completion queue ring.
- IORING_
OFF_ SQES - Offset for mapping the submission queue entries.
- IORING_
OFF_ SQ_ RING - Offset for mapping the submission queue ring.
- IORING_
OP_ ACCEPT - Opcode: accept a new connection.
- IORING_
OP_ ASYNC_ CANCEL - Opcode: cancel an asynchronous operation.
- IORING_
OP_ CLOSE - Opcode: close a file descriptor.
- IORING_
OP_ CONNECT - Opcode: connect to a remote address.
- IORING_
OP_ OPENAT - Opcode: open a file relative to a directory.
- IORING_
OP_ READ - Opcode: standard read.
- IORING_
OP_ READV - Opcode: vectored read.
- IORING_
OP_ READ_ FIXED - Opcode: read from a fixed buffer.
- IORING_
OP_ SPLICE - Opcode: splice two file descriptors.
- IORING_
OP_ TIMEOUT - Opcode: register a timeout.
- IORING_
OP_ WRITE - Opcode: standard write.
- IORING_
OP_ WRITEV - Opcode: vectored write.
- IORING_
OP_ WRITE_ FIXED - Opcode: write to a fixed buffer.
- IORING_
REGISTER_ BUFFERS - Register opcode: register a set of buffers.
- IORING_
SETUP_ CQSIZE - Setup flag: specify a custom CQ size.
- IORING_
SETUP_ SQPOLL - Setup flag: use a kernel thread to poll for SQEs.
- IORING_
UNREGISTER_ BUFFERS - Register opcode: unregister previously registered buffers.
- IOSQE_
ASYNC - SQE flag: start operation asynchronously.
- IOSQE_
BUFFER_ SELECT - SQE flag: use a buffer from the provided pool.
- IOSQE_
FIXED_ FILE - SQE flag: use a fixed file descriptor.
- IOSQE_
IO_ DRAIN - SQE flag: drain all previous requests before starting.
- IOSQE_
IO_ HARDLINK - SQE flag: hard-link this operation with the next one.
- IOSQE_
IO_ LINK - SQE flag: link this operation with the next one.
- SYS_
IO_ URING_ ENTER - Syscall number for
io_uring_enter. - SYS_
IO_ URING_ REGISTER - Syscall number for
io_uring_register. - SYS_
IO_ URING_ SETUP - Syscall number for
io_uring_setup.
Functions§
- io_
uring_ ⚠enter - Low-level wrapper for
io_uring_entersyscall. - io_
uring_ ⚠setup - Low-level wrapper for
io_uring_setupsyscall.