other versions
SCSI_GET_SENSE_INFO_(9) | SCSI mid layer | SCSI_GET_SENSE_INFO_(9) |
NAME¶
scsi_get_sense_info_fld - get information field from sense data (either fixed or descriptor format)
SYNOPSIS¶
bool scsi_get_sense_info_fld(const u8 * sense_buffer, int sb_len, u64 * info_out);
ARGUMENTS¶
const u8 * sense_buffer
byte array of sense data
int sb_len
number of valid bytes in sense_buffer
u64 * info_out
pointer to 64 integer where 8 or 4 byte information field
will be placed if found.
DESCRIPTION¶
Return value: true if information field found, false if not found.
AUTHORS¶
James Bottomley <James.Bottomley@hansenpartnership.com>
Author.
Rob Landley <rob@landley.net>
Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |