ata_scsi_find_dev(9) centos man page | unix.com

Man Page: ata_scsi_find_dev

Operating Environment: centos

Section: 9

ATA_SCSI_FIND_DEV(9)					  libata SCSI translation/emulat				      ATA_SCSI_FIND_DEV(9)

NAME
ata_scsi_find_dev - lookup ata_device from scsi_cmnd
SYNOPSIS
struct ata_device * ata_scsi_find_dev(struct ata_port * ap, const struct scsi_device * scsidev);
ARGUMENTS
ap ATA port to which the device is attached scsidev SCSI device from which we derive the ATA device
DESCRIPTION
Given various information provided in struct scsi_cmnd, map that onto an ATA bus, and using that mapping determine which ata_device is associated with the SCSI command to be sent.
LOCKING
spin_lock_irqsave(host lock)
RETURNS
Associated ATA device, or NULL if not found.
AUTHOR
Jeff Garzik Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 ATA_SCSI_FIND_DEV(9)
Related Man Pages
scsi_satl(8) - centos
readdvd(1) - debian
sg_sat_set_features(8) - debian
sg_sat_identify(8) - suse
ata_scsi_translate(9) - suse
Similar Topics in the Unix Linux Community
Weird 'find' results
How to increment version inside a file?
DB2 convert digits to binary format
CentOS7 restoring file capabilities
Please Welcome Dave Munro to the Moderator Team!