Home
last modified time | relevance | path

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

/linux/drivers/scsi/elx/efct/
H A 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 …]
H A 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()