Query: ata_scsiop_mode_sense
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_SCSIOP_MODE_SENS(9) libata SCSI translation/emulat ATA_SCSIOP_MODE_SENS(9)NAMEata_scsiop_mode_sense - Simulate MODE SENSE 6, 10 commandsSYNOPSISunsigned int ata_scsiop_mode_sense(struct ata_scsi_args * args, u8 * rbuf);ARGUMENTSargs device IDENTIFY data / SCSI command of interest. rbuf Response buffer, to which simulated SCSI cmd output is sent.DESCRIPTIONSimulate MODE SENSE commands. Assume this is invoked for direct access devices (e.g. disks) only. There should be no block descriptor for other device types.LOCKINGspin_lock_irqsave(host lock)AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATA_SCSIOP_MODE_SENS(9)