mdoc(7) police: markup, grammar, and spelling nits.

This commit is contained in:
Ruslan Ermilov 2001-08-08 10:04:08 +00:00
parent 29760d1162
commit 6a624f56cb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81278
8 changed files with 48 additions and 49 deletions

View File

@ -1,6 +1,6 @@
.\" Copyright (c) 2001 Chris Costello <chris@FreeBSD.org>
.\" All rights reserved.
.\"
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@ -9,7 +9,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\"
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@ -21,9 +21,9 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"
.\" $FreeBSD$
.\"
.\"
.Dd July 26, 2001
.Dt VFS_UNMOUNTALL 9
.Os
@ -31,7 +31,7 @@
.Nm vfs_unmountall
.Nd unmount all file systems
.Sh SYNOPSIS
.Fd #include <sys/mount.h>
.In sys/mount.h
.Ft void
.Fn vfs_unmountall "void"
.Sh DESCRIPTION

View File

@ -44,8 +44,8 @@ The
function moves the given page to the inactive queue as long as it is
unmanaged and is not wired.
.Sh SEE ALSO
.Xr vm_page_unmanage 9 ,
.Xr vm_page_wire 9
.Xr vm_page_unmanage 9
.Sh AUTHORS
This manual page was written by
.An Chad David Aq davidc@acns.ab.ca .

View File

@ -30,10 +30,8 @@
.Dt VM_PAGE_FLAG 9
.Os
.Sh NAME
.Nm vm_page_flag ,
.Nm vm_page_clear ,
.Nm vm_page_flag_set
.Nd "changes page flags"
.Nm vm_page_flag_clear , vm_page_flag_set
.Nd "change page flags"
.Sh SYNOPSIS
.In sys/param.h
.In vm/vm.h
@ -44,7 +42,7 @@
.Fn vm_page_flag_set "vm_page_t m" "unsigned short bits"
.Sh DESCRIPTION
The
.Fn vm_page_flag_clear
.Fn vm_page_flag_clear
atomically clears the specified bits on the page's flags.
.Pp
The
@ -53,9 +51,9 @@ atomically sets the specified bits on the page's flags.
.Pp
The functions arguments are:
.Bl -tag -width ".Fa bits"
.It m
.It Fa m
The page whose flags are updated.
.It bits
.It Fa bits
The bits that are set or cleared on the page's flags.
.El
.Sh AUTHORS

View File

@ -30,9 +30,9 @@
.Dt VM_PAGE_FREE 9
.Os
.Sh NAME
.Nm vm_page_free
.Nm vm_page_free_toq
.Nm vm_page_free_zero
.Nm vm_page_free ,
.Nm vm_page_free_toq ,
.Nm vm_page_free_zero ,
.Nm vm_page_try_to_free
.Nd "free a page"
.Sh SYNOPSIS
@ -53,15 +53,15 @@ The
function moves a page into the free queue, and disassociates it from
its object.
If the page is held, wired, already free, or its busy count is not
zero the system will panic.
zero, the system will panic.
If the
.Dv PG_ZERO
flag is set on the page is it placed at the end of the free queue;
flag is set on the page, it is placed at the end of the free queue;
otherwise, it is placed at the front.
.Pp
If the page's object is of type
.Dv OBJT_VNODE
and it is the last page associated with the object the underlying
and it is the last page associated with the object, the underlying
vnode may be freed.
.Pp
The
@ -70,8 +70,8 @@ and
.Fn vm_page_free_zero
functions both call
.Fn vm_page_free_toq
to actually free page, but
.Fn vm_page_free_zero
to actually free the page, but
.Fn vm_page_free_zero
sets the
.Dv PG_ZERO
flag and
@ -84,7 +84,7 @@ flag prior to the call to
The
.Fn vm_page_try_to_free
function verifies that the page is not held, wired, busy or dirty, and
if so marks the page as busy, drops any protection that may be set on
if so, marks the page as busy, drops any protection that may be set on
the page, and frees it.
.Sh RETURN VALUES
.Fn vm_page_try_to_free

View File

