man: io_uring_register: use a .TP list for flags
This seems to be the canonical way to do things. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
@@ -35,8 +35,8 @@ is the file descriptor returned by a call to
|
|||||||
.I opcode
|
.I opcode
|
||||||
can be one of:
|
can be one of:
|
||||||
|
|
||||||
|
.TP
|
||||||
.BR IORING_REGISTER_BUFFERS
|
.BR IORING_REGISTER_BUFFERS
|
||||||
|
|
||||||
.I arg
|
.I arg
|
||||||
points to a
|
points to a
|
||||||
.I struct iovec
|
.I struct iovec
|
||||||
@@ -88,16 +88,15 @@ with the new buffers.
|
|||||||
|
|
||||||
An application need not unregister buffers explicitly before shutting
|
An application need not unregister buffers explicitly before shutting
|
||||||
down the io_uring instance.
|
down the io_uring instance.
|
||||||
|
.TP
|
||||||
.BR IORING_UNREGISTER_BUFFERS
|
.BR IORING_UNREGISTER_BUFFERS
|
||||||
|
|
||||||
This operation takes no argument, and
|
This operation takes no argument, and
|
||||||
.I arg
|
.I arg
|
||||||
must be passed as NULL. All previously registered buffers associated
|
must be passed as NULL. All previously registered buffers associated
|
||||||
with the io_uring instance will be released.
|
with the io_uring instance will be released.
|
||||||
|
|
||||||
|
.TP
|
||||||
.BR IORING_REGISTER_FILES
|
.BR IORING_REGISTER_FILES
|
||||||
|
|
||||||
Register files for I/O.
|
Register files for I/O.
|
||||||
.I arg
|
.I arg
|
||||||
contains a pointer to an array of
|
contains a pointer to an array of
|
||||||
@@ -118,9 +117,8 @@ is set to the index of the buffer in the array supplied to
|
|||||||
Files are automatically unregistered when the io_uring instance is
|
Files are automatically unregistered when the io_uring instance is
|
||||||
torn down. An application need only unregister if it wishes to
|
torn down. An application need only unregister if it wishes to
|
||||||
register a few set of fds.
|
register a few set of fds.
|
||||||
|
.TP
|
||||||
.BR IORING_UNREGISTER_FILES
|
.BR IORING_UNREGISTER_FILES
|
||||||
|
|
||||||
This operation requires no argument, and
|
This operation requires no argument, and
|
||||||
.I arg
|
.I arg
|
||||||
must be passed as NULL. All previously registered files associated
|
must be passed as NULL. All previously registered files associated
|
||||||
|
|||||||
Reference in New Issue
Block a user