Lines Matching defs:tgt
227 struct snic_tgt *tgt,
259 rqi->tgt_id = tgt->id;
321 struct snic_tgt *tgt = NULL;
325 tgt = starget_to_tgt(scsi_target(sc->device));
326 ret = snic_tgt_chkready(tgt);
328 SNIC_HOST_ERR(shost, "Tgt %p id %d Not Ready.\n", tgt, tgt->id);
347 ret = snic_issue_scsi_req(snic, tgt, sc);
1488 struct snic_tgt *tgt = NULL;
1494 tgt = starget_to_tgt(scsi_target(sc->device));
1495 if ((snic_tgt_chkready(tgt) != 0) && (tgt->tdata.typ == SNIC_TGT_SAN))
1708 struct snic_tgt *tgt = NULL;
1773 tgt = starget_to_tgt(scsi_target(sc->device));
1774 if ((snic_tgt_chkready(tgt) != 0) && (tgt->tdata.typ == SNIC_TGT_SAN))
2081 struct snic_tgt *tgt = starget_to_tgt(scsi_target(sdev));
2083 if (tgt->tdata.typ == SNIC_TGT_DAS)
2588 snic_tgt_scsi_abort_io(struct snic_tgt *tgt)
2597 if (!tgt)
2600 snic = shost_priv(snic_tgt_to_shost(tgt));
2603 if (tgt->tdata.typ == SNIC_TGT_DAS)
2620 if (sc_tgt != tgt) {