.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "ATA_SG_INIT" "9" "09 October 2005" "" ""
.SH NAME
ata_sg_init \- Associate command with scatter-gather table.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void ata_sg_init (struct ata_queued_cmd * \fIqc\fB, struct scatterlist * \fIsg\fB, unsigned int \fIn_elem\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIqc\fB\fR
Command to be associated
.TP
\fB\fIsg\fB\fR
Scatter-gather table.
.TP
\fB\fIn_elem\fB\fR
Number of elements in s/g table.
.SH "DESCRIPTION"
.PP
Initialize the data-related elements of queued_cmd \fIqc\fR
to point to a scatter-gather table \fIsg\fR, containing \fIn_elem\fR
elements.
.SH "LOCKING"
.PP
spin_lock_irqsave(host_set lock)