Lines Matching defs:tgt
241 struct snic_tgt *tgt,
273 rqi->tgt_id = tgt->id;
335 struct snic_tgt *tgt = NULL;
339 tgt = starget_to_tgt(scsi_target(sc->device));
340 ret = snic_tgt_chkready(tgt);
342 SNIC_HOST_ERR(shost, "Tgt %p id %d Not Ready.\n", tgt, tgt->id);
361 ret = snic_issue_scsi_req(snic, tgt, sc);
1510 struct snic_tgt *tgt = NULL;
1516 tgt = starget_to_tgt(scsi_target(sc->device));
1517 if ((snic_tgt_chkready(tgt) != 0) && (tgt->tdata.typ == SNIC_TGT_SAN))
1730 struct snic_tgt *tgt = NULL;
1795 tgt = starget_to_tgt(scsi_target(sc->device));
1796 if ((snic_tgt_chkready(tgt) != 0) && (tgt->tdata.typ == SNIC_TGT_SAN))
2103 struct snic_tgt *tgt = starget_to_tgt(scsi_target(sdev));
2105 if (tgt->tdata.typ == SNIC_TGT_DAS)
2612 snic_tgt_scsi_abort_io(struct snic_tgt *tgt)
2621 if (!tgt)
2624 snic = shost_priv(snic_tgt_to_shost(tgt));
2627 if (tgt->tdata.typ == SNIC_TGT_DAS)
2644 if (sc_tgt != tgt) {