summaryrefslogtreecommitdiff
path: root/usr/src/man/man9e
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man9e')
-rw-r--r--usr/src/man/man9e/detach.9e4
-rw-r--r--usr/src/man/man9e/ks_snapshot.9e10
2 files changed, 4 insertions, 10 deletions
diff --git a/usr/src/man/man9e/detach.9e b/usr/src/man/man9e/detach.9e
index 646139e49c..544cb7536e 100644
--- a/usr/src/man/man9e/detach.9e
+++ b/usr/src/man/man9e/detach.9e
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH DETACH 9E "Dec 7, 2003"
+.TH DETACH 9E "Jul 25, 2015"
.SH NAME
detach \- detach or suspend a device
.SH SYNOPSIS
@@ -14,7 +14,7 @@ detach \- detach or suspend a device
-\fBint prefix\fR \fBdetach\fR(\fBdev_info_t *\fR \fIdip\fR, \fBddi_detach_cmd_t\fR \fIcmd\fR);
+\fBint prefix\fR\fBdetach\fR(\fBdev_info_t *\fR \fIdip\fR, \fBddi_detach_cmd_t\fR \fIcmd\fR);
.fi
.SH INTERFACE LEVEL
diff --git a/usr/src/man/man9e/ks_snapshot.9e b/usr/src/man/man9e/ks_snapshot.9e
index f096a67557..47d490d4bc 100644
--- a/usr/src/man/man9e/ks_snapshot.9e
+++ b/usr/src/man/man9e/ks_snapshot.9e
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH KS_SNAPSHOT 9E "Dec 4, 2002"
+.TH KS_SNAPSHOT 9E "Sep 7, 2015"
.SH NAME
ks_snapshot \- take a snapshot of kstat data
.SH SYNOPSIS
@@ -20,11 +20,9 @@ ks_snapshot \- take a snapshot of kstat data
.fi
.SH INTERFACE LEVEL
-.sp
.LP
Solaris DDI specific (Solaris DDI).
.SH PARAMETERS
-.sp
.ne 2
.na
\fB\fIksp\fR \fR
@@ -70,7 +68,6 @@ Copy statistics from the buffer to the driver.
.RE
.SH DESCRIPTION
-.sp
.LP
The \fBkstat\fR mechanism allows for an optional \fBks_snapshot()\fR function
to copy \fBkstat\fR data. This is the routine that is called to marshall the
@@ -107,7 +104,7 @@ raw statistics. The \fBks_private\fR field is available for this purpose. Its
use is entirely at the provider's discretion.
.sp
.LP
-No \fBkstat\fR locking should be done inside the \fBks_update()\fR routine. The
+No \fBkstat\fR locking should be done inside the \fBks_snapshot()\fR routine. The
caller will already be holding the \fBkstat\fR's \fBks_lock\fR (to ensure
consistent data) and will prevent the \fBkstat\fR from being removed.
.RS +4
@@ -123,7 +120,6 @@ Data gets copied from the \fBkstat\fR to the buffer on \fBKSTAT_READ\fR, and
from the buffer to the \fBkstat\fR on \fBKSTAT_WRITE\fR.
.RE
.SH RETURN VALUES
-.sp
.ne 2
.na
\fB\fB0\fR\fR
@@ -151,7 +147,6 @@ For any other error
.RE
.SH CONTEXT
-.sp
.LP
This function is called from user context only.
.SH EXAMPLES
@@ -192,7 +187,6 @@ xxx_kstat_snapshot(kstat_t *ksp, void *buf, int rw)
.sp
.SH SEE ALSO
-.sp
.LP
\fBks_update\fR(9E), \fBkstat_create\fR(9F), \fBkstat_install\fR(9F),
\fBkstat\fR(9S)