Home
last modified time | relevance | path

Searched refs:sns_len (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfad_im.c35 int sns_len, u8 *sns_info, s32 residue) in bfa_cb_ioim_done() argument
48 if (sns_len > 0) { in bfa_cb_ioim_done()
49 bfa_trc(bfad, sns_len); in bfa_cb_ioim_done()
50 if (sns_len > SCSI_SENSE_BUFFERSIZE) in bfa_cb_ioim_done()
51 sns_len = SCSI_SENSE_BUFFERSIZE; in bfa_cb_ioim_done()
52 memcpy(cmnd->sense_buffer, sns_info, sns_len); in bfa_cb_ioim_done()
58 if (!sns_len && (scsi_status == SAM_STAT_GOOD) && in bfa_cb_ioim_done()
Dbfa_fc.h1137 u32 sns_len; /* length od sense info */ member
1142 (__fcprsp)->sns_len : 0)
Dbfa_fcpim.h382 u8 scsi_status, int sns_len,
Dbfi_ms.h780 u8 sns_len; /* scsi sense length */ member
Dbfa_fcpim.c2136 u8 sns_len = 0; in __bfa_cb_ioim_comp() local
2150 m->sns_len) { in __bfa_cb_ioim_comp()
2151 sns_len = m->sns_len; in __bfa_cb_ioim_comp()
2171 m->scsi_status, sns_len, snsinfo, residue); in __bfa_cb_ioim_comp()
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_scsi.c1567 uint32_t rsp_len = 0, sns_len = 0; in csio_scsi_err_handler() local
1597 sns_len = be32_to_cpu(fcp_resp->ext.fr_sns_len); in csio_scsi_err_handler()
1598 if (sns_len > SCSI_SENSE_BUFFERSIZE) in csio_scsi_err_handler()
1599 sns_len = SCSI_SENSE_BUFFERSIZE; in csio_scsi_err_handler()
1602 &rsp_info->_fr_resvd[0] + rsp_len, sns_len); in csio_scsi_err_handler()