Lines Matching defs:sense_length
1626 uint32_t dmaresult, handle, xfrlen, sense_length, tmp;
1743 sense_length = cso->sense_len;
1748 if (sense_length > (XCMD_SIZE - MIN_FCP_RESPONSE_SIZE)) {
1749 sense_length = XCMD_SIZE - MIN_FCP_RESPONSE_SIZE;
1752 sense_length = 0;
1795 if (sense_length <= MAXRESPLEN_24XX) {
1811 if (sense_length) {
1813 cto->rsp.m1.ct_resplen = cto->ct_senselen = sense_length;
1814 memcpy(cto->rsp.m1.ct_resp, &cso->sense_data, sense_length);
1843 if (sense_length) {
1844 rp->fcp_rsp_snslen = sense_length;
1845 cto->ct_senselen = sense_length;
1848 memcpy(((fcp_rsp_iu_t *)atp->ests)->fcp_rsp_extra, &cso->sense_data, sense_length);
1853 isp_print_bytes(isp, "FCP Response Frame After Swizzling", MIN_FCP_RESPONSE_SIZE + sense_length, atp->ests);
1858 (uintmax_t) isp->isp_osinfo.ecmd_dma, (uintmax_t)addr, MIN_FCP_RESPONSE_SIZE + sense_length);
1859 cto->rsp.m2.ct_datalen = MIN_FCP_RESPONSE_SIZE + sense_length;
1862 cto->rsp.m2.ct_fcp_rsp_iudata.ds_count = MIN_FCP_RESPONSE_SIZE + sense_length;
1864 if (sense_length) {
1866 cto->ct_rxid, ATPD_GET_SEQNO(cto), ATPD_GET_NCAM(cto), atp->cdb0, cto->ct_scsi_status, cto->ct_flags, cto->ct_resid, sense_length,
1950 if (sense_length <= MAXRESPLEN) {
1966 if (sense_length) {
1968 cto->rsp.m1.ct_resplen = cto->rsp.m1.ct_senselen = sense_length;
1969 memcpy(cto->rsp.m1.ct_resp, &cso->sense_data, sense_length);
1998 if (sense_length) {
1999 rp->fcp_rsp_snslen = sense_length;
2002 memcpy(((fcp_rsp_iu_t *)atp->ests)->fcp_rsp_extra, &cso->sense_data, sense_length);
2007 isp_print_bytes(isp, "FCP Response Frame After Swizzling", MIN_FCP_RESPONSE_SIZE + sense_length, atp->ests);
2012 (uintmax_t) isp->isp_osinfo.ecmd_dma, (uintmax_t)addr, MIN_FCP_RESPONSE_SIZE + sense_length);
2013 cto->rsp.m2.ct_datalen = MIN_FCP_RESPONSE_SIZE + sense_length;
2017 cto->rsp.m2.u.ct_fcp_rsp_iudata_64.ds_count = MIN_FCP_RESPONSE_SIZE + sense_length;
2020 cto->rsp.m2.u.ct_fcp_rsp_iudata_32.ds_count = MIN_FCP_RESPONSE_SIZE + sense_length;
2023 if (sense_length) {