Home
last modified time | relevance | path

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

12345678

/dports/devel/libvirt/libvirt-7.10.0/src/conf/
H A Dstorage_adapter_conf.c59 VIR_FREE(adapter->data.scsi_host.name); in virStorageAdapterClear()
87 scsi_host->name = virXMLPropString(node, "name"); in virStorageAdapterParseXMLSCSIHost()
96 scsi_host->has_parent = true; in virStorageAdapterParseXMLSCSIHost()
101 &scsi_host->unique_id) < 0) || in virStorageAdapterParseXMLSCSIHost()
102 (scsi_host->unique_id < 0)) { in virStorageAdapterParseXMLSCSIHost()
242 if (!scsi_host->name && !scsi_host->has_parent) { in virStorageAdapterValidateSCSIHost()
249 if (scsi_host->name && scsi_host->has_parent) { in virStorageAdapterValidateSCSIHost()
301 if (scsi_host->name) { in virStorageAdapterFormatSCSIHost()
302 virBufferAsprintf(buf, " name='%s'/>\n", scsi_host->name); in virStorageAdapterFormatSCSIHost()
307 scsi_host->unique_id); in virStorageAdapterFormatSCSIHost()
[all …]
H A Dnode_device_conf.c497 if (data->scsi_host.unique_id != -1) in virNodeDeviceCapSCSIHostDefFormat()
1544 scsi_host->unique_id = -1; in virNodeDevCapSCSIHostParseXML()
2551 g_free(data->scsi_host.wwnn); in virNodeDevCapsDefFree()
2552 g_free(data->scsi_host.wwpn); in virNodeDevCapsDefFree()
2783 if ((scsi_host->unique_id = in virNodeDeviceGetSCSIHostCaps()
2786 scsi_host->unique_id = -1; in virNodeDeviceGetSCSIHostCaps()
2798 VIR_FREE(scsi_host->wwpn); in virNodeDeviceGetSCSIHostCaps()
2805 VIR_FREE(scsi_host->wwnn); in virNodeDeviceGetSCSIHostCaps()
2820 scsi_host->host); in virNodeDeviceGetSCSIHostCaps()
2849 VIR_FREE(scsi_host->wwnn); in virNodeDeviceGetSCSIHostCaps()
[all …]
H A Dvirnodedeviceobj.c151 (caps->data.scsi_host.flags & VIR_NODE_DEV_CAP_FLAG_HBA_FC_HOST)) in virNodeDeviceFindFCCapDef()
175 (caps->data.scsi_host.flags & VIR_NODE_DEV_CAP_FLAG_HBA_VPORT_OPS)) in virNodeDeviceFindVPORTCapDef()
273 STREQ_NULLABLE(cap->data.scsi_host.wwnn, data->parent_wwnn) && in virNodeDeviceObjListFindByWWNsCallback()
274 STREQ_NULLABLE(cap->data.scsi_host.wwpn, data->parent_wwpn) && in virNodeDeviceObjListFindByWWNsCallback()
308 STREQ_NULLABLE(cap->data.scsi_host.fabric_wwn, matchstr) && in virNodeDeviceObjListFindByFabricWWNCallback()
374 virNodeDeviceGetSCSIHostCaps(&cap->data.scsi_host); in virNodeDeviceObjListFindSCSIHostByWWNsCallback()
375 if (cap->data.scsi_host.flags & in virNodeDeviceObjListFindSCSIHostByWWNsCallback()
377 if (STREQ(cap->data.scsi_host.wwnn, data->wwnn) && in virNodeDeviceObjListFindSCSIHostByWWNsCallback()
378 STREQ(cap->data.scsi_host.wwpn, data->wwpn)) { in virNodeDeviceObjListFindSCSIHostByWWNsCallback()
566 return cap->data.scsi_host.host; in virNodeDeviceFindFCParentHost()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/Documentation/ABI/testing/
H A Dsysfs-class-scsi_host1 What: /sys/class/scsi_host/hostX/isci_id
9 which usually means the lowest number scsi_host corresponds
15 What: /sys/class/scsi_host/hostX/acciopath_status
64 What: /sys/class/scsi_host/hostX/em_message
65 What: /sys/class/scsi_host/hostX/em_message_type
82 What: /sys/class/scsi_host/hostX/ahci_port_cmd
83 What: /sys/class/scsi_host/hostX/ahci_host_caps
84 What: /sys/class/scsi_host/hostX/ahci_host_cap2
91 What: /sys/class/scsi_host/hostX/ahci_host_version
99 What: /sys/class/scsi_host/hostX/em_buffer
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/Documentation/ABI/testing/
H A Dsysfs-class-scsi_host1 What: /sys/class/scsi_host/hostX/isci_id
9 which usually means the lowest number scsi_host corresponds
15 What: /sys/class/scsi_host/hostX/acciopath_status
64 What: /sys/class/scsi_host/hostX/em_message
65 What: /sys/class/scsi_host/hostX/em_message_type
82 What: /sys/class/scsi_host/hostX/ahci_port_cmd
83 What: /sys/class/scsi_host/hostX/ahci_host_caps
84 What: /sys/class/scsi_host/hostX/ahci_host_cap2
91 What: /sys/class/scsi_host/hostX/ahci_host_version
99 What: /sys/class/scsi_host/hostX/em_buffer
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/Documentation/ABI/testing/
H A Dsysfs-class-scsi_host1 What: /sys/class/scsi_host/hostX/isci_id
9 which usually means the lowest number scsi_host corresponds
15 What: /sys/class/scsi_host/hostX/acciopath_status
64 What: /sys/class/scsi_host/hostX/em_message
65 What: /sys/class/scsi_host/hostX/em_message_type
82 What: /sys/class/scsi_host/hostX/ahci_port_cmd
83 What: /sys/class/scsi_host/hostX/ahci_host_caps
84 What: /sys/class/scsi_host/hostX/ahci_host_cap2
91 What: /sys/class/scsi_host/hostX/ahci_host_version
99 What: /sys/class/scsi_host/hostX/em_buffer
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/s390/scsi/
H A Dzfcp_scsi.c478 if (adapter->scsi_host) in zfcp_scsi_adapter_register()
485 if (!adapter->scsi_host) in zfcp_scsi_adapter_register()
489 adapter->scsi_host->max_id = 511; in zfcp_scsi_adapter_register()
490 adapter->scsi_host->max_lun = 0xFFFFFFFF; in zfcp_scsi_adapter_register()
491 adapter->scsi_host->max_channel = 0; in zfcp_scsi_adapter_register()
492 adapter->scsi_host->unique_id = dev_id.devno; in zfcp_scsi_adapter_register()
503 scsi_host_put(adapter->scsi_host); in zfcp_scsi_adapter_register()
509 adapter->scsi_host = NULL; in zfcp_scsi_adapter_register()
524 shost = adapter->scsi_host; in zfcp_scsi_adapter_unregister()
536 adapter->scsi_host = NULL; in zfcp_scsi_adapter_unregister()
[all …]
H A Dzfcp_erp.c99 spin_lock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
100 __shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_erp_action_dismiss_port()
103 spin_unlock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
674 spin_lock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
675 __shost_for_each_device(sdev, port->adapter->scsi_host) in _zfcp_erp_lun_reopen_all()
678 spin_unlock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
1418 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_erp_try_rport_unblock()
1714 if (adapter->scsi_host == NULL) in zfcp_erp_set_adapter_status()
1718 __shost_for_each_device(sdev, adapter->scsi_host) in zfcp_erp_set_adapter_status()
1758 if (adapter->scsi_host == NULL) in zfcp_erp_clear_adapter_status()
[all …]
H A Dzfcp_fc.c113 fc_host_post_event(adapter->scsi_host, fc_get_event_number(), in zfcp_fc_post_event()
536 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fc_adisc()
755 fc_host_port_name(adapter->scsi_host)) in zfcp_fc_eval_gpn_ft()
800 if (fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPORT && in zfcp_fc_scan_ports()
801 fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPIV) in zfcp_fc_scan_ports()
858 if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_NPIV && in zfcp_fc_gspn()
860 snprintf(fc_host_symbolic_name(adapter->scsi_host), in zfcp_fc_gspn()
866 strlcpy(fc_host_symbolic_name(adapter->scsi_host), in zfcp_fc_gspn()
876 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fc_rspn()
921 if (fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPORT && in zfcp_fc_sym_name_update()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/s390/scsi/
H A Dzfcp_scsi.c478 if (adapter->scsi_host) in zfcp_scsi_adapter_register()
485 if (!adapter->scsi_host) in zfcp_scsi_adapter_register()
489 adapter->scsi_host->max_id = 511; in zfcp_scsi_adapter_register()
490 adapter->scsi_host->max_lun = 0xFFFFFFFF; in zfcp_scsi_adapter_register()
491 adapter->scsi_host->max_channel = 0; in zfcp_scsi_adapter_register()
492 adapter->scsi_host->unique_id = dev_id.devno; in zfcp_scsi_adapter_register()
503 scsi_host_put(adapter->scsi_host); in zfcp_scsi_adapter_register()
509 adapter->scsi_host = NULL; in zfcp_scsi_adapter_register()
524 shost = adapter->scsi_host; in zfcp_scsi_adapter_unregister()
536 adapter->scsi_host = NULL; in zfcp_scsi_adapter_unregister()
[all …]
H A Dzfcp_erp.c99 spin_lock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
100 __shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_erp_action_dismiss_port()
103 spin_unlock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
674 spin_lock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
675 __shost_for_each_device(sdev, port->adapter->scsi_host) in _zfcp_erp_lun_reopen_all()
678 spin_unlock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
1418 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_erp_try_rport_unblock()
1714 if (adapter->scsi_host == NULL) in zfcp_erp_set_adapter_status()
1718 __shost_for_each_device(sdev, adapter->scsi_host) in zfcp_erp_set_adapter_status()
1758 if (adapter->scsi_host == NULL) in zfcp_erp_clear_adapter_status()
[all …]
H A Dzfcp_fc.c113 fc_host_post_event(adapter->scsi_host, fc_get_event_number(), in zfcp_fc_post_event()
536 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fc_adisc()
755 fc_host_port_name(adapter->scsi_host)) in zfcp_fc_eval_gpn_ft()
800 if (fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPORT && in zfcp_fc_scan_ports()
801 fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPIV) in zfcp_fc_scan_ports()
858 if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_NPIV && in zfcp_fc_gspn()
860 snprintf(fc_host_symbolic_name(adapter->scsi_host), in zfcp_fc_gspn()
866 strlcpy(fc_host_symbolic_name(adapter->scsi_host), in zfcp_fc_gspn()
876 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fc_rspn()
921 if (fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPORT && in zfcp_fc_sym_name_update()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/s390/scsi/
H A Dzfcp_scsi.c478 if (adapter->scsi_host) in zfcp_scsi_adapter_register()
485 if (!adapter->scsi_host) in zfcp_scsi_adapter_register()
489 adapter->scsi_host->max_id = 511; in zfcp_scsi_adapter_register()
490 adapter->scsi_host->max_lun = 0xFFFFFFFF; in zfcp_scsi_adapter_register()
491 adapter->scsi_host->max_channel = 0; in zfcp_scsi_adapter_register()
492 adapter->scsi_host->unique_id = dev_id.devno; in zfcp_scsi_adapter_register()
503 scsi_host_put(adapter->scsi_host); in zfcp_scsi_adapter_register()
509 adapter->scsi_host = NULL; in zfcp_scsi_adapter_register()
524 shost = adapter->scsi_host; in zfcp_scsi_adapter_unregister()
536 adapter->scsi_host = NULL; in zfcp_scsi_adapter_unregister()
[all …]
H A Dzfcp_erp.c99 spin_lock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
100 __shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_erp_action_dismiss_port()
103 spin_unlock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
674 spin_lock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
675 __shost_for_each_device(sdev, port->adapter->scsi_host) in _zfcp_erp_lun_reopen_all()
678 spin_unlock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
1418 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_erp_try_rport_unblock()
1714 if (adapter->scsi_host == NULL) in zfcp_erp_set_adapter_status()
1718 __shost_for_each_device(sdev, adapter->scsi_host) in zfcp_erp_set_adapter_status()
1758 if (adapter->scsi_host == NULL) in zfcp_erp_clear_adapter_status()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/Documentation/ABI/stable/
H A Dsysfs-driver-ib_srp86 What: /sys/class/scsi_host/host<n>/allow_ext_sg
94 What: /sys/class/scsi_host/host<n>/ch_count
108 What: /sys/class/scsi_host/host<n>/comp_vector
114 What: /sys/class/scsi_host/host<n>/dgid
121 What: /sys/class/scsi_host/host<n>/id_ext
128 What: /sys/class/scsi_host/host<n>/ioc_guid
149 What: /sys/class/scsi_host/host<n>/orig_dgid
156 What: /sys/class/scsi_host/host<n>/pkey
163 What: /sys/class/scsi_host/host<n>/req_lim
171 What: /sys/class/scsi_host/host<n>/service_id
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/Documentation/ABI/stable/
H A Dsysfs-driver-ib_srp86 What: /sys/class/scsi_host/host<n>/allow_ext_sg
94 What: /sys/class/scsi_host/host<n>/ch_count
108 What: /sys/class/scsi_host/host<n>/comp_vector
114 What: /sys/class/scsi_host/host<n>/dgid
121 What: /sys/class/scsi_host/host<n>/id_ext
128 What: /sys/class/scsi_host/host<n>/ioc_guid
149 What: /sys/class/scsi_host/host<n>/orig_dgid
156 What: /sys/class/scsi_host/host<n>/pkey
163 What: /sys/class/scsi_host/host<n>/req_lim
171 What: /sys/class/scsi_host/host<n>/service_id
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/Documentation/ABI/stable/
H A Dsysfs-driver-ib_srp86 What: /sys/class/scsi_host/host<n>/allow_ext_sg
94 What: /sys/class/scsi_host/host<n>/ch_count
108 What: /sys/class/scsi_host/host<n>/comp_vector
114 What: /sys/class/scsi_host/host<n>/dgid
121 What: /sys/class/scsi_host/host<n>/id_ext
128 What: /sys/class/scsi_host/host<n>/ioc_guid
149 What: /sys/class/scsi_host/host<n>/orig_dgid
156 What: /sys/class/scsi_host/host<n>/pkey
163 What: /sys/class/scsi_host/host<n>/req_lim
171 What: /sys/class/scsi_host/host<n>/service_id
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/infiniband/ulp/srp/
H A Dib_srp.c1060 srp_remove_host(target->scsi_host); in srp_remove_target()
1082 scsi_host_put(target->scsi_host); in srp_remove_target()
2383 target->scsi_host->can_queue in srp_cm_rep_handler()
2386 target->scsi_host->cmd_per_lun in srp_cm_rep_handler()
3609 if (target->scsi_host->cmd_per_lun > target->scsi_host->can_queue in srp_parse_options()
3612 target->scsi_host->cmd_per_lun, in srp_parse_options()
3613 target->scsi_host->can_queue); in srp_parse_options()
3655 target->scsi_host = target_host; in srp_create_target()
3669 scsi_host_get(target->scsi_host); in srp_create_target()
3845 scsi_host_put(target->scsi_host); in srp_create_target()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/infiniband/ulp/srp/
H A Dib_srp.c1060 srp_remove_host(target->scsi_host); in srp_remove_target()
1082 scsi_host_put(target->scsi_host); in srp_remove_target()
2383 target->scsi_host->can_queue in srp_cm_rep_handler()
2386 target->scsi_host->cmd_per_lun in srp_cm_rep_handler()
3609 if (target->scsi_host->cmd_per_lun > target->scsi_host->can_queue in srp_parse_options()
3612 target->scsi_host->cmd_per_lun, in srp_parse_options()
3613 target->scsi_host->can_queue); in srp_parse_options()
3655 target->scsi_host = target_host; in srp_create_target()
3669 scsi_host_get(target->scsi_host); in srp_create_target()
3845 scsi_host_put(target->scsi_host); in srp_create_target()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/infiniband/ulp/srp/
H A Dib_srp.c1060 srp_remove_host(target->scsi_host); in srp_remove_target()
1082 scsi_host_put(target->scsi_host); in srp_remove_target()
2383 target->scsi_host->can_queue in srp_cm_rep_handler()
2386 target->scsi_host->cmd_per_lun in srp_cm_rep_handler()
3609 if (target->scsi_host->cmd_per_lun > target->scsi_host->can_queue in srp_parse_options()
3612 target->scsi_host->cmd_per_lun, in srp_parse_options()
3613 target->scsi_host->can_queue); in srp_parse_options()
3655 target->scsi_host = target_host; in srp_create_target()
3669 scsi_host_get(target->scsi_host); in srp_create_target()
3845 scsi_host_put(target->scsi_host); in srp_create_target()
[all …]
/dports/devel/libvirt/libvirt-7.10.0/src/storage/
H A Dstorage_backend_scsi.c170 virStorageAdapterSCSIHost *scsi_host = &adapter->data.scsi_host; in getAdapterName() local
172 if (scsi_host->has_parent) { in getAdapterName()
173 virPCIDeviceAddress *addr = &scsi_host->parentaddr; in getAdapterName()
174 unsigned int unique_id = scsi_host->unique_id; in getAdapterName()
183 name = g_strdup(scsi_host->name); in getAdapterName()
/dports/sysutils/sg3_utils/sg3_utils-1.42/scripts/
H A Drescan-scsi-bus.sh60 …hosts=`find /sys/class/scsi_host/host* -maxdepth 4 -type d -o -type l 2> /dev/null | awk -F'/' '{p…
346 echo "${channel} - -" > /sys/class/scsi_host/host${host}/scan
505 if test -e /sys/class/scsi_host/host${host}/scan; then
506 echo "$channel $id $lun" > /sys/class/scsi_host/host${host}/scan 2> /dev/null
540 if test -e /sys/class/scsi_host/host${host}/scan; then
541 echo "$channel $id $lun" > /sys/class/scsi_host/host${host}/scan 2> /dev/null
574 if test -e /sys/class/scsi_host/host${host}/scan; then
575 echo "$channel $id -" > /sys/class/scsi_host/host${host}/scan 2> /dev/null
1081 if test ! -d /sys/class/scsi_host/ -a ! -d /proc/scsi/; then
1175 if test -d /sys/class/scsi_host; then
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/Documentation/scsi/
H A Dscsi_fc_transport.rst66 virtual port. Typically, the driver will create a new scsi_host instance
89 Today, the device tree typically contains the scsi_host object,
91 transport creates the vport object and places it under the scsi_host
93 a new scsi_host for the vport and link its object under the vport.
94 The remainder of the tree under the vports scsi_host is the same
96 allow the parent of the vport to be something other than the scsi_host.
100 port's scsi_host.
127 /sys/class/scsi_host/host17 physical port's scsi_host
128 /sys/class/scsi_host/host18 vport's scsi_host
482 will call fc_remove_host() for the vports scsi_host, followed by
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/Documentation/scsi/
H A Dscsi_fc_transport.rst66 virtual port. Typically, the driver will create a new scsi_host instance
89 Today, the device tree typically contains the scsi_host object,
91 transport creates the vport object and places it under the scsi_host
93 a new scsi_host for the vport and link its object under the vport.
94 The remainder of the tree under the vports scsi_host is the same
96 allow the parent of the vport to be something other than the scsi_host.
100 port's scsi_host.
127 /sys/class/scsi_host/host17 physical port's scsi_host
128 /sys/class/scsi_host/host18 vport's scsi_host
482 will call fc_remove_host() for the vports scsi_host, followed by
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/Documentation/scsi/
H A Dscsi_fc_transport.rst66 virtual port. Typically, the driver will create a new scsi_host instance
89 Today, the device tree typically contains the scsi_host object,
91 transport creates the vport object and places it under the scsi_host
93 a new scsi_host for the vport and link its object under the vport.
94 The remainder of the tree under the vports scsi_host is the same
96 allow the parent of the vport to be something other than the scsi_host.
100 port's scsi_host.
127 /sys/class/scsi_host/host17 physical port's scsi_host
128 /sys/class/scsi_host/host18 vport's scsi_host
482 will call fc_remove_host() for the vports scsi_host, followed by
[all …]

12345678