ata_sg_init(9)

ata_sg_init9

Associate command with scatter-gather table.

Usage

void ata_sg_init(struct ata_queued_cmd * qc, struct scatterlist * sg, unsigned int n_elem);

Arguments

qc

Command to be associated

sg

Scatter-gather table.

n_elem

Number of elements in s/g table.

Overview

Initialize the data-related elements of queued_cmd qc to point to a scatter-gather table sg, containing n_elem elements.

LOCKING: spin_lock_irqsave(host lock)

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Jeff Garzik

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.