Lines Matching defs:host

188 	spin_lock_irqsave(fnic->lport->host->host_lock, host_lock_flags);
195 spin_unlock_irqrestore(fnic->lport->host->host_lock, host_lock_flags);
243 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
247 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
291 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
297 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
376 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
425 struct fc_lport *lp = shost_priv(sc->device->host);
448 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
457 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
467 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
478 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
493 * Release host lock, use driver resource specific locks from here.
497 spin_unlock(lp->host->host_lock);
513 FNIC_TRACE(fnic_queuecommand, sc->device->host->host_no,
573 FNIC_TRACE(fnic_queuecommand, sc->device->host->host_no,
585 /* acquire host lock before returning to SCSI */
586 spin_lock(lp->host->host_lock);
605 FNIC_TRACE(fnic_queuecommand, sc->device->host->host_no,
615 /* acquire host lock before returning to SCSI */
616 spin_lock(lp->host->host_lock);
653 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
659 fnic->lport->host,
675 fnic->lport->host,
728 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
733 fnic->lport->host,
740 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
812 fnic->lport->host->host_no, 0, 0, ox_id_tag[2], ox_id_tag[3],
844 shost_printk(KERN_ERR, fnic->lport->host,
850 sc = scsi_host_find_tag(fnic->lport->host, id);
854 shost_printk(KERN_ERR, fnic->lport->host,
859 fnic->lport->host->host_no, id,
877 shost_printk(KERN_ERR, fnic->lport->host,
904 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
993 shost_printk(KERN_ERR, fnic->lport->host, "hdr status = %s\n",
1008 sc->device->host->host_no, id, sc,
1082 shost_printk(KERN_ERR, fnic->lport->host,
1088 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,
1198 sc->device->host->host_no, id,
1225 sc->device->host->host_no, id, sc,
1229 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1240 sc->device->host->host_no, id, sc,
1244 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1253 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1262 shost_printk(KERN_ERR, fnic->lport->host,
1315 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1379 sc = scsi_host_find_tag(fnic->lport->host, i);
1421 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1434 shost_printk(KERN_ERR, fnic->lport->host,
1439 sc->device->host->host_no, i, sc,
1470 sc = scsi_host_find_tag(fnic->lport->host, id);
1497 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host, "wq_copy_cleanup_handler:"
1502 sc->device->host->host_no, id, sc,
1518 struct Scsi_Host *host = fnic->lport->host;
1522 spin_lock_irqsave(host->host_lock, flags);
1525 spin_unlock_irqrestore(host->host_lock, flags);
1529 spin_unlock_irqrestore(host->host_lock, flags);
1539 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1575 fnic->lport->host,
1586 sc = scsi_host_find_tag(fnic->lport->host, tag);
1601 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1617 shost_printk(KERN_ERR, fnic->lport->host,
1624 shost_printk(KERN_ERR, fnic->lport->host,
1636 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1643 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1716 fnic->lport->host, "fnic_terminate_rport_io called"
1731 sc = scsi_host_find_tag(fnic->lport->host, tag);
1752 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1767 shost_printk(KERN_ERR, fnic->lport->host,
1773 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
1785 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
1792 fnic->lport->host,
1858 lp = shost_priv(sc->device->host);
1868 fnic->lport->host,
1922 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
2012 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2052 FNIC_TRACE(fnic_abort_cmd, sc->device->host->host_no,
2060 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2072 struct Scsi_Host *host = fnic->lport->host;
2078 spin_lock_irqsave(host->host_lock, intr_flags);
2081 spin_unlock_irqrestore(host->host_lock, intr_flags);
2085 spin_unlock_irqrestore(host->host_lock, intr_flags);
2093 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2146 sc = scsi_host_find_tag(fnic->lport->host, tag);
2167 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2177 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
2185 shost_printk(KERN_ERR, fnic->lport->host,
2203 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,
2292 * Allocates tagid from host's tag list
2350 lp = shost_priv(sc->device->host);
2359 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2410 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host, "TAG %x\n", tag);
2438 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2452 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2480 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2507 fnic->lport->host,
2523 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2549 FNIC_TRACE(fnic_device_reset, sc->device->host->host_no,
2561 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2584 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2595 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2610 * error handling levels return FAILED. If host reset completes
2614 * host is offlined by SCSI.
2621 struct Scsi_Host *shost = sc->device->host;
2631 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2632 "host reset in progress skipping another host reset\n");
2639 * scsi-ml tries to send a TUR to every device if host reset is
2663 * This fxn is called from libFC when host is removed
2705 FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
2799 sc = scsi_host_find_tag(fnic->lport->host, tag);
2821 FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host,