Home
last modified time | relevance | path

Searched refs:scsi_host (Results 1 – 10 of 10) sorted by relevance

/linux-4.19.296/drivers/s390/scsi/
Dzfcp_scsi.c164 struct Scsi_Host *scsi_host = scpnt->device->host; in zfcp_scsi_eh_abort_handler() local
166 (struct zfcp_adapter *) scsi_host->hostdata[0]; in zfcp_scsi_eh_abort_handler()
454 if (adapter->scsi_host) in zfcp_scsi_adapter_register()
459 adapter->scsi_host = scsi_host_alloc(&zfcp_scsi_host_template, in zfcp_scsi_adapter_register()
461 if (!adapter->scsi_host) { in zfcp_scsi_adapter_register()
469 adapter->scsi_host->max_id = 511; in zfcp_scsi_adapter_register()
470 adapter->scsi_host->max_lun = 0xFFFFFFFF; in zfcp_scsi_adapter_register()
471 adapter->scsi_host->max_channel = 0; in zfcp_scsi_adapter_register()
472 adapter->scsi_host->unique_id = dev_id.devno; in zfcp_scsi_adapter_register()
473 adapter->scsi_host->max_cmd_len = 16; /* in struct fcp_cmnd */ in zfcp_scsi_adapter_register()
[all …]
Dzfcp_erp.c118 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()
[all …]
Dzfcp_sysfs.c261 spin_lock_irqsave(adapter->scsi_host->host_lock, flags); in zfcp_sysfs_port_in_use()
262 __shost_for_each_device(sdev, adapter->scsi_host) { in zfcp_sysfs_port_in_use()
279 spin_unlock_irqrestore(adapter->scsi_host->host_lock, flags); in zfcp_sysfs_port_in_use()
566 struct Scsi_Host *scsi_host = dev_to_shost(dev); in zfcp_sysfs_adapter_util_show() local
571 adapter = (struct zfcp_adapter *) scsi_host->hostdata[0]; in zfcp_sysfs_adapter_util_show()
591 struct Scsi_Host *scsi_host = dev_to_shost(dev); in zfcp_sysfs_adapter_ex_config() local
596 adapter = (struct zfcp_adapter *) scsi_host->hostdata[0]; in zfcp_sysfs_adapter_ex_config()
645 struct Scsi_Host *scsi_host = class_to_shost(dev); in zfcp_sysfs_adapter_q_full_show() local
647 ((struct zfcp_adapter *) scsi_host->hostdata[0])->qdio; in zfcp_sysfs_adapter_q_full_show()
Dzfcp_fc.c113 fc_host_post_event(adapter->scsi_host, fc_get_event_number(), in zfcp_fc_post_event()
548 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fc_adisc()
731 fc_host_port_name(adapter->scsi_host)) in zfcp_fc_eval_gpn_ft()
776 if (fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPORT && in zfcp_fc_scan_ports()
777 fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPIV) in zfcp_fc_scan_ports()
815 hton24(gspn_req->gspn.fp_fid, fc_host_port_id(adapter->scsi_host)); in zfcp_fc_gspn()
834 if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_NPIV && in zfcp_fc_gspn()
836 snprintf(fc_host_symbolic_name(adapter->scsi_host), in zfcp_fc_gspn()
842 strlcpy(fc_host_symbolic_name(adapter->scsi_host), in zfcp_fc_gspn()
852 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fc_rspn()
[all …]
Dzfcp_unit.c60 if (scsi_queue_work(port->adapter->scsi_host, in zfcp_unit_queue_scsi_scan()
203 shost = port->adapter->scsi_host; in zfcp_unit_sdev()
Dzfcp_qdio.c433 if (adapter->scsi_host) { in zfcp_qdio_open()
434 adapter->scsi_host->sg_tablesize = qdio->max_sbale_per_req; in zfcp_qdio_open()
435 adapter->scsi_host->max_sectors = qdio->max_sbale_per_req * 8; in zfcp_qdio_open()
Dzfcp_def.h158 struct Scsi_Host *scsi_host; /* Pointer to mid-layer */ member
Dzfcp_fsf.c485 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fsf_exchange_config_evaluate()
553 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fsf_exchange_config_data_handler()
630 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fsf_exchange_port_evaluate()
1719 shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_fsf_close_physical_port_handler()
1742 shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_fsf_close_physical_port_handler()
/linux-4.19.296/drivers/message/fusion/
DKconfig118 echo [level] > /sys/class/scsi_host/host#/debug_level
/linux-4.19.296/include/linux/
Dlibata.h833 struct Scsi_Host *scsi_host; /* our co-allocated scsi host */ member