---
name: "ata_sg_clean"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_sg_clean"
---

# ata\_sg\_clean(9)

Unmap DMA memory associated with command

## NAME

ata\_sg\_clean - Unmap DMA memory associated with command

## SYNOPSIS

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

## ARGUMENTS

*qc*

Command containing DMA memory to be released

## DESCRIPTION

Unmap all mapped DMA memory associated with this command.

LOCKING: spin\_lock\_irqsave(host lock)

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
