ata_format_sct_write_same(9)

ata_format_sct_write_same9

Satl write same to ata sct write same

Usage

size_t ata_format_sct_write_same(struct scsi_cmnd * cmd, u64 lba, u64 num);

Arguments

cmd

SCSI command being translated

lba

Starting sector

num

Number of sectors to be zero'd.

Overview

Rewrite the WRITE SAME payload to be an SCT Write Same formatted descriptor.

Note

Writes a pattern (0's) in the foreground.

Return

Number of bytes copied into sglist.

Author

Jeff Garzik

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.