ata_sg_init_one9
Associate command with memory buffer
Usage
void ata_sg_init_one(struct ata_queued_cmd * qc, void * buf, unsigned int buflen);
Arguments
qc
Command to be associated
buf
Memory buffer
buflen
Length of memory buffer, in bytes.
Overview
Initialize the data-related elements of queued_cmd qc to point to a single memory buffer, buf of byte length buflen.
Locking
spin_lock_irqsave(host_set lock)