aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/io_uring.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-10-15 14:13:41 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-10-15 14:13:41 +0200
commitd4ea592f78feb8f04941a301b93e09880c3546a3 (patch)
tree2ed5c4ce87e6d76a95c690f4c00236a4d82bd16b /sys/linux/io_uring.txt
parent2b7a4c5e693cbc6768ce5d72f41a6a52845e81f0 (diff)
sys/linux: add some new flags
Add a few new assorted things, some flags, etc.
Diffstat (limited to 'sys/linux/io_uring.txt')
-rw-r--r--sys/linux/io_uring.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/linux/io_uring.txt b/sys/linux/io_uring.txt
index f09ca4ee5..232cbee21 100644
--- a/sys/linux/io_uring.txt
+++ b/sys/linux/io_uring.txt
@@ -18,12 +18,13 @@ io_uring_register$IORING_REGISTER_FILES(fd fd_io_uring, opcode const[IORING_REGI
io_uring_register$IORING_UNREGISTER_FILES(fd fd_io_uring, opcode const[IORING_UNREGISTER_FILES], arg const[0], nr_args const[0])
io_uring_register$IORING_REGISTER_EVENTFD(fd fd_io_uring, opcode const[IORING_REGISTER_EVENTFD], arg ptr[in, fd_event], nr_args const[1])
io_uring_register$IORING_UNREGISTER_EVENTFD(fd fd_io_uring, opcode const[IORING_UNREGISTER_EVENTFD], arg const[0], nr_args const[0])
+io_uring_register$IORING_REGISTER_FILES_UPDATE(fd fd_io_uring, opcode const[IORING_REGISTER_FILES_UPDATE], arg ptr[in, io_uring_files_update], nr_args len[arg:fds])
mmap$IORING_OFF_SQ_RING(addr vma, len len[addr], prot flags[mmap_prot], flags flags[mmap_flags], fd fd_io_uring, offset const[IORING_OFF_SQ_RING])
mmap$IORING_OFF_CQ_RING(addr vma, len len[addr], prot flags[mmap_prot], flags flags[mmap_flags], fd fd_io_uring, offset const[IORING_OFF_CQ_RING])
mmap$IORING_OFF_SQES(addr vma, len len[addr], prot flags[mmap_prot], flags flags[mmap_flags], fd fd_io_uring, offset const[IORING_OFF_SQES])
-io_uring_setup_flags = IORING_SETUP_IOPOLL, IORING_SETUP_SQPOLL, IORING_SETUP_SQ_AFF
+io_uring_setup_flags = IORING_SETUP_IOPOLL, IORING_SETUP_SQPOLL, IORING_SETUP_SQ_AFF, IORING_SETUP_CQSIZE
io_uring_enter_flags = IORING_ENTER_GETEVENTS, IORING_ENTER_SQ_WAKEUP
_ = __NR_mmap2
@@ -49,3 +50,8 @@ io_sqring_offsets {
resv1 const[0, int32]
resv2 const[0, int64]
}
+
+io_uring_files_update {
+ offset int32
+ fds ptr[in, array[fd]]
+}