diff options
author | Jeff Moyer <jmoyer@redhat.com> | 2019-01-25 17:38:49 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-01-26 06:40:44 -0700 |
commit | 4a700b7e35b47918db17cbe11da9f76e42d90a59 (patch) | |
tree | 27ae69cf173dedeb85d589e89c6c3f5ca722cd29 | |
parent | bceccde79a3d7d701a6b1aacfc8796b3fc4c6e33 (diff) |
man: alphabetize the error section for io_uring_register
This also includes a couple of whitespace cleanups. Most man pages
don't leave spaces between directives.
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | man/io_uring_register.2 | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/man/io_uring_register.2 b/man/io_uring_register.2 index 168d600..d7d6f9a 100644 --- a/man/io_uring_register.2 +++ b/man/io_uring_register.2 @@ -135,7 +135,23 @@ returns 0. On error, -1 is returned, and is set accordingly. .SH ERRORS - +.TP +.B EBADF +One or more fds in the +.I fd +array are invalid. +.TP +.B EBUSY +.BR IORING_REGISTER_BUFFERS +or +.BR IORING_REGISTER_FILES +was specified, but there were already buffers or files registered. +.TP +.B EFAULT +buffer is outside of the process' accessible address space, or +.I iov_len +is greater than 1GiB. +.TP .B EINVAL .BR IORING_REGISTER_BUFFERS or @@ -143,14 +159,14 @@ or was specified, but .I nr_args is 0. - +.TP .B EINVAL .BR IORING_REGISTER_BUFFERS was specified, but .I nr_args exceeds .BR UIO_MAXIOV - +.TP .B EINVAL .BR IORING_UNREGISTER_BUFFERS or @@ -160,19 +176,7 @@ was specified, and is non-zero or .I arg is non-NULL. - -.B ENXIO -.BR IORING_UNREGISTER_BUFFERS -or -.BR IORING_UNREGISTER_FILES -was specified, but there were no buffers or files registered. - -.B EBUSY -.BR IORING_REGISTER_BUFFERS -or -.BR IORING_REGISTER_FILES -was specified, but there were already buffers or files registered. - +.TP .B ENOMEM Insufficient kernel resources are available, or the caller had a non-zero @@ -182,16 +186,12 @@ permitted. This limit is not enforced if the process is privileged ( .BR CAP_IPC_LOCK ). - -.B EBADF -One or more fds in the -.I fd -array are invalid. - -.B EFAULT -buffer is outside of the process' accessible address space, or -.I iov_len -is greater than 1GiB. - +.TP +.B ENXIO +.BR IORING_UNREGISTER_BUFFERS +or +.BR IORING_UNREGISTER_FILES +was specified, but there were no buffers or files registered. +.TP .B EOPNOTSUPP User buffers point to file-backed memory. |