Query: ata_scsi_qc_new
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_SCSI_QC_NEW(9) libata SCSI translation/emulat ATA_SCSI_QC_NEW(9)NAMEata_scsi_qc_new - acquire new ata_queued_cmd referenceSYNOPSISstruct ata_queued_cmd * ata_scsi_qc_new(struct ata_device * dev, struct scsi_cmnd * cmd);ARGUMENTSdev ATA device to which the new command is attached cmd SCSI command that originated this ATA commandDESCRIPTIONObtain a reference to an unused ata_queued_cmd structure, which is the basic libata structure representing a single ATA command sent to the hardware. If a command was available, fill in the SCSI-specific portions of the structure with information on the current command.LOCKINGspin_lock_irqsave(host lock)RETURNSCommand allocated, or NULL if none available.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATA_SCSI_QC_NEW(9)