Home
last modified time | relevance | path

Searched refs:hba_disco_port (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/lib/sun_sas/common/
H A DSun_sasGetDiscoveredPortAttributes.c41 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasGetDiscoveredPortAttributes() local
107 for (hba_disco_port = hba_port_ptr->first_attached_port; in Sun_sasGetDiscoveredPortAttributes()
108 hba_disco_port != NULL; in Sun_sasGetDiscoveredPortAttributes()
109 hba_disco_port = hba_disco_port->next) { in Sun_sasGetDiscoveredPortAttributes()
110 if (hba_disco_port->index == discoveredport) { in Sun_sasGetDiscoveredPortAttributes()
114 if (hba_disco_port == NULL) { in Sun_sasGetDiscoveredPortAttributes()
122 hba_disco_port->port_attributes.PortType; in Sun_sasGetDiscoveredPortAttributes()
124 hba_disco_port->port_attributes.PortState; in Sun_sasGetDiscoveredPortAttributes()
126 hba_disco_port->port_attributes.OSDeviceName, in Sun_sasGetDiscoveredPortAttributes()
129 hba_disco_port->port_attributes.PortSpecificAttribute. in Sun_sasGetDiscoveredPortAttributes()
H A DSun_sasGetPortAttributesByWWN.c39 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasGetPortAttributesByWWN() local
137 for (hba_disco_port = hba_port_ptr->first_attached_port; in Sun_sasGetPortAttributesByWWN()
138 hba_disco_port != NULL; in Sun_sasGetPortAttributesByWWN()
139 hba_disco_port = hba_disco_port->next) { in Sun_sasGetPortAttributesByWWN()
140 if (wwnConversion(hba_disco_port-> in Sun_sasGetPortAttributesByWWN()
145 hba_disco_port->port_attributes. in Sun_sasGetPortAttributesByWWN()
148 hba_disco_port->port_attributes. in Sun_sasGetPortAttributesByWWN()
151 hba_disco_port->port_attributes. in Sun_sasGetPortAttributesByWWN()
156 hba_disco_port->port_attributes. in Sun_sasGetPortAttributesByWWN()
H A DSun_sasScsiReportLUNs.c77 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasScsiReportLUNs() local
159 for (hba_disco_port = hba_port_ptr->first_attached_port; in Sun_sasScsiReportLUNs()
160 hba_disco_port != NULL; in Sun_sasScsiReportLUNs()
161 hba_disco_port = hba_disco_port->next) { in Sun_sasScsiReportLUNs()
166 if (wwnConversion(hba_disco_port->port_attributes.\ in Sun_sasScsiReportLUNs()
177 if ((hba_disco_port->port_attributes.PortType != in Sun_sasScsiReportLUNs()
179 (hba_disco_port->port_attributes.PortType != in Sun_sasScsiReportLUNs()
189 if ((mapping_ptr = hba_disco_port->scsiInfo) != NULL) { in Sun_sasScsiReportLUNs()
H A DSun_sasSendSMPPassThru.c96 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasSendSMPPassThru() local
179 for (hba_disco_port = hba_port_ptr->first_attached_port; in Sun_sasSendSMPPassThru()
180 hba_disco_port != NULL; in Sun_sasSendSMPPassThru()
181 hba_disco_port = hba_disco_port->next) { in Sun_sasSendSMPPassThru()
186 if (wwnConversion(hba_disco_port->port_attributes.\ in Sun_sasSendSMPPassThru()
198 if ((hba_disco_port->port_attributes.\ in Sun_sasSendSMPPassThru()
215 hba_disco_port->port_attributes.OSDeviceName, in Sun_sasSendSMPPassThru()
H A DSun_sasScsiReadCapacity.c77 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasScsiReadCapacity() local
166 for (hba_disco_port = hba_port_ptr->first_attached_port; in Sun_sasScsiReadCapacity()
167 hba_disco_port != NULL; in Sun_sasScsiReadCapacity()
168 hba_disco_port = hba_disco_port->next) { in Sun_sasScsiReadCapacity()
173 if (wwnConversion(hba_disco_port->port_attributes.\ in Sun_sasScsiReadCapacity()
184 if ((hba_disco_port->port_attributes.PortType != in Sun_sasScsiReadCapacity()
186 (hba_disco_port->port_attributes.PortType != in Sun_sasScsiReadCapacity()
199 for (mapping_ptr = hba_disco_port->scsiInfo; in Sun_sasScsiReadCapacity()
H A DSun_sasScsiInquiry.c81 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasScsiInquiry() local
178 for (hba_disco_port = hba_port_ptr->first_attached_port; in Sun_sasScsiInquiry()
179 hba_disco_port != NULL; in Sun_sasScsiInquiry()
180 hba_disco_port = hba_disco_port->next) { in Sun_sasScsiInquiry()
185 if (wwnConversion(hba_disco_port->port_attributes.\ in Sun_sasScsiInquiry()
196 if ((hba_disco_port->port_attributes.PortType != in Sun_sasScsiInquiry()
198 (hba_disco_port->port_attributes.PortType != in Sun_sasScsiInquiry()
211 for (mapping_ptr = hba_disco_port->scsiInfo; in Sun_sasScsiInquiry()
H A DSun_sasGetTargetMapping.c42 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasGetTargetMapping() local
104 for (hba_disco_port = hba_port_ptr->first_attached_port; in Sun_sasGetTargetMapping()
105 hba_disco_port != NULL; in Sun_sasGetTargetMapping()
106 hba_disco_port = hba_disco_port->next) { in Sun_sasGetTargetMapping()
107 for (mapping_ptr = hba_disco_port->scsiInfo; in Sun_sasGetTargetMapping()