1SCSI_PROBE_LUN(9) SCSI mid layer SCSI_PROBE_LUN(9)
2
3
4
6 scsi_probe_lun - probe a single LUN using a SCSI INQUIRY
7
9 int scsi_probe_lun(struct scsi_device * sdev,
10 unsigned char * inq_result, int result_len,
11 int * bflags);
12
14 sdev
15 scsi_device to probe
16
17 inq_result
18 area to store the INQUIRY result
19
20 result_len
21 len of inq_result
22
23 bflags
24 store any bflags found here
25
27 Probe the lun associated with req using a standard SCSI INQUIRY;
28
29 If the INQUIRY is successful, zero is returned and the INQUIRY data is
30 in inq_result; the scsi_level and INQUIRY length are copied to the
31 scsi_device any flags value is stored in *bflags.
32
34 James Bottomley <James.Bottomley@hansenpartnership.com>
35 Author.
36
37 Rob Landley <rob@landley.net>
38 Author.
39
41Kernel Hackers Manual 3.10 June 2019 SCSI_PROBE_LUN(9)