summaryrefslogtreecommitdiffstats
path: root/share/man/man9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/DEVICE_PROBE.91
-rw-r--r--share/man/man9/MD5.91
-rw-r--r--share/man/man9/VOP_LINK.92
-rw-r--r--share/man/man9/accf_http.92
-rw-r--r--share/man/man9/acl.92
-rw-r--r--share/man/man9/bios.91
-rw-r--r--share/man/man9/buf.91
-rw-r--r--share/man/man9/devfs_add_devswf.92
-rw-r--r--share/man/man9/device_quiet.912
-rw-r--r--share/man/man9/extattr.92
-rw-r--r--share/man/man9/ifnet.91
-rw-r--r--share/man/man9/intro.92
-rw-r--r--share/man/man9/kthread.91
-rw-r--r--share/man/man9/malloc.92
-rw-r--r--share/man/man9/mbuf.91
-rw-r--r--share/man/man9/microseq.96
-rw-r--r--share/man/man9/namei.915
-rw-r--r--share/man/man9/rtalloc.92
-rw-r--r--share/man/man9/rtentry.92
-rw-r--r--share/man/man9/spl.92
-rw-r--r--share/man/man9/style.93
-rw-r--r--share/man/man9/swi.910
-rw-r--r--share/man/man9/timeout.912
-rw-r--r--share/man/man9/vnode.93
-rw-r--r--share/man/man9/vrele.91
25 files changed, 44 insertions, 45 deletions
diff --git a/share/man/man9/DEVICE_PROBE.9 b/share/man/man9/DEVICE_PROBE.9
index c621a57..1522175 100644
--- a/share/man/man9/DEVICE_PROBE.9
+++ b/share/man/man9/DEVICE_PROBE.9
@@ -76,7 +76,6 @@ zero indicates an error (errno). For values equal to or less than
zero: zero indicates highest priority, no further probing is done;
for a value less then zero, the lower the value the lower the
priority, e.g. -100 indicates a lower priority than -50.
-
.Sh SEE ALSO
.Xr device 9 ,
.Xr DEVICE_ATTACH 9
diff --git a/share/man/man9/MD5.9 b/share/man/man9/MD5.9
index 37a5ded..58a221d 100644
--- a/share/man/man9/MD5.9
+++ b/share/man/man9/MD5.9
@@ -70,6 +70,7 @@ to reflect the addition of 64 characters
of new data passed in
.Fa block
argument.
+.El
.Sh COPYRIGHTS
The code for MD5 transform was taken from Colin Plumb's
implementation, which has been placed in the public domain. The
diff --git a/share/man/man9/VOP_LINK.9 b/share/man/man9/VOP_LINK.9
index 463dc80..dcf02bf 100644
--- a/share/man/man9/VOP_LINK.9
+++ b/share/man/man9/VOP_LINK.9
@@ -43,7 +43,7 @@
This links a new name in the specified directory to an existing file.
.Pp
Its arguments are:
-.Bl -tag -width 8X
+.Bl -tag -width 8n
.It Ar dvp
the vnode of the directory
.It Ar vp
diff --git a/share/man/man9/accf_http.9 b/share/man/man9/accf_http.9
index c33301e..4c20f02 100644
--- a/share/man/man9/accf_http.9
+++ b/share/man/man9/accf_http.9
@@ -30,7 +30,7 @@
.Dt accf_http 9
.Sh NAME
.Nm accf_http
-.Nd buffer incoming connections until a certain complete HTTP requests arrive
+.Nd "buffer incoming connections until a certain complete HTTP requests arrive"
.Sh SYNOPSIS
.Nm options INET
.Nm options ACCEPT_FILTER_HTTP
diff --git a/share/man/man9/acl.9 b/share/man/man9/acl.9
index 902d569..6fa9a55 100644
--- a/share/man/man9/acl.9
+++ b/share/man/man9/acl.9
@@ -99,7 +99,7 @@ field of the appropriate vnode ACL calls,
.Xr VOP_GETACL 9 ,
and
.Xr VOP_SETACL 9 .
-
+.Pp
Currently, each ACL is represented in-kernel by a fixed-size acl structure.
An ACL is constructed from a fixed size array of ACL entries, each of which
consists of a set of permissions, principal namespace, and principal
diff --git a/share/man/man9/bios.9 b/share/man/man9/bios.9
index 8b2d3db..9929d14 100644
--- a/share/man/man9/bios.9
+++ b/share/man/man9/bios.9
@@ -112,4 +112,3 @@ If not NULL, points to a
structure describing the PCI BIOS entrypoint which was found during system
startup.
.El
-
diff --git a/share/man/man9/buf.9 b/share/man/man9/buf.9
index 7ac458d..42bdef3 100644
--- a/share/man/man9/buf.9
+++ b/share/man/man9/buf.9
@@ -125,4 +125,3 @@ manual page was originally written by
and first appeared in
.Fx 3.1 ,
December 1998.
-
diff --git a/share/man/man9/devfs_add_devswf.9 b/share/man/man9/devfs_add_devswf.9
index be67340..ecaa844 100644
--- a/share/man/man9/devfs_add_devswf.9
+++ b/share/man/man9/devfs_add_devswf.9
@@ -43,7 +43,7 @@ The call that adds an entry into devfs is
.Nm .
.Pp
Its arguments are:
-.Bl -tag -width 8X
+.Bl -tag -width 8n
.It Ar devsw
the address of the devsw entry the name should access
.It Ar minor
diff --git a/share/man/man9/device_quiet.9 b/share/man/man9/device_quiet.9
index 9a9baf9..5dfa5d5 100644
--- a/share/man/man9/device_quiet.9
+++ b/share/man/man9/device_quiet.9
@@ -51,13 +51,13 @@ Each device has a quiet flag associated with it. A device is
verbose by default when it is created but may be quieted to prevent
the device identification string to be printed during probe.
To quiet a device, call
-.Xr device_quiet 9
-, to reenable to probe message (to make the message appear again, for
+.Xr device_quiet 9 ,
+to reenable to probe message (to make the message appear again, for
example after a
-.Xr device_detach 9
-) call
-.Xr device_verbose 9
-. To test to see if a device is quieted, call
+.Xr device_detach 9 )
+call
+.Xr device_verbose 9 .
+To test to see if a device is quieted, call
.Xr device_is_quiet 9 .
.Sh SEE ALSO
.Xr device 9
diff --git a/share/man/man9/extattr.9 b/share/man/man9/extattr.9
index 9a0eb4e..894f791 100644
--- a/share/man/man9/extattr.9
+++ b/share/man/man9/extattr.9
@@ -51,7 +51,7 @@ semantics of the supporting file system. Authorization schemes for
extended attribute data may also vary by file system, as well as
maximum attribute size, and whether or not any or specific new attributes
may be defined.
-
+.Pp
Extended attributes are named using a null-terminated character string.
Depending on file system semantics, this name may or may not be
case-sensitive. Appropriate vnode extended attribute calls are:
diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9
index b9e7518..1555538 100644
--- a/share/man/man9/ifnet.9
+++ b/share/man/man9/ifnet.9
@@ -858,6 +858,7 @@ structures are converted into old-style (no
.Li sa_len
member).
.El
+.El
.Pp
.Fn if_down ,
.Fn ifioctl ,
diff --git a/share/man/man9/intro.9 b/share/man/man9/intro.9
index 33be8ad..912a7d0 100644
--- a/share/man/man9/intro.9
+++ b/share/man/man9/intro.9
@@ -78,7 +78,7 @@ in
#endif /* DDB */
.Ed
-
+.Pp
And the name of the procedure should start with the prefix
.Li DDB_
to clearly identify the procedure as a debugger routine.
diff --git a/share/man/man9/kthread.9 b/share/man/man9/kthread.9
index e894c3a..efdeee0 100644
--- a/share/man/man9/kthread.9
+++ b/share/man/man9/kthread.9
@@ -256,6 +256,7 @@ The
flag was specified in the
.Fa flags
parameter.
+.El
.Sh SEE ALSO
.Xr SYSINIT 9 ,
.Xr rfork 2
diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9
index 2c93e63..0b47142 100644
--- a/share/man/man9/malloc.9
+++ b/share/man/man9/malloc.9
@@ -171,7 +171,7 @@ MALLOC_DEFINE(M_FOOBUF, "foobuffers", "Buffers to foo data into the ether");
/* sys/something/foo_subr.c */
-...
+\&...
MALLOC(buf, struct foo_buf *, sizeof *buf, M_FOOBUF, M_NOWAIT);
.Ed
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index ea795c6..2374ee1 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -473,6 +473,7 @@ bytes.
In case of failure, it returns
.Dv NULL
and attempts to restore the chain to its original state.
+.El
.Sh RETURN VALUES
See above.
.Sh HISTORY
diff --git a/share/man/man9/microseq.9 b/share/man/man9/microseq.9
index 0a7f93e..dce4b2e 100644
--- a/share/man/man9/microseq.9
+++ b/share/man/man9/microseq.9
@@ -133,7 +133,7 @@ Available microinstructions are:
The
.Em execution context
of microinstructions is:
-.Bl -bullet -item -offset indent
+.Bl -bullet -offset indent
.It
the
.Em program counter
@@ -172,7 +172,7 @@ is used to assert/clear some bits of a particular parallel port register,
two masks are applied.
.Pp
Parameters:
-.Bl -enum -offset ident
+.Bl -enum -offset indent
.It
register
.It
@@ -214,7 +214,7 @@ integer value
.El
.Pp
Predefined macro: MS_SET(accum)
-.Ss MS_OP_DBRA - Do BRAnch
+.Ss MS_OP_DBRA - \&Do BRAnch
is used to branch if internal branch register decremented by one result value
is positive.
.Pp
diff --git a/share/man/man9/namei.9 b/share/man/man9/namei.9
index 5063ee1..8fc5954 100644
--- a/share/man/man9/namei.9
+++ b/share/man/man9/namei.9
@@ -47,9 +47,7 @@
.Ft void
.Fn NDINIT "struct nameidata *ndp" "int operation" "int operflags" "int segflag" "const char *path" "struct proc *proc"
.Fn NDFREE "struct nameidata *ndp" "int operflags"
-
.Sh DESCRIPTION
-
.Fn namei
is used to get from a pathname to a vnode for the object.
This is a necessity to start doing VFS operations. The vnode
@@ -160,16 +158,15 @@ In the normal case, this is either the current directory or the root.
It is the current directory if the name passed in doesn't start with /
and we have not gone through any symlinks with an absolute path, and
the root otherwise.
-
+.Pp
In this case, it is is only used by lookup(), and should not be
considered valid after a call to namei().
-
+.Pp
If SAVESTART is set, this is set to the same as ni_dvp, with an extra
VREF().
-
+.Pp
To block NDFREE from releasing ni_startdir when it is set, use the
flag NDF_NO_STARTDIR_RELE.
-
.It Dv ni_dvp
The directory vp for the directory the object we're looking up is in.
This is available on successful return if LOCKPARENT or WANTPARENT is
@@ -180,19 +177,19 @@ be inhibited by NDF_NO_DVP_RELE, NDF_NO_DVP_PUT, or NDF_NO_DVP_UNLOCK
The vp for the target of the of the pathname exists, NULL otherwise.
The vp is returned with increased reference count (VREF'ed). If
LOCKLEAF is set, it is also locked.
-
+.Pp
Freeing this in NDFREE can be inhibited by NDF_NO_VP_RELE,
NDF_NO_VP_PUT, or NDF_NO_VP_UNLOCK (with the obvious effects).
-
.It Dv ni_cnd.cn_pnbuf
Path name buffer. This is allocated through zalloc(namei_zone)
and freed through zfree(namei_zone, ...).
-
+.Pp
This is available to the caller (who must free it using
.Xr NDFREE 9 )
if SAVESTART or SAVENAME is set.
To free only the ni_cnd.cn_pnbuf, there is a special flags NDF_ONLY_PNBUF.
To not free the cnd, use the flag ND_NO_FREE_PNBUF.
+.El
.Sh BUGS
LOCKPARENT does not always result in parent vp being locked (see details in
description).
diff --git a/share/man/man9/rtalloc.9 b/share/man/man9/rtalloc.9
index 785d01c..eaca160 100644
--- a/share/man/man9/rtalloc.9
+++ b/share/man/man9/rtalloc.9
@@ -53,7 +53,7 @@ family of routines is used by protocols to query this structure for a
route corresponding to a particular end-node address, and to cause
certain protocol\- and interface-specific actions to take place.
.\" XXX - -mdoc should contain a standard request for getting em and
- \" en dashes.
+.\" en dashes.
.Pp
When a route with the flag
.Dv RTF_CLONING
diff --git a/share/man/man9/rtentry.9 b/share/man/man9/rtentry.9
index da3abb5..5c75560 100644
--- a/share/man/man9/rtentry.9
+++ b/share/man/man9/rtentry.9
@@ -222,7 +222,7 @@ MTU for this path.
Number of intermediate systems on the path to this destination.
.It Li "u_long rmx_expire;"
The time
-(\*(aga la
+(a la
.Xr time 3 )
at which this route should expire, or zero if it should never expire.
It is the responsibility of individual protocol suites to ensure that routes
diff --git a/share/man/man9/spl.9 b/share/man/man9/spl.9
index b463e73..9abcaba 100644
--- a/share/man/man9/spl.9
+++ b/share/man/man9/spl.9
@@ -118,7 +118,7 @@ the system is about to return to user mode.
.Pp
The traditional assignment of the various device drivers to the
interrupt priority groups can be roughly classified as:
-.Bl -tag -width Fn splnet
+.Bl -tag -width Fn
.It Fn splnet
All network interface drivers.
.It Fn splbio
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index 07f128e..fc21355 100644
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -492,7 +492,7 @@ to mention avoiding stupid bugs.
Usage statements should look like the manual pages synopsis.
The usage statement should be structured in the following order:
.Pp
-.Bl -enum -compat
+.Bl -enum
.It
Options without operands come first,
in alphabetical order,
@@ -549,7 +549,6 @@ Whenever possible, code should be run through a code checker
.Xr lint 1
or
"gcc -Wall") and produce minimal warnings.
-
.Sh SEE ALSO
.Xr indent 1 ,
.Xr lint 1 ,
diff --git a/share/man/man9/swi.9 b/share/man/man9/swi.9
index dc586d3..c6fe18f 100644
--- a/share/man/man9/swi.9
+++ b/share/man/man9/swi.9
@@ -35,11 +35,11 @@
.Fd #include <sys/bus.h>
.Fd #include <sys/proc.h>
.Fd #include <sys/interrupt.h>
-.Vt extern struct ithd *tty_ithd;
-.Vt extern struct ithd *clk_ithd;
-.Vt extern struct intrhand *net_ih;
-.Vt extern struct intrhand *softclock_ih;
-.Vt extern struct intrhand *vm_ih;
+.Vt "extern struct ithd *tty_ithd;"
+.Vt "extern struct ithd *clk_ithd;"
+.Vt "extern struct intrhand *net_ih;"
+.Vt "extern struct intrhand *softclock_ih;"
+.Vt "extern struct intrhand *vm_ih;"
.Ft void
.Fn sched_swi "struct intrhand *handler" "int flags"
.Ft struct intrhand *
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9
index 8f7db5d..2040fe3 100644
--- a/share/man/man9/timeout.9
+++ b/share/man/man9/timeout.9
@@ -50,14 +50,18 @@
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/systm.h>
-.Ft typedef void timeout_t \*(lpvoid *\*(rp;
-
+.Pp
+.Bd -literal
+typedef void timeout_t (void *);
+.Ed
.Ft struct callout_handle
.Fn timeout "timeout_t *func" "void *arg" "int ticks"
.Ft void
.Fn callout_handle_init "struct callout_handle *handle"
-
-.Li struct callout_handle handle = CALLOUT_HANDLE_INITIALIZER(&handle)
+.Pp
+.Bd -literal
+struct callout_handle handle = CALLOUT_HANDLE_INITIALIZER(&handle)
+.Ed
.Ft void
.Fn untimeout "timeout_t *func" "void *arg" "struct callout_handle handle"
.Ft void
diff --git a/share/man/man9/vnode.9 b/share/man/man9/vnode.9
index 9ed6375..02b4c9b 100644
--- a/share/man/man9/vnode.9
+++ b/share/man/man9/vnode.9
@@ -239,7 +239,6 @@ A FIFO (named pipe). Advisory locking won't work on this.
.It Dv VBAD
An old style bad sector map
.El
-
.Sh NOTES
VFIFO uses the "struct fileops" from
.Pa /sys/kern/sys_pipe.c .
@@ -247,7 +246,7 @@ VSOCK uses the "struct fileops" from
.Pa /sys/kern/sys_socket.c .
Everything else uses the one from
.Pa /sys/kern/vfs_vnops.c .
-
+.Pp
The VFIFO/VSOCK code, which is why "struct fileops" is used at all, is
an artifact of an incomplete integration of the VFS code into the
kernel.
diff --git a/share/man/man9/vrele.9 b/share/man/man9/vrele.9
index 02572f5..56517b5 100644
--- a/share/man/man9/vrele.9
+++ b/share/man/man9/vrele.9
@@ -62,4 +62,3 @@ field of the vnode reaches zero, then it will be placed on the free list.
.Sh AUTHORS
This man page was written by
.An Doug Rabson .
-
OpenPOWER on IntegriCloud