1SCSI_GET_SENSE_INFO_(9) SCSI mid layer SCSI_GET_SENSE_INFO_(9)
2
3
4
6 scsi_get_sense_info_fld - get information field from sense data (either
7 fixed or descriptor format)
8
10 int scsi_get_sense_info_fld(const u8 * sense_buffer, int sb_len,
11 u64 * info_out);
12
14 sense_buffer
15 byte array of sense data
16
17 sb_len
18 number of valid bytes in sense_buffer
19
20 info_out
21 pointer to 64 integer where 8 or 4 byte information field will be
22 placed if found.
23
25 1 if information field found, 0 if not found.
26
28 James Bottomley <James.Bottomley@hansenpartnership.com>
29 Author.
30
31 Rob Landley <rob@landley.net>
32 Author.
33
35Kernel Hackers Manual 3.10 June 2019 SCSI_GET_SENSE_INFO_(9)