Searched refs:snslen (Results 1 – 2 of 2) sorted by relevance
880 u8 snslen, snslen2; in esas2r_check_req_rsp_sense() local882 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()
3769 uint32_t snslen = be32_to_cpu(fcprsp->rspSnsLen); in lpfc_handle_fcp_err() local3770 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()