Lines Matching defs:icmnd_cmpl
410 struct snic_icmnd_cmpl *icmnd_cmpl,
429 scsi_set_resid(sc, le32_to_cpu(icmnd_cmpl->resid));
478 sc->result = (res << 16) | icmnd_cmpl->scsi_status;
499 struct snic_icmnd_cmpl *icmnd_cmpl,
503 u8 scsi_stat = icmnd_cmpl->scsi_status;
516 scsi_set_resid(sc, le32_to_cpu(icmnd_cmpl->resid));
518 if (icmnd_cmpl->flags & SNIC_ICMND_CMPL_UNDR_RUN) {
519 xfer_len -= le32_to_cpu(icmnd_cmpl->resid);
523 if (icmnd_cmpl->scsi_status == SAM_STAT_TASK_SET_FULL)
528 snic_process_io_failed_state(snic, icmnd_cmpl, sc, cmpl_stat);
531 "icmnd_cmpl: IO Failed : Hdr Status %s flags 0x%llx\n",
551 struct snic_icmnd_cmpl *icmnd_cmpl = NULL;
559 icmnd_cmpl = &fwreq->u.icmnd_cmpl;
560 sc_stat = icmnd_cmpl->scsi_status;
586 (u64)sc_stat << 8 | (u64)icmnd_cmpl->flags),
587 (ulong) fwreq, le32_to_cpu(icmnd_cmpl->resid), ctx);
642 "icmnd_cmpl:TM Req Pending(%s), Hdr Status %s sc 0x%p scsi status %x resid %d flags 0x%llx\n",
645 sc, sc_stat, le32_to_cpu(icmnd_cmpl->resid),
655 if (snic_process_icmnd_cmpl_status(snic, icmnd_cmpl, hdr_stat, sc)) {
658 "icmnd_cmpl:IO Failed, sc 0x%p Tag %d Cmd %x Hdr Status %s flags 0x%llx\n",
2060 * in this case, if the command is completed, the icmnd_cmpl will