• Home
  • Raw
  • Download

Lines Matching refs:fcprsp

777 		struct fcp_resp_with_ext *fcprsp = io->rspbuf.virt;  in efct_scsi_send_resp()  local
780 if (!fcprsp) { in efct_scsi_send_resp()
785 sns_data = (u8 *)io->rspbuf.virt + sizeof(*fcprsp); in efct_scsi_send_resp()
789 memset(fcprsp, 0, sizeof(*fcprsp)); in efct_scsi_send_resp()
791 io->wire_len += sizeof(*fcprsp); in efct_scsi_send_resp()
793 fcprsp->resp.fr_status = scsi_status; in efct_scsi_send_resp()
794 fcprsp->resp.fr_retry_delay = in efct_scsi_send_resp()
805 fcprsp->resp.fr_flags |= FCP_RESID_UNDER; in efct_scsi_send_resp()
806 fcprsp->ext.fr_resid = cpu_to_be32(residual); in efct_scsi_send_resp()
808 fcprsp->resp.fr_flags |= FCP_RESID_OVER; in efct_scsi_send_resp()
809 fcprsp->ext.fr_resid = cpu_to_be32(-residual); in efct_scsi_send_resp()
819 fcprsp->resp.fr_flags |= FCP_SNS_LEN_VAL; in efct_scsi_send_resp()
821 fcprsp->ext.fr_sns_len = cpu_to_be32(sense_data_length); in efct_scsi_send_resp()
968 } *fcprsp; in efct_scsi_send_tmf_resp() local
1006 fcprsp = io->rspbuf.virt; in efct_scsi_send_tmf_resp()
1007 memset(fcprsp, 0, sizeof(*fcprsp)); in efct_scsi_send_tmf_resp()
1009 fcprsp->rsp_ext.resp.fr_flags |= FCP_SNS_LEN_VAL; in efct_scsi_send_tmf_resp()
1012 memcpy(fcprsp->info._fr_resvd, addl_rsp_info, in efct_scsi_send_tmf_resp()
1013 sizeof(fcprsp->info._fr_resvd)); in efct_scsi_send_tmf_resp()
1015 fcprsp->info.rsp_code = fcp_rspcode; in efct_scsi_send_tmf_resp()
1017 io->wire_len = sizeof(*fcprsp); in efct_scsi_send_tmf_resp()
1019 fcprsp->rsp_ext.ext.fr_rsp_len = in efct_scsi_send_tmf_resp()