.\" 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_ONE" "9" "09 October 2005" "" "" .SH NAME ata_sg_init_one \- Associate command with memory buffer .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void ata_sg_init_one (struct ata_queued_cmd * \fIqc\fB, void * \fIbuf\fB, unsigned int \fIbuflen\fB); \fR .SH "ARGUMENTS" .TP \fB\fIqc\fB\fR Command to be associated .TP \fB\fIbuf\fB\fR Memory buffer .TP \fB\fIbuflen\fB\fR Length of memory buffer, in bytes. .SH "DESCRIPTION" .PP Initialize the data-related elements of queued_cmd \fIqc\fR to point to a single memory buffer, \fIbuf\fR of byte length \fIbuflen\fR\&. .SH "LOCKING" .PP spin_lock_irqsave(host_set lock)