Lines Matching refs:fcprsp

776 		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()
808 fcprsp->ext.fr_resid = cpu_to_be32(-residual); in efct_scsi_send_resp()
818 fcprsp->resp.fr_flags |= FCP_SNS_LEN_VAL; in efct_scsi_send_resp()
820 fcprsp->ext.fr_sns_len = cpu_to_be32(sense_data_length); in efct_scsi_send_resp()
967 } *fcprsp; in efct_scsi_send_tmf_resp() local
1005 fcprsp = io->rspbuf.virt; in efct_scsi_send_tmf_resp()
1006 memset(fcprsp, 0, sizeof(*fcprsp)); in efct_scsi_send_tmf_resp()
1008 fcprsp->rsp_ext.resp.fr_flags |= FCP_SNS_LEN_VAL; in efct_scsi_send_tmf_resp()
1011 memcpy(fcprsp->info._fr_resvd, addl_rsp_info, in efct_scsi_send_tmf_resp()
1012 sizeof(fcprsp->info._fr_resvd)); in efct_scsi_send_tmf_resp()
1014 fcprsp->info.rsp_code = fcp_rspcode; in efct_scsi_send_tmf_resp()
1016 io->wire_len = sizeof(*fcprsp); in efct_scsi_send_tmf_resp()
1018 fcprsp->rsp_ext.ext.fr_rsp_len = in efct_scsi_send_tmf_resp()