ata_format_sct_write_same (9) Linux Manual Page
ata_format_sct_write_same – SATL Write Same to ATA SCT Write Same
Synopsis
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.
Description
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.
