Searched refs:snslen (Results 1 – 2 of 2) sorted by relevance
882 u8 snslen, snslen2; in esas2r_check_req_rsp_sense() local884 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()
3885 uint32_t snslen = be32_to_cpu(fcprsp->rspSnsLen); in lpfc_handle_fcp_err() local3886 if (snslen > SCSI_SENSE_BUFFERSIZE) in lpfc_handle_fcp_err()3887 snslen = SCSI_SENSE_BUFFERSIZE; in lpfc_handle_fcp_err()3891 memcpy(cmnd->sense_buffer, &fcprsp->rspInfo0 + rsplen, snslen); in lpfc_handle_fcp_err()