@ -32,7 +32,7 @@
.Sh NAME
.Nm vm_page_hold ,
.Nm vm_page_unhold
.Nd "updates a pages hold count"
.Nd "update a page's hold count"
.Sh SYNOPSIS
.In sys/param.h
.In vm/vm.h
@ -65,11 +65,11 @@ should be used.
.Pp
.Fn vm_page_unhold
function reduces the hold count on a page.
If the hold count is zero it is possible the page will be freed by the
If the hold count is zero it is possible that the page will be freed by the
page daemon.
.Sh SEE ALSO
.Xr vm_page_unwire 9 ,
.Xr vm_page_wire 9
.Xr wm_page_unwire 9
.Sh AUTHORS
This manual page was written by
.An Chad David Aq davidc@acns.ab.ca .

View File

@ -32,7 +32,7 @@
.Sh NAME
.Nm vm_page_insert ,
.Nm vm_page_remove
.Nd "add and remove pages from an object"
.Nd "add/remove page from an object"
.Sh SYNOPSIS
.In sys/param.h
.In vm/vm.h
@ -49,12 +49,12 @@ The page is added to both the VM page hash table and to the
object's list of pages, but the hardware page tables are not updated.
In the case of a user page, it will be faulted in when it is
accessed.
If the page is a kernel page the caller is expected to
handle adding the page to the kernels pmap.
If the page is a kernel page, the caller is expected to
handle adding the page to the kernel's pmap.
.Pp
If
.Dv PG_WRITEABLE
is set in the page's flags
is set in the page's flags,
.Dv OBJ_WRITEABLE
and
.Dv OBJ_MIGHTBEDIRTY
@ -62,20 +62,20 @@ are set in the object's flags.
.Pp
The
.Fn vm_page_remove
function removes the given page from it's object, and from the
function removes the given page from its object, and from the
VM page hash table.
The page must be busy prior to this call or the system will panic.
The page must be busy prior to this call, or the system will panic.
The pmap entry for the page is not removed by this function.
.Pp
The arguments to
The arguments to
.Fn vm_page_insert
are:
.Bl -tag -width ".Fa object
.It m
.Bl -tag -width ".Fa object"
.It Fa m
The page to add to the object.
.It object
.It Fa object
The object the page should be added to.
.It pindex
.It Fa pindex
The index into the object the page should be at.
.El
.Pp
@ -83,7 +83,7 @@ The arguments to
.Fn vm_page_remove
are:
.Bl -tag -width ".Fa m"
.It m
.It Fa m
The page to remove.
.El
.Sh IMPLEMENTATION NOTES

View File

@ -44,18 +44,18 @@ The
function lowers a page's protection.
The protection is never raised by this function; therefore, if the page is
already at
.Dv VM_PROT_NONE
the functions does nothing.
.Dv VM_PROT_NONE ,
the function does nothing.
.Pp
Its arguments are:
.Bl -tag -width ".Fa prot"
.It mem
.It Fa mem
The page whose protection is lowered.
.It prot
.It Fa prot
The protection the page should be reduced to.
If
.Dv VM_PROT_NONE
is specified then the
is specified, then the
.Dv PG_WRITABLE
and
.Dv PG_MAPPED
@ -63,11 +63,12 @@ flags are cleared and the pmap_page's protection is set to
.Dv VM_PROT_NONE .
If
.Dv VM_PROT_READ
is specified then the
is specified, then the
.Dv PG_WRITABLE
flag is cleared and the pmap_page's protection is set to
.Dv VM_PROT_READ .
.El
.Pp
Higher protection requests are ignored.
.Sh AUTHORS
This man page was written by

View File

@ -31,7 +31,7 @@
.Os
.Sh NAME
.Nm vm_page_rename
.Nd "moves a page"
.Nd "move a page"
.Sh SYNOPSIS
.In sys/param.h
.In vm/vm.h
@ -54,16 +54,16 @@ unless it is wired or unmanaged, in which case the deactivation will
fail.
The entire page is marked as dirty after the move.
.Pp
The arguments to
The arguments to
.Fn vm_page_rename
are:
.Bl -tag -width ".Fa new_object"
.It m
.It Fa m
The page to move.
.It new_object
.It Fa new_object
The object the page should be inserted into.
.It new_pindex
The page index into
.It Fa new_pindex
The page index into
.Fa new_object
at which the new page should be inserted.
.El