summaryrefslogtreecommitdiffstats
path: root/share/man/man9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/MUTEX_PROFILING.91
-rw-r--r--share/man/man9/VFS_SYNC.92
-rw-r--r--share/man/man9/VFS_VGET.914
-rw-r--r--share/man/man9/VOP_GETPAGES.92
-rw-r--r--share/man/man9/bus_dma.94
-rw-r--r--share/man/man9/device_find_child.96
-rw-r--r--share/man/man9/ifnet.98
-rw-r--r--share/man/man9/kthread.92
-rw-r--r--share/man/man9/ktr.92
-rw-r--r--share/man/man9/mbuf.92
-rw-r--r--share/man/man9/pci.92
-rw-r--r--share/man/man9/rman.98
-rw-r--r--share/man/man9/taskqueue.92
-rw-r--r--share/man/man9/time.94
-rw-r--r--share/man/man9/timeout.92
-rw-r--r--share/man/man9/vfs_suser.92
16 files changed, 33 insertions, 30 deletions
diff --git a/share/man/man9/MUTEX_PROFILING.9 b/share/man/man9/MUTEX_PROFILING.9
index 7f8baf2..3538bfe 100644
--- a/share/man/man9/MUTEX_PROFILING.9
+++ b/share/man/man9/MUTEX_PROFILING.9
@@ -186,5 +186,4 @@ due to extra locking that occurs when
.Dv INVARIANTS
is present; likewise, using it in combination with
.Dv WITNESS
-with
will lead to much higher lock hold times and contention in profiling output.
diff --git a/share/man/man9/VFS_SYNC.9 b/share/man/man9/VFS_SYNC.9
index 24733094..fc77f80 100644
--- a/share/man/man9/VFS_SYNC.9
+++ b/share/man/man9/VFS_SYNC.9
@@ -71,7 +71,7 @@ The
.Fn VFS_SYNC
macro calls the
.Va vfs_sync
-method of the filesystem, which normally calls
+method of the file system, which normally calls
.Xr VOP_FSYNC 9
for all the vnodes in the file system.
.Sh SEE ALSO
diff --git a/share/man/man9/VFS_VGET.9 b/share/man/man9/VFS_VGET.9
index ae545e6..02b5536 100644
--- a/share/man/man9/VFS_VGET.9
+++ b/share/man/man9/VFS_VGET.9
@@ -48,20 +48,20 @@ looks up or creates a vnode from a (mount, inode#) tupple.
Its arguments are:
.Bl -tag -width ".Fa flags"
.It Fa mp
-The mountpoint.
+The mount point.
.It Fa ino
The inode representing the file.
-This is a unique number assigned by the filesystem when vnodes are first
+This is a unique number assigned by the file system when vnodes are first
created.
.It Fa flags
Additional locking flags to pass through to
-.Xr vget 9
+.Xr vget 9 .
.It Fa vpp
Return parameter for the vnode.
.El
.Pp
This is an optional file system entry-point for file systems mainly
-intended for NFS server use, but many filesystems
+intended for NFS server use, but many file systems
use it internally in
.Xr VOP_LOOKUP 9
and similar.
@@ -69,7 +69,11 @@ and similar.
If the file system does not support this call, then it should return
.Er EOPNOTSUPP .
.Pp
-Please see sys/ufs/ffs/ffs_vfsops.c::ffs_vget() for the canonical example.
+Please see
+.Fn ffs_vget
+in
+.Pa sys/ufs/ffs/ffs_vfsops.c
+for the canonical example.
.Sh SEE ALSO
.Xr VFS 9 ,
.Xr vget 9 ,
diff --git a/share/man/man9/VOP_GETPAGES.9 b/share/man/man9/VOP_GETPAGES.9
index e019c5e..ffac609 100644
--- a/share/man/man9/VOP_GETPAGES.9
+++ b/share/man/man9/VOP_GETPAGES.9
@@ -108,7 +108,7 @@ in addition to calling
.Xr vm_page_undirty 9 .
.It Dv VM_PAGER_BAD
The page was entirely beyond the end of the backing file.
-This condition should not be possible if the vnode's filesystem
+This condition should not be possible if the vnode's file system
is correctly implemented.
.It Dv VM_PAGER_ERROR
The page could not be written because of an error on the underlying storage
diff --git a/share/man/man9/bus_dma.9 b/share/man/man9/bus_dma.9
index ea7f64a..ceab454 100644
--- a/share/man/man9/bus_dma.9
+++ b/share/man/man9/bus_dma.9
@@ -563,8 +563,8 @@ DMA tag.
.It Fn bus_dmamap_load_mbuf_sg "dmat" "map" "mbuf" "segs" "nsegs" "flags"
This is just like
.Fn bus_dmamap_load_mbuf
-except that it returns immediately without calling a callback function. It is
-provided for efficiency.
+except that it returns immediately without calling a callback function.
+It is provided for efficiency.
The scatter/gather segment array
.Va segs
is provided by the caller and filled in directly by the function.
diff --git a/share/man/man9/device_find_child.9 b/share/man/man9/device_find_child.9
index 35b6c6c..a23b2b2 100644
--- a/share/man/man9/device_find_child.9
+++ b/share/man/man9/device_find_child.9
@@ -48,11 +48,11 @@ and
.Fa unit .
If
.Fa unit
-is -1, it returns the first child of
-.Dv dev
+is \-1, it returns the first child of
+.Fa dev
with a matching
.Fa classname
-(that is, the one with the lowest unit.)
+(that is, the one with the lowest unit).
.Sh RETURN VALUES
If it exists, the child device is returned, otherwise NULL.
.Sh SEE ALSO
diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9
index c79d318..569e394 100644
--- a/share/man/man9/ifnet.9
+++ b/share/man/man9/ifnet.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 8, 2004
+.Dd June 10, 2005
.Os
.Dt IFNET 9
.Sh NAME
@@ -1004,8 +1004,8 @@ A reference count of requests for this particular membership.
.Ss Interface Manipulation Functions
.Bl -ohang -offset indent
.It Fn if_alloc
-Allocate and initialize an
-.Fa ifp .
+Allocate and initialize
+.Vt "struct ifnet" .
Initalization includes the allocation of an interface index and may
include the allocation of a
.Fa type
@@ -1040,7 +1040,7 @@ Identical to
.Fn if_free
except that the given
.Fa type
-is used to free
+is used to free
.Va if_l2com
instead of the type in
.Va if_type .
diff --git a/share/man/man9/kthread.9 b/share/man/man9/kthread.9
index 69311c6..0dd7705 100644
--- a/share/man/man9/kthread.9
+++ b/share/man/man9/kthread.9
@@ -263,8 +263,8 @@ flag was specified in the
parameter.
.El
.Sh SEE ALSO
-.Xr exit1 9 ,
.Xr rfork 2 ,
+.Xr exit1 9 ,
.Xr SYSINIT 9 ,
.Xr wakeup 9
.Sh HISTORY
diff --git a/share/man/man9/ktr.9 b/share/man/man9/ktr.9
index 498b58c..43b58ae 100644
--- a/share/man/man9/ktr.9
+++ b/share/man/man9/ktr.9
@@ -110,7 +110,7 @@ the console in addition to the event buffer.
This example demonstrates the use of tracepoints at the
.Dv KTR_PROC
logging level.
-.Bd -literal -compact
+.Bd -literal
void
mi_switch()
{
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index e606232..b13d8b7 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -627,7 +627,7 @@ bytes into the mbuf.
The
.Fa dstoff
argument aligns the data and leaves room for a link layer header.
-Return the new
+Returns the new
.Vt mbuf chain
on success,
and frees the
diff --git a/share/man/man9/pci.9 b/share/man/man9/pci.9
index bb1dadb..0c171d8 100644
--- a/share/man/man9/pci.9
+++ b/share/man/man9/pci.9
@@ -244,7 +244,7 @@ space on the target architecture.
This man page was written by
.An Bruce M Simpson Aq bms@FreeBSD.org .
.Sh BUGS
-The kernel PCI code has a number of references to
+The kernel PCI code has a number of references to
.Dq "slot numbers" .
These do not refer to the geographic location of PCI devices,
but to the device number assigned by the combination of the PCI IDSEL
diff --git a/share/man/man9/rman.9 b/share/man/man9/rman.9
index a892415..079c853 100644
--- a/share/man/man9/rman.9
+++ b/share/man/man9/rman.9
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 12, 2003
+.Dd March 15, 2005
.Dt RMAN 9
.Os
.Sh NAME
@@ -187,15 +187,15 @@ and
.Fa end
of an acceptable range, as well as
alignment, and the code will attempt to find a free segment which fits.
-The
+The
.Fa start
argument is the lowest acceptable starting value of the resource.
The
.Fa end
argument is the highest acceptable ending value of the resource.
Therefore,
-.Fa start + count - 1
-must be <=
+.Fa start No + Fa count No \- 1
+must be \[<=]
.Fa end
for any allocation to happen.
The default behavior is to allocate an exclusive segment, unless the
diff --git a/share/man/man9/taskqueue.9 b/share/man/man9/taskqueue.9
index 06be3a3..a985457 100644
--- a/share/man/man9/taskqueue.9
+++ b/share/man/man9/taskqueue.9
@@ -161,7 +161,7 @@ and the value of
.Va ta_pending
as its second argument.
.Pp
-The
+The
.Fn taskqueue_drain
function is used to wait for the task to finish.
There is no guarantee that the task will not be
diff --git a/share/man/man9/time.9 b/share/man/man9/time.9
index 091f72e..90271fe 100644
--- a/share/man/man9/time.9
+++ b/share/man/man9/time.9
@@ -88,14 +88,14 @@ variable may be read and written without special precautions.
.Xr clock_settime 2 ,
.Xr ntp_adjtime 2 ,
.Xr settimeofday 2 ,
+.Xr bintime 9 ,
+.Xr binuptime 9 ,
.Xr getbintime 9 ,
.Xr getbinuptime 9 ,
.Xr getmicrotime 9 ,
.Xr getmicrouptime 9 ,
.Xr getnanotime 9 ,
.Xr getnanouptime 9 ,
-.Xr bintime 9 ,
-.Xr binuptime 9 ,
.Xr microtime 9 ,
.Xr microuptime 9 ,
.Xr nanotime 9 ,
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9
index fa4c5b9..1589aed 100644
--- a/share/man/man9/timeout.9
+++ b/share/man/man9/timeout.9
@@ -218,7 +218,7 @@ function returns.
The following
.Fa flags
may be specified:
-.Bl -tag -width CALLOUT_RETURNUNLOCKED
+.Bl -tag -width ".Dv CALLOUT_RETURNUNLOCKED"
.It Dv CALLOUT_RETURNUNLOCKED
The callout function will release
.Fa mtx
diff --git a/share/man/man9/vfs_suser.9 b/share/man/man9/vfs_suser.9
index 17a61d6..749557a 100644
--- a/share/man/man9/vfs_suser.9
+++ b/share/man/man9/vfs_suser.9
@@ -41,7 +41,7 @@
The
.Fn vfs_suser
function checks if the credentials given include superuser powers
-for the given mountpoint.
+for the given mount point.
It will check to see if the thread
passed in has the same credentials as the user that mounted the
file system.
OpenPOWER on IntegriCloud