Home
last modified time | relevance | path

Searched refs:fcprsp (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/scsi/elx/efct/
Defct_scsi.c776 struct fcp_resp_with_ext *fcprsp = io->rspbuf.virt; in efct_scsi_send_resp() local
779 if (!fcprsp) { in efct_scsi_send_resp()
784 sns_data = (u8 *)io->rspbuf.virt + sizeof(*fcprsp); in efct_scsi_send_resp()
788 memset(fcprsp, 0, sizeof(*fcprsp)); in efct_scsi_send_resp()
790 io->wire_len += sizeof(*fcprsp); in efct_scsi_send_resp()
792 fcprsp->resp.fr_status = scsi_status; in efct_scsi_send_resp()
793 fcprsp->resp.fr_retry_delay = in efct_scsi_send_resp()
804 fcprsp->resp.fr_flags |= FCP_RESID_UNDER; in efct_scsi_send_resp()
805 fcprsp->ext.fr_resid = cpu_to_be32(residual); in efct_scsi_send_resp()
807 fcprsp->resp.fr_flags |= FCP_RESID_OVER; in efct_scsi_send_resp()
[all …]
Defct_unsol.c316 struct fcp_resp_with_ext fcprsp; in efct_sframe_send_task_set_full_or_busy() local
323 memset(&fcprsp, 0, sizeof(fcprsp)); in efct_sframe_send_task_set_full_or_busy()
325 fcprsp.resp.fr_status = list_empty(&node->active_ios) ? in efct_sframe_send_task_set_full_or_busy()
328 *((u32 *)&fcprsp.ext.fr_resid) = be32_to_cpu(fcpcmd->fc_dl); in efct_sframe_send_task_set_full_or_busy()
331 rc = efct_sframe_send_fcp_rsp(node, seq, &fcprsp, sizeof(fcprsp)); in efct_sframe_send_task_set_full_or_busy()
/linux-5.19.10/drivers/scsi/lpfc/
Dlpfc_scsi.c3636 struct fcp_rsp *fcprsp = lpfc_cmd->fcp_rsp; in lpfc_send_scsi_error_event() local
3637 uint32_t resp_info = fcprsp->rspStatus2; in lpfc_send_scsi_error_event()
3638 uint32_t scsi_status = fcprsp->rspStatus3; in lpfc_send_scsi_error_event()
3662 } else if ((resp_info & SNS_LEN_VALID) && fcprsp->rspSnsLen && in lpfc_send_scsi_error_event()
3683 ((be32_to_cpu(fcprsp->rspResId) != fcpi_parm) || in lpfc_send_scsi_error_event()
3895 struct fcp_rsp *fcprsp = lpfc_cmd->fcp_rsp; in lpfc_handle_fcp_err() local
3896 uint32_t resp_info = fcprsp->rspStatus2; in lpfc_handle_fcp_err()
3897 uint32_t scsi_status = fcprsp->rspStatus3; in lpfc_handle_fcp_err()
3916 rsplen = be32_to_cpu(fcprsp->rspRspLen); in lpfc_handle_fcp_err()
3927 if (fcprsp->rspInfo3 != RSP_NO_FAILURE) { in lpfc_handle_fcp_err()
[all …]