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>
This commit is contained in:
@@ -135,7 +135,23 @@ returns 0. On error, -1 is returned, and
|
|||||||
is set accordingly.
|
is set accordingly.
|
||||||
|
|
||||||
.SH ERRORS
|
.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
|
.B EINVAL
|
||||||
.BR IORING_REGISTER_BUFFERS
|
.BR IORING_REGISTER_BUFFERS
|
||||||
or
|
or
|
||||||
@@ -143,14 +159,14 @@ or
|
|||||||
was specified, but
|
was specified, but
|
||||||
.I nr_args
|
.I nr_args
|
||||||
is 0.
|
is 0.
|
||||||
|
.TP
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
.BR IORING_REGISTER_BUFFERS
|
.BR IORING_REGISTER_BUFFERS
|
||||||
was specified, but
|
was specified, but
|
||||||
.I nr_args
|
.I nr_args
|
||||||
exceeds
|
exceeds
|
||||||
.BR UIO_MAXIOV
|
.BR UIO_MAXIOV
|
||||||
|
.TP
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
.BR IORING_UNREGISTER_BUFFERS
|
.BR IORING_UNREGISTER_BUFFERS
|
||||||
or
|
or
|
||||||
@@ -160,19 +176,7 @@ was specified, and
|
|||||||
is non-zero or
|
is non-zero or
|
||||||
.I arg
|
.I arg
|
||||||
is non-NULL.
|
is non-NULL.
|
||||||
|
.TP
|
||||||
.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.
|
|
||||||
|
|
||||||
.B ENOMEM
|
.B ENOMEM
|
||||||
Insufficient kernel resources are available, or the caller had a
|
Insufficient kernel resources are available, or the caller had a
|
||||||
non-zero
|
non-zero
|
||||||
@@ -182,16 +186,12 @@ permitted. This limit is not enforced if the process is privileged
|
|||||||
(
|
(
|
||||||
.BR CAP_IPC_LOCK
|
.BR CAP_IPC_LOCK
|
||||||
).
|
).
|
||||||
|
.TP
|
||||||
.B EBADF
|
.B ENXIO
|
||||||
One or more fds in the
|
.BR IORING_UNREGISTER_BUFFERS
|
||||||
.I fd
|
or
|
||||||
array are invalid.
|
.BR IORING_UNREGISTER_FILES
|
||||||
|
was specified, but there were no buffers or files registered.
|
||||||
.B EFAULT
|
.TP
|
||||||
buffer is outside of the process' accessible address space, or
|
|
||||||
.I iov_len
|
|
||||||
is greater than 1GiB.
|
|
||||||
|
|
||||||
.B EOPNOTSUPP
|
.B EOPNOTSUPP
|
||||||
User buffers point to file-backed memory.
|
User buffers point to file-backed memory.
|
||||||
|
|||||||
Reference in New Issue
Block a user