ata_sg_init_one(9)

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)

Author

Jeff Garzik

Author.

From linux-manual-2.6.18 2.6.18.dfsg.1-26etch2 in Debian 4.0 (Etch). Also shipped by linux-manual-2.6.24. Parsed by carta from the page's man source.