diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-04-12 16:19:23 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-04-12 16:19:23 +0200 |
| commit | 4f421599f9bdb6f82820cbfb80b0bbcb6b9977c9 (patch) | |
| tree | a84a62d01da5b3e1c9f01fc9f59e74e03e6689dd /sys/linux/io_uring_arm.const | |
| parent | 132d7060e699e383d4b52734785420765131a2a4 (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.const | 18 |
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 |
