ata_sg_init — Associate command with scatter-gather table.
void ata_sg_init (
)
qc
Command to be associated
sg
Scatter-gather table.
n_elem
Number of elements in s/g table.
Initialize the data-related elements of queued_cmd qc to point to a scatter-gather table sg, containing n_elem elements.
spin_lock_irqsave(host_set lock)