1ATA_SG_SETUP(9)              libata Core Internals             ATA_SG_SETUP(9)
2
3
4

NAME

6       ata_sg_setup - DMA-map the scatter-gather table associated with a
7       command.
8

SYNOPSIS

10       int ata_sg_setup(struct ata_queued_cmd * qc);
11

ARGUMENTS

13       qc
14           Command with scatter-gather table to be mapped.
15

DESCRIPTION

17       DMA-map the scatter-gather table associated with queued_cmd qc.
18

LOCKING

20       spin_lock_irqsave(host lock)
21

RETURNS

23       Zero on success, negative on error.
24

AUTHOR

26       Jeff Garzik
27           Author.
28
30Kernel Hackers Manual 3.10         June 2019                   ATA_SG_SETUP(9)
Impressum