diff options
Diffstat (limited to 'usr/src/man/man9f/scsi_pktalloc.9f')
-rw-r--r-- | usr/src/man/man9f/scsi_pktalloc.9f | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/usr/src/man/man9f/scsi_pktalloc.9f b/usr/src/man/man9f/scsi_pktalloc.9f index 4b0eb8d31b..f19ee24e3c 100644 --- a/usr/src/man/man9f/scsi_pktalloc.9f +++ b/usr/src/man/man9f/scsi_pktalloc.9f @@ -4,14 +4,14 @@ .\" 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 scsi_pktalloc 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_PKTALLOC 9F "Jan 16, 2006" .SH NAME scsi_pktalloc, scsi_resalloc, scsi_pktfree, scsi_resfree \- SCSI packet utility routines .SH SYNOPSIS .LP .nf -#include <sys/scsi/scsi.h> +#include <sys/scsi/scsi.h> \fBstruct scsi_pkt *\fR\fBscsi_pktalloc\fR (\fBstruct scsi_address*\fR \fIap\fR, \fBint\fR \fIcmdlen\fR, \fBint\fR \fIstatuslen\fR, \fBint\fR (\fI*callback\fR)(\fIvoid\fR)); @@ -44,69 +44,57 @@ by \fBscsi_destroy_pkt\fR(9F). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIap\fR\fR .ad .RS 13n -.rt Pointer to a \fBscsi_address\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIcmdlen\fR\fR .ad .RS 13n -.rt The required length for the \fBSCSI \fRcommand descriptor block (\fBCDB\fR) in bytes. .RE .sp .ne 2 -.mk .na \fB\fIstatuslen\fR\fR .ad .RS 13n -.rt The required length for the \fBSCSI\fR status completion block (\fBSCB\fR) in bytes. .RE .sp .ne 2 -.mk .na \fB\fIdmatoken\fR\fR .ad .RS 13n -.rt Pointer to an implementation-dependent object. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 13n -.rt A pointer to a callback function, or \fBNULL_FUNC\fR or \fBSLEEP_FUNC\fR. .RE .sp .ne 2 -.mk .na \fB\fIpkt\fR\fR .ad .RS 13n -.rt Pointer to a \fBscsi_pkt\fR(9S) structure. .RE @@ -149,34 +137,28 @@ information to determine if the transfer count is correct. are not available: .sp .ne 2 -.mk .na \fB\fBNULL_FUNC\fR\fR .ad .RS 16n -.rt Do not wait for resources. Return a \fINULL\fR pointer. .RE .sp .ne 2 -.mk .na \fB\fBSLEEP_FUNC\fR\fR .ad .RS 16n -.rt Wait indefinitely for resources. .RE .sp .ne 2 -.mk .na \fBOther Values\fR .ad .RS 16n -.rt \fIcallback\fR points to a function which is called when resources may have become available. \fIcallback\fR must return either \fB0\fR (indicating that it attempted to allocate resources but again failed to do so), in which case it is @@ -213,13 +195,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO |