---
name: "ata_fill_sg"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_fill_sg"
---

# ata\_fill\_sg(9)

Fill PCI IDE PRD table

## NAME

ata\_fill\_sg - Fill PCI IDE PRD table

## SYNOPSIS

**void ata\_fill\_sg(struct ata\_queued\_cmd \*** *qc***);**

## ARGUMENTS

*qc*

Metadata associated with taskfile to be transferred

## DESCRIPTION

Fill PCI IDE PRD (scatter-gather) table with segments associated with the current disk command.

## LOCKING

spin\_lock\_irqsave(host\_set lock)

## AUTHOR

**Jeff Garzik**

-

  Author.

## COPYRIGHT
