Name
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
struct scsi_cmnd * cmd
SCSI command being translated
u64 lba
Starting sector
u64 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.