Lines Matching defs:host
176 spin_lock_irqsave(fnic->lport->host->host_lock, host_lock_flags);
183 spin_unlock_irqrestore(fnic->lport->host->host_lock, host_lock_flags);
231 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
235 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
279 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
285 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
364 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
415 struct fc_lport *lp = shost_priv(sc->device->host);
438 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
447 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
457 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
468 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
483 * Release host lock, use driver resource specific locks from here.
487 spin_unlock(lp->host->host_lock);
503 FNIC_TRACE(fnic_queuecommand, sc->device->host->host_no,
561 FNIC_TRACE(fnic_queuecommand, sc->device->host->host_no,
572 /* acquire host lock before returning to SCSI */
573 spin_lock(lp->host->host_lock);
592 FNIC_TRACE(fnic_queuecommand, sc->device->host->host_no,
601 /* acquire host lock before returning to SCSI */
602 spin_lock(lp->host->host_lock);
639 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
645 fnic->lport->host,
661 fnic->lport->host,
714 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
719 fnic->lport->host,
726 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
798 fnic->lport->host->host_no, 0, 0, ox_id_tag[2], ox_id_tag[3],
830 shost_printk(KERN_ERR, fnic->lport->host,
836 sc = scsi_host_find_tag(fnic->lport->host, id);
840 shost_printk(KERN_ERR, fnic->lport->host,
845 fnic->lport->host->host_no, id,
863 shost_printk(KERN_ERR, fnic->lport->host,
890 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
978 shost_printk(KERN_ERR, fnic->lport->host, "hdr status = %s\n",
991 sc->device->host->host_no, id, sc,
1069 shost_printk(KERN_ERR, fnic->lport->host,
1075 shost_printk(KERN_ERR, fnic->lport->host,
1085 sc = scsi_host_find_tag(fnic->lport->host, id & FNIC_TAG_MASK);
1092 shost_printk(KERN_ERR, fnic->lport->host,
1105 shost_printk(KERN_ERR, fnic->lport->host,
1116 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1138 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
1173 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1187 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1197 sc->device->host->host_no, id,
1221 sc->device->host->host_no, id, sc,
1224 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1235 sc->device->host->host_no, id, sc,
1238 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1247 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1256 shost_printk(KERN_ERR, fnic->lport->host,
1309 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1407 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1418 shost_printk(KERN_ERR, fnic->lport->host,
1423 sc->device->host->host_no, tag, sc,
1438 scsi_host_busy_iter(fnic->lport->host,
1460 sc = scsi_host_find_tag(fnic->lport->host, id);
1487 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host, "wq_copy_cleanup_handler:"
1491 sc->device->host->host_no, id, sc,
1506 struct Scsi_Host *host = fnic->lport->host;
1510 spin_lock_irqsave(host->host_lock, flags);
1513 spin_unlock_irqrestore(host->host_lock, flags);
1517 spin_unlock_irqrestore(host->host_lock, flags);
1527 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1579 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1595 shost_printk(KERN_ERR, fnic->lport->host,
1602 shost_printk(KERN_ERR, fnic->lport->host,
1615 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1619 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1663 fnic->lport->host,
1670 scsi_host_busy_iter(fnic->lport->host, fnic_rport_abort_io_iter,
1701 fnic->lport->host, "fnic_terminate_rport_io called"
1742 lp = shost_priv(sc->device->host);
1751 fnic->lport->host,
1805 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
1895 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1933 FNIC_TRACE(fnic_abort_cmd, sc->device->host->host_no, tag, sc,
1940 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1952 struct Scsi_Host *host = fnic->lport->host;
1962 spin_lock_irqsave(host->host_lock, intr_flags);
1965 spin_unlock_irqrestore(host->host_lock, intr_flags);
1969 spin_unlock_irqrestore(host->host_lock, intr_flags);
1977 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2041 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2051 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
2059 shost_printk(KERN_ERR, fnic->lport->host,
2076 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
2172 scsi_host_busy_iter(fnic->lport->host,
2185 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
2218 lp = shost_priv(sc->device->host);
2227 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2255 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
2285 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host, "TAG %x\n", tag);
2313 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2327 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2355 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2382 fnic->lport->host,
2398 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2424 FNIC_TRACE(fnic_device_reset, sc->device->host->host_no, rq->tag, sc,
2436 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2459 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2470 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2485 * error handling levels return FAILED. If host reset completes
2489 * host is offlined by SCSI.
2496 struct Scsi_Host *shost = sc->device->host;
2506 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2507 "host reset in progress skipping another host reset\n");
2514 * scsi-ml tries to send a TUR to every device if host reset is
2538 * This fxn is called from libFC when host is removed
2581 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2684 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
2716 scsi_host_busy_iter(fnic->lport->host,