io_uring.h: update with 5.11-pending copy
@@ -235,6 +235,7 @@ struct io_cqring_offsets {
#define IORING_ENTER_GETEVENTS (1U << 0)
#define IORING_ENTER_SQ_WAKEUP (1U << 1)
#define IORING_ENTER_SQ_WAIT (1U << 2)
+#define IORING_ENTER_GETEVENTS_TIMEOUT (1U << 3)
/*
* Passed in for io_uring_setup(2). Copied back with updated info on success
@@ -263,6 +264,7 @@ struct io_uring_params {
#define IORING_FEAT_FAST_POLL (1U << 5)
#define IORING_FEAT_POLL_32BITS (1U << 6)
#define IORING_FEAT_SQPOLL_NONFIXED (1U << 7)
+#define IORING_FEAT_GETEVENTS_TIMEOUT (1U << 8)
/*
* io_uring_register(2) opcodes and arguments
@@ -339,6 +341,12 @@ enum {
IORING_RESTRICTION_LAST
};
+struct io_uring_getevents_arg {
+ __u64 sigmask;
+ __u32 sigmask_sz;
+ __u32 pad;
+ __u64 ts;
+};
#ifdef __cplusplus
}
