Spelling fixes.

This commit is contained in:
Mike Pritchard 2004-06-21 14:11:45 +00:00
parent 871684b822
commit 2988974b58
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130843
14 changed files with 21 additions and 21 deletions

View File

@ -66,7 +66,7 @@ the location of the data to be read
if not
.Dv NULL ,
on return it will contain the number of bytes required to read the list.
The resulting data will be a ASCII nul-separted list of strings.
The resulting data will be a ASCII nul-separated list of strings.
In most cases
.Fa uio
will be

View File

@ -53,7 +53,7 @@ hardware represented by
.Fa dev
is still physically accessible at this time.
While the notion of accessible varies from bus to bus, generally
hardware that is not acceessible cannot be accessed via the
hardware that is not accessible cannot be accessed via the
.Fn bus_space*
methods that would otherwise be used to access the device.
.Pp

View File

@ -290,7 +290,7 @@ Operations to be performed by the client-specified
.Fn lockfunc .
.Bl -tag -width BUS_DMA_UNLOCK
.It Dv BUS_DMA_LOCK
Aquires and/or locks the client locking primitive.
Acquires and/or locks the client locking primitive.
.It Dv BUS_DMA_UNLOCK
Releases and/or unlocks the client locking primitive.
.El

View File

@ -96,7 +96,7 @@ or
to unblock all waiters.
In addition to waking waiters,
.Fn cv_broadcastpri
ensures that all of the waiters have a priorty of at least
ensures that all of the waiters have a priority of at least
.Fa pri
by raising the priority of any threads that do not.
.Fn cv_wmesg

View File

@ -48,7 +48,7 @@ The visibility of objects is influenced by the
tunable
.Va security.bsd.see_other_gids .
If this tunable is non-zero, then all objects in the kernel
are visible to each othe irrespective of their group membership.
are visible to each other irrespective of their group membership.
If this tunable is zero, then the object with credentials
.Fa u2
is visible to the object with credentials
@ -67,7 +67,7 @@ must be non-zero if objects with unprivileged credentials are to be
able to see each other.
.El
.Sh RETURN VALUES
Ths function returns zero if the object with credential
This function returns zero if the object with credential
.Fa u1
can
.Dq see

View File

@ -67,7 +67,7 @@ must be non-zero if objects with unprivileged credentials are to be
able to see each other.
.El
.Sh RETURN VALUES
Ths function returns zero if the object with credential
This function returns zero if the object with credential
.Fa u1
can
.Dq see

View File

@ -122,7 +122,7 @@ If no method is provided, open will always succeed.
.It Vt "disk_close_t *" Va d_close
Optional: invoked when the disk device is closed.
Although an error code may be returned, the call should always terminate
any state setup by the corresponing open method call.
any state setup by the corresponding open method call.
.It Vt "disk_strategy_t *" Va d_strategy
Mandatory: invoked when a new
.Vt "struct bio"

View File

@ -86,9 +86,9 @@ field).
.It Dv BIO_DONE
Request finished.
.It Dv BIO_FLAG1
Avaliable for private use.
Available for private use.
.It Dv BIO_FLAG2
Avaliable for private use.
Available for private use.
.El
.It Va bio_error
Error value when BIO_ERROR is set.

View File

@ -82,7 +82,7 @@ The
.Fn g_read_data
function returns a pointer to a data buffer or
.Dv NULL
if an error occured.
if an error occurred.
In that case an error value is stored in the
.Fa error
argument unless it is

View File

@ -289,7 +289,7 @@ or
when holding a
.Xr vnode 9
interlock, will cause a LOR (Lock Order Reversal) due to the
interwining of VM Objects and Vnodes.
intertwining of VM Objects and Vnodes.
.Sh SEE ALSO
.Xr vmstat 8 ,
.Xr contigmalloc 9 ,

View File

@ -62,7 +62,7 @@
.Pp
.Cd options LIBMBPOOL
.Sh DESCRIPTION
Mbuf pools are intented to help drivers for interface cards that need huge
Mbuf pools are intended to help drivers for interface cards that need huge
amounts of receive buffers and additionally provides a mapping between these
buffers and 32-bit handles.
.Pp
@ -127,7 +127,7 @@ is 2^14-1 (16383) and the maximum of
.Fa page_size /
.Fa chunk_size
is 2^9 (512).
If the call is sucessful a pointer to a newly allocated
If the call is successful a pointer to a newly allocated
.Vt "struct mbpool"
is set into the variable pointed to by
.Fa mpb .
@ -177,7 +177,7 @@ The function
as the free function. The user argument must be the pointer to
the pool.
.Pp
Before useing the contents of a buffer returned by the card the driver
Before using the contents of a buffer returned by the card the driver
must call
.Fn mbp_sync
with the appropriate parameters. This results in a call to

View File

@ -221,7 +221,7 @@ If so,
.Fn sleepq_calc_signal_retval
returns
.Er ERESTART
if the interrupting signal is restarable and
if the interrupting signal is restartable and
.Er EINTR
otherwise.
If the sleep was not interrupted by a signal,
@ -237,7 +237,7 @@ The
.Fn sleepq_signal
function awakens the highest priority thread sleeping on a wait channel while
.Fn sleepq_broadcast
awakends all of the threads sleeping on a wait channel.
awakens all of the threads sleeping on a wait channel.
The
.Fa wchan
argument specifics which wait channel to awaken.

View File

@ -147,7 +147,7 @@ kernel thread the mutex is locked and the
function is called with this mutex locked.
This will result in the driver's
.Fn readregs
function beeing called with the mutex locked.
function being called with the mutex locked.
.It
In the sysctl handlers the mutex will be locked before calling into the driver's
.Fn readreg
@ -220,7 +220,7 @@ Diagnostic path loopback.
.El
.It Va chip
This points the a function vector for chip specific functions. Two fields
in this vector a publically available:
in this vector are publicly available:
.Bl -tag -width XXX
.It Va type
This is the type of the detected PHY chip.

View File

@ -61,10 +61,10 @@ address space of
.Pp
The
.Fa cow
argment specifies the flags which should be propagated to the new entry,
argument specifies the flags which should be propagated to the new entry,
for example, to indicate that this is a copy-on-write mapping.
.Sh IMPLEMENTATION NOTES
This function implicity creates a new
This function implicitly creates a new
.Dv vm_map_entry
by calling the internal function
.Fn vm_map_entry_create .