Query: ata_scsi_rw_xlat
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_SCSI_RW_XLAT(9) libata SCSI translation/emulat ATA_SCSI_RW_XLAT(9)NAMEata_scsi_rw_xlat - Translate SCSI r/w command into an ATA oneSYNOPSISunsigned int ata_scsi_rw_xlat(struct ata_queued_cmd * qc);ARGUMENTSqc Storage for translated ATA taskfileDESCRIPTIONConverts any of six SCSI read/write commands into the ATA counterpart, including starting sector (LBA), sector count, and taking into account the device's LBA48 support. Commands READ_6, READ_10, READ_16, WRITE_6, WRITE_10, and WRITE_16 are currently supported.LOCKINGspin_lock_irqsave(host lock)RETURNSZero on success, non-zero on error.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATA_SCSI_RW_XLAT(9)