Query: scsi_probe_lun
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCSI_PROBE_LUN(9) SCSI mid layer SCSI_PROBE_LUN(9)NAMEscsi_probe_lun - probe a single LUN using a SCSI INQUIRYSYNOPSISint scsi_probe_lun(struct scsi_device * sdev, unsigned char * inq_result, int result_len, int * bflags);ARGUMENTSsdev scsi_device to probe inq_result area to store the INQUIRY result result_len len of inq_result bflags store any bflags found hereDESCRIPTIONProbe the lun associated with req using a standard SCSI INQUIRY; If the INQUIRY is successful, zero is returned and the INQUIRY data is in inq_result; the scsi_level and INQUIRY length are copied to the scsi_device any flags value is stored in *bflags.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SCSI_PROBE_LUN(9)