Home
last modified time | relevance | path

Searched refs:snslen (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/scsi/esas2r/
Desas2r_int.c882 u8 snslen, snslen2; in esas2r_check_req_rsp_sense() local
884 snslen = snslen2 = rq->func_rsp.scsi_rsp.sense_len; in esas2r_check_req_rsp_sense()
886 if (snslen > rq->sense_len) in esas2r_check_req_rsp_sense()
887 snslen = rq->sense_len; in esas2r_check_req_rsp_sense()
889 if (snslen) { in esas2r_check_req_rsp_sense()
891 memcpy(rq->sense_buf, rq->data_buf, snslen); in esas2r_check_req_rsp_sense()
915 rq->sense_len = snslen; in esas2r_check_req_rsp_sense()
/linux-5.19.10/drivers/scsi/lpfc/
Dlpfc_scsi.c3941 uint32_t snslen = be32_to_cpu(fcprsp->rspSnsLen); in lpfc_handle_fcp_err() local
3942 if (snslen > SCSI_SENSE_BUFFERSIZE) in lpfc_handle_fcp_err()
3943 snslen = SCSI_SENSE_BUFFERSIZE; in lpfc_handle_fcp_err()
3947 memcpy(cmnd->sense_buffer, &fcprsp->rspInfo0 + rsplen, snslen); in lpfc_handle_fcp_err()