Lines Matching refs:scsi_host
118 spin_lock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
119 __shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_erp_action_dismiss_port()
122 spin_unlock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
689 spin_lock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
690 __shost_for_each_device(sdev, port->adapter->scsi_host) in _zfcp_erp_lun_reopen_all()
693 spin_unlock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
792 if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_PTP) in zfcp_erp_adapter_strat_fsf_xconf()
984 if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_PTP) in zfcp_erp_port_strategy_open_common()
1307 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_erp_try_rport_unblock()
1592 spin_lock_irqsave(adapter->scsi_host->host_lock, flags); in zfcp_erp_set_adapter_status()
1593 __shost_for_each_device(sdev, adapter->scsi_host) in zfcp_erp_set_adapter_status()
1595 spin_unlock_irqrestore(adapter->scsi_host->host_lock, flags); in zfcp_erp_set_adapter_status()
1629 spin_lock_irqsave(adapter->scsi_host->host_lock, flags); in zfcp_erp_clear_adapter_status()
1630 __shost_for_each_device(sdev, adapter->scsi_host) { in zfcp_erp_clear_adapter_status()
1635 spin_unlock_irqrestore(adapter->scsi_host->host_lock, flags); in zfcp_erp_clear_adapter_status()
1656 spin_lock_irqsave(port->adapter->scsi_host->host_lock, flags); in zfcp_erp_set_port_status()
1657 __shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_erp_set_port_status()
1661 spin_unlock_irqrestore(port->adapter->scsi_host->host_lock, flags); in zfcp_erp_set_port_status()
1686 spin_lock_irqsave(port->adapter->scsi_host->host_lock, flags); in zfcp_erp_clear_port_status()
1687 __shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_erp_clear_port_status()
1694 spin_unlock_irqrestore(port->adapter->scsi_host->host_lock, flags); in zfcp_erp_clear_port_status()