---
name: "ata_scsi_write_same_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_write_same_xlat"
---

# ata\_scsi\_write\_same\_xlat(9)

SATL Write Same to ATA SCT Write Same

## NAME

ata\_scsi\_write\_same\_xlat - SATL Write Same to ATA SCT Write Same

## SYNOPSIS

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

## ARGUMENTS

*qc*

Command to be translated

## DESCRIPTION

Translate a SCSI WRITE SAME command to be either a DSM TRIM command or an SCT Write Same command. Based on WRITE SAME has the UNMAP flag When set translate to DSM TRIM When clear translate to SCT Write Same

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
