ATA_FORMAT_SCT_WRITE(9)

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

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.

COPYRIGHT