Lines Matching refs:sense_buffer
517 if (scmd->sense_buffer[2] & 0xe0) in scsi_check_sense()
526 (scmd->sense_buffer[8] == 0x4) && in scsi_check_sense()
527 (scmd->sense_buffer[11] & 0xe0)) in scsi_check_sense()
986 sg_init_one(&ses->sense_sgl, scmd->sense_buffer, in scsi_eh_prep_cmnd()
1013 memset(scmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); in scsi_eh_prep_cmnd()
2426 return scsi_normalize_sense(cmd->sense_buffer, in scsi_command_normalize_sense()
2441 bool scsi_get_sense_info_fld(const u8 *sense_buffer, int sb_len, in scsi_get_sense_info_fld() argument
2448 switch (sense_buffer[0] & 0x7f) { in scsi_get_sense_info_fld()
2451 if (sense_buffer[0] & 0x80) { in scsi_get_sense_info_fld()
2452 *info_out = get_unaligned_be32(&sense_buffer[3]); in scsi_get_sense_info_fld()
2458 ucp = scsi_sense_desc_find(sense_buffer, sb_len, in scsi_get_sense_info_fld()