+/*
+ * io_uring_register(2) opcodes and arguments
+ */
+#define IORING_REGISTER_BUFFERS 0
+#define IORING_UNREGISTER_BUFFERS 1
+#define IORING_REGISTER_FILES 2
+#define IORING_UNREGISTER_FILES 3
+
+struct io_uring_register_buffers {
+ struct iovec *iovecs;
+ __u32 nr_iovecs;
+};
+
+struct io_uring_register_files {
+ __s32 *fds;
+ __u32 nr_fds;
+};
+