Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/esas2r/
Desas2r_int.c880 u8 snslen, snslen2; in esas2r_check_req_rsp_sense() local
882 snslen = snslen2 = rq->func_rsp.scsi_rsp.sense_len; in esas2r_check_req_rsp_sense()
884 if (snslen > rq->sense_len) in esas2r_check_req_rsp_sense()
885 snslen = rq->sense_len; in esas2r_check_req_rsp_sense()
887 if (snslen) { in esas2r_check_req_rsp_sense()
889 memcpy(rq->sense_buf, rq->data_buf, snslen); in esas2r_check_req_rsp_sense()
913 rq->sense_len = snslen; in esas2r_check_req_rsp_sense()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_scsi.c3769 uint32_t snslen = be32_to_cpu(fcprsp->rspSnsLen); in lpfc_handle_fcp_err() local
3770 if (snslen > SCSI_SENSE_BUFFERSIZE) in lpfc_handle_fcp_err()
3771 snslen = SCSI_SENSE_BUFFERSIZE; in lpfc_handle_fcp_err()
3775 memcpy(cmnd->sense_buffer, &fcprsp->rspInfo0 + rsplen, snslen); in lpfc_handle_fcp_err()