diff options
Diffstat (limited to 'usr/src/man/man9f/bioclone.9f')
-rw-r--r-- | usr/src/man/man9f/bioclone.9f | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/usr/src/man/man9f/bioclone.9f b/usr/src/man/man9f/bioclone.9f index 97af083291..7f4aaad771 100644 --- a/usr/src/man/man9f/bioclone.9f +++ b/usr/src/man/man9f/bioclone.9f @@ -3,17 +3,17 @@ .\" 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 bioclone 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BIOCLONE 9F "Jan 16, 2006" .SH NAME bioclone \- clone another buffer .SH SYNOPSIS .LP .nf #include <sys/ddi.h> -#include <sys/sunddi.h> +#include <sys/sunddi.h> -\fBstruct buf *\fR\fBbioclone\fR(\fBstruct buf\fR \fI*bp\fR, \fBoff_t\fR \fIoff\fR, \fBsize_t\fR \fIlen\fR, \fBdev_t\fR \fIdev\fR, - \fBdaddr_t\fR \fIblkno\fR, \fBint (\fR\fI*iodone\fR) (struct buf \fI*\fR), \fBstruct buf\fR \fI*bp_mem\fR, +\fBstruct buf *\fR\fBbioclone\fR(\fBstruct buf\fR \fI*bp\fR, \fBoff_t\fR \fIoff\fR, \fBsize_t\fR \fIlen\fR, \fBdev_t\fR \fIdev\fR, + \fBdaddr_t\fR \fIblkno\fR, \fBint (\fR\fI*iodone\fR) (struct buf \fI*\fR), \fBstruct buf\fR \fI*bp_mem\fR, \fBint\fR \fIsleepflag\fR); .fi @@ -24,91 +24,75 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 13n -.rt Pointer to the \fBbuf\fR(9S) structure describing the original \fBI/O\fR request. .RE .sp .ne 2 -.mk .na \fB\fIoff\fR\fR .ad .RS 13n -.rt Offset within original \fBI/O\fR request where new \fBI/O\fR request should start. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 13n -.rt Length of the \fBI/O \fRrequest. .RE .sp .ne 2 -.mk .na \fB\fIdev\fR\fR .ad .RS 13n -.rt Device number. .RE .sp .ne 2 -.mk .na \fB\fIblkno\fR\fR .ad .RS 13n -.rt Block number on device. .RE .sp .ne 2 -.mk .na \fB\fIiodone\fR\fR .ad .RS 13n -.rt Specific \fBbiodone\fR(9F) routine. .RE .sp .ne 2 -.mk .na \fB\fIbp_mem\fR\fR .ad .RS 13n -.rt Pointer to a buffer structure to be filled in or \fBNULL. \fR .RE .sp .ne 2 -.mk .na \fB\fIsleepflag\fR\fR .ad .RS 13n -.rt Determines whether caller can sleep for memory. Possible flags are \fBKM_SLEEP\fR to allow sleeping until memory is available, or \fBKM_NOSLEEP\fR to return \fINULL\fR immediately if memory is not available. @@ -194,7 +178,7 @@ static uint_t xxintr(caddr_t arg) { ... - /* + /* * get bp of completed subrequest. biodone(9F) will * call stripe_done() */ |