diff options
author | Alex Nash <nash@vailsys.com> | 2020-07-06 12:26:44 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-06 11:27:51 -0600 |
commit | cd947148112b7bd71f1478d1c1b6c75eeaa16f6e (patch) | |
tree | 23549ef12b35e4ee4b3fa744a4cb88723983b50c | |
parent | 6893adb01f160fbb97ff16ac715439ed0d42dac2 (diff) | |
download | liburing-cd947148112b7bd71f1478d1c1b6c75eeaa16f6e.tar.gz liburing-cd947148112b7bd71f1478d1c1b6c75eeaa16f6e.tar.bz2 |
man/io_uring_enter.2: updated io_uring_sqe and fixed incorrect flag references.
Signed-off-by: Alex Nash <nash@vailsys.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | man/io_uring_enter.2 | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2 index 8bfcd01..b4f5f5a 100644 --- a/man/io_uring_enter.2 +++ b/man/io_uring_enter.2 @@ -120,7 +120,10 @@ struct io_uring_sqe { __u64 off; /* offset into file */ __u64 addr2; }; - __u64 addr; /* pointer to buffer or iovecs */ + union { + __u64 addr; /* pointer to buffer or iovecs */ + __u64 splice_off_in; + } __u32 len; /* buffer size or number of iovecs */ union { __kernel_rwf_t rw_flags; @@ -132,14 +135,24 @@ struct io_uring_sqe { __u32 timeout_flags; __u32 accept_flags; __u32 cancel_flags; + __u32 open_flags; + __u32 statx_flags; + __u32 fadvise_advice; + __u32 splice_flags; }; __u64 user_data; /* data to be passed back at completion time */ union { struct { /* index into fixed buffers, if used */ - __u16 buf_index; + union { + /* index into fixed buffers, if used */ + __u16 buf_index; + /* for grouped buffer selection */ + __u16 buf_group; + } /* personality to use, if used */ __u16 personality; + __s32 splice_fd_in; }; __u64 __pad2[3]; }; @@ -233,7 +246,7 @@ field is the file descriptor to sync, the field holds the offset in bytes, the .I len field holds the length in bytes, and the -.I flags +.I sync_range_flags field holds the flags for the command. See also .BR sync_file_range (2) for the general description of the related system call. Available since 5.2. @@ -247,7 +260,7 @@ system call. must be set to the socket file descriptor, .I addr must contain a pointer to the msghdr structure, and -.I flags +.I msg_flags holds the flags associated with the system call. See also .BR sendmsg (2) for the general description of the related system call. Available since 5.3. @@ -269,7 +282,7 @@ must be set to the socket file descriptor, must contain a pointer to the buffer, .I len denotes the length of the buffer to send, and -.I flags +.I msg_flags holds the flags associated with the system call. See also .BR send(2) for the general description of the related system call. Available since 5.6. |