aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/io_uring_arm.const
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-04-12 16:19:23 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-04-12 16:19:23 +0200
commit4f421599f9bdb6f82820cbfb80b0bbcb6b9977c9 (patch)
treea84a62d01da5b3e1c9f01fc9f59e74e03e6689dd /sys/linux/io_uring_arm.const
parent132d7060e699e383d4b52734785420765131a2a4 (diff)
sys/linux: add simple io_uring descriptions
We don't actually communicate with the uring yet, but this already finds a bunch of bugs.
Diffstat (limited to 'sys/linux/io_uring_arm.const')
-rw-r--r--sys/linux/io_uring_arm.const18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/linux/io_uring_arm.const b/sys/linux/io_uring_arm.const
new file mode 100644
index 000000000..d6d14227d
--- /dev/null
+++ b/sys/linux/io_uring_arm.const
@@ -0,0 +1,18 @@
+# AUTOGENERATED FILE
+IORING_ENTER_GETEVENTS = 1
+IORING_ENTER_SQ_WAKEUP = 2
+IORING_OFF_CQ_RING = 134217728
+IORING_OFF_SQES = 268435456
+IORING_OFF_SQ_RING = 0
+IORING_REGISTER_BUFFERS = 0
+IORING_REGISTER_FILES = 2
+IORING_SETUP_IOPOLL = 1
+IORING_SETUP_SQPOLL = 2
+IORING_SETUP_SQ_AFF = 4
+IORING_UNREGISTER_BUFFERS = 1
+IORING_UNREGISTER_FILES = 3
+# __NR_io_uring_enter is not set
+# __NR_io_uring_register is not set
+# __NR_io_uring_setup is not set
+__NR_mmap = 192
+__NR_mmap2 = 192