---
name: "ata_scsi_flush_xlat"
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_scsi_flush_xlat"
---

# ata\_scsi\_flush\_xlat(9)

Translate SCSI SYNCHRONIZE CACHE command

## NAME

ata\_scsi\_flush\_xlat - Translate SCSI SYNCHRONIZE CACHE command

## SYNOPSIS

**unsigned int ata\_scsi\_flush\_xlat(struct ata\_queued\_cmd \*** *qc***);**

## ARGUMENTS

*qc*

Storage for translated ATA taskfile

## DESCRIPTION

Sets up an ATA taskfile to issue FLUSH CACHE or FLUSH CACHE EXT.

LOCKING: spin\_lock\_irqsave(host lock)

## RETURN

Zero on success, non-zero on error.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
