Home
last modified time | relevance | path

Searched refs:hba_port_ptr (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/lib/sun_sas/common/
H A DSun_sasGetAdapterPortAttributes.c38 struct sun_sas_port *hba_port_ptr; in Sun_sasGetAdapterPortAttributes() local
83 for (hba_port_ptr = hba_ptr->first_port; in Sun_sasGetAdapterPortAttributes()
84 hba_port_ptr != NULL; hba_port_ptr = hba_port_ptr->next) { in Sun_sasGetAdapterPortAttributes()
85 if (hba_port_ptr->index == port) { in Sun_sasGetAdapterPortAttributes()
89 if (hba_port_ptr == NULL || hba_port_ptr->index != port) { in Sun_sasGetAdapterPortAttributes()
98 attributes->PortType = hba_port_ptr->port_attributes.PortType; in Sun_sasGetAdapterPortAttributes()
99 attributes->PortState = hba_port_ptr->port_attributes.PortState; in Sun_sasGetAdapterPortAttributes()
101 hba_port_ptr->port_attributes.OSDeviceName, in Sun_sasGetAdapterPortAttributes()
104 hba_port_ptr->port_attributes.PortSpecificAttribute.SASPort, in Sun_sasGetAdapterPortAttributes()
H A DSun_sasGetPortAttributesByWWN.c39 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasGetPortAttributesByWWN() local
89 for (hba_port_ptr = hba_ptr->first_port; in Sun_sasGetPortAttributesByWWN()
90 hba_port_ptr != NULL; in Sun_sasGetPortAttributesByWWN()
91 hba_port_ptr = hba_port_ptr->next) { in Sun_sasGetPortAttributesByWWN()
93 if (validateDomainAddress(hba_port_ptr, in Sun_sasGetPortAttributesByWWN()
100 if (wwnConversion(hba_port_ptr->port_attributes. in Sun_sasGetPortAttributesByWWN()
118 hba_port_ptr->port_attributes.PortType; in Sun_sasGetPortAttributesByWWN()
120 hba_port_ptr->port_attributes.PortState; in Sun_sasGetPortAttributesByWWN()
122 hba_port_ptr->port_attributes.OSDeviceName, in Sun_sasGetPortAttributesByWWN()
125 hba_port_ptr->port_attributes.PortSpecificAttribute. in Sun_sasGetPortAttributesByWWN()
[all …]
H A DSun_sasGetSASPhyAttributes.c38 struct sun_sas_port *hba_port_ptr; in Sun_sasGetSASPhyAttributes() local
62 for (hba_port_ptr = hba_ptr->first_port; in Sun_sasGetSASPhyAttributes()
63 hba_port_ptr != NULL; in Sun_sasGetSASPhyAttributes()
64 hba_port_ptr = hba_port_ptr->next) { in Sun_sasGetSASPhyAttributes()
65 if (hba_port_ptr->index == port) { in Sun_sasGetSASPhyAttributes()
70 if (hba_port_ptr == NULL) { in Sun_sasGetSASPhyAttributes()
77 if (phy >= hba_port_ptr->port_attributes.PortSpecificAttribute. in Sun_sasGetSASPhyAttributes()
83 for (phy_ptr = hba_port_ptr->first_phy; phy_ptr != NULL; in Sun_sasGetSASPhyAttributes()
H A DSun_sasGetPortType.c40 struct sun_sas_port *hba_port_ptr; in Sun_sasGetPortType() local
76 for (hba_port_ptr = hba_ptr->first_port; in Sun_sasGetPortType()
77 hba_port_ptr != NULL; hba_port_ptr = hba_port_ptr->next) { in Sun_sasGetPortType()
78 if (hba_port_ptr->index == port) { in Sun_sasGetPortType()
83 if (hba_port_ptr == NULL || hba_port_ptr->index != port) { in Sun_sasGetPortType()
H A DSun_sasGetDiscoveredPortAttributes.c41 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasGetDiscoveredPortAttributes() local
89 for (hba_port_ptr = hba_ptr->first_port; in Sun_sasGetDiscoveredPortAttributes()
90 hba_port_ptr != NULL; hba_port_ptr = hba_port_ptr->next) { in Sun_sasGetDiscoveredPortAttributes()
91 if (hba_port_ptr->index == port) { in Sun_sasGetDiscoveredPortAttributes()
96 if (hba_port_ptr == NULL) { in Sun_sasGetDiscoveredPortAttributes()
106 if (hba_port_ptr->first_attached_port != NULL) { in Sun_sasGetDiscoveredPortAttributes()
107 for (hba_disco_port = hba_port_ptr->first_attached_port; in Sun_sasGetDiscoveredPortAttributes()
H A DSun_sasGetPhyStatistics.c38 struct sun_sas_port *hba_port_ptr; in Sun_sasGetPhyStatistics() local
83 for (hba_port_ptr = hba_ptr->first_port; in Sun_sasGetPhyStatistics()
84 hba_port_ptr != NULL; in Sun_sasGetPhyStatistics()
85 hba_port_ptr = hba_port_ptr->next) { in Sun_sasGetPhyStatistics()
86 if (hba_port_ptr->index == port) { in Sun_sasGetPhyStatistics()
91 if (hba_port_ptr == NULL) { in Sun_sasGetPhyStatistics()
98 if (phy >= hba_port_ptr->port_attributes.PortSpecificAttribute. in Sun_sasGetPhyStatistics()
106 for (phy_ptr = hba_port_ptr->first_phy; in Sun_sasGetPhyStatistics()
128 (void *) strlcpy(path, hba_port_ptr->device_path, in Sun_sasGetPhyStatistics()
176 iport_wwn = wwnConversion(hba_port_ptr->port_attributes.\ in Sun_sasGetPhyStatistics()
H A DSun_sasGetTargetMapping.c42 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasGetTargetMapping() local
78 for (hba_port_ptr = hba_ptr->first_port; hba_port_ptr != NULL; in Sun_sasGetTargetMapping()
79 hba_port_ptr = hba_port_ptr->next) { in Sun_sasGetTargetMapping()
81 if (wwnConversion(hba_port_ptr->port_attributes. in Sun_sasGetTargetMapping()
98 if ((validateDomainAddress(hba_port_ptr, domainPortWWN)) in Sun_sasGetTargetMapping()
104 for (hba_disco_port = hba_port_ptr->first_attached_port; in Sun_sasGetTargetMapping()
H A DSun_sasSendSMPPassThru.c96 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasSendSMPPassThru() local
148 for (hba_port_ptr = hba_ptr->first_port; in Sun_sasSendSMPPassThru()
149 hba_port_ptr != NULL; in Sun_sasSendSMPPassThru()
150 hba_port_ptr = hba_port_ptr->next) { in Sun_sasSendSMPPassThru()
153 if (wwnConversion(hba_port_ptr->port_attributes. in Sun_sasSendSMPPassThru()
168 if (hba_port_ptr->first_phy != NULL && in Sun_sasSendSMPPassThru()
169 wwnConversion(hba_port_ptr->first_phy-> in Sun_sasSendSMPPassThru()
179 for (hba_disco_port = hba_port_ptr->first_attached_port; in Sun_sasSendSMPPassThru()
H A DSun_sasGetNumberOfPorts.c40 struct sun_sas_port *hba_port_ptr; in Sun_sasGetNumberOfPorts() local
69 for (count = 0, hba_port_ptr = hba_ptr->first_port; in Sun_sasGetNumberOfPorts()
70 hba_port_ptr != NULL; hba_port_ptr = hba_port_ptr->next, count++) {} in Sun_sasGetNumberOfPorts()
H A DSun_sasScsiReportLUNs.c77 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasScsiReportLUNs() local
128 for (hba_port_ptr = hba_ptr->first_port; in Sun_sasScsiReportLUNs()
129 hba_port_ptr != NULL; in Sun_sasScsiReportLUNs()
130 hba_port_ptr = hba_port_ptr->next) { in Sun_sasScsiReportLUNs()
133 if (wwnConversion(hba_port_ptr->port_attributes. in Sun_sasScsiReportLUNs()
148 if (hba_port_ptr->first_phy != NULL && in Sun_sasScsiReportLUNs()
149 wwnConversion(hba_port_ptr->first_phy-> in Sun_sasScsiReportLUNs()
159 for (hba_disco_port = hba_port_ptr->first_attached_port; in Sun_sasScsiReportLUNs()
H A DSun_sasScsiReadCapacity.c77 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasScsiReadCapacity() local
135 for (hba_port_ptr = hba_ptr->first_port; in Sun_sasScsiReadCapacity()
136 hba_port_ptr != NULL; in Sun_sasScsiReadCapacity()
137 hba_port_ptr = hba_port_ptr->next) { in Sun_sasScsiReadCapacity()
140 if (wwnConversion(hba_port_ptr->port_attributes. in Sun_sasScsiReadCapacity()
155 if (hba_port_ptr->first_phy != NULL && in Sun_sasScsiReadCapacity()
156 wwnConversion(hba_port_ptr->first_phy-> in Sun_sasScsiReadCapacity()
166 for (hba_disco_port = hba_port_ptr->first_attached_port; in Sun_sasScsiReadCapacity()
H A DSun_sasScsiInquiry.c81 struct sun_sas_port *hba_port_ptr, *hba_disco_port; in Sun_sasScsiInquiry() local
147 for (hba_port_ptr = hba_ptr->first_port; in Sun_sasScsiInquiry()
148 hba_port_ptr != NULL; in Sun_sasScsiInquiry()
149 hba_port_ptr = hba_port_ptr->next) { in Sun_sasScsiInquiry()
152 if (wwnConversion(hba_port_ptr->port_attributes. in Sun_sasScsiInquiry()
167 if (hba_port_ptr->first_phy != NULL && in Sun_sasScsiInquiry()
168 wwnConversion(hba_port_ptr->first_phy-> in Sun_sasScsiInquiry()
178 for (hba_disco_port = hba_port_ptr->first_attached_port; in Sun_sasScsiInquiry()
H A Devent.c83 struct sun_sas_port *hba_port_ptr; in updateMatchingPhy() local
93 for (hba_port_ptr = hba_ptr->first_port; in updateMatchingPhy()
94 hba_port_ptr != NULL; in updateMatchingPhy()
95 hba_port_ptr = hba_port_ptr->next) { in updateMatchingPhy()
96 if (wwnConversion(hba_port_ptr-> in updateMatchingPhy()
101 for (phy_ptr = hba_port_ptr->first_phy; in updateMatchingPhy()
H A Dsun_sas.c422 validateDomainAddress(struct sun_sas_port *hba_port_ptr, HBA_WWN DomainAddr) in validateDomainAddress() argument
424 if (hba_port_ptr->first_phy != NULL && in validateDomainAddress()
425 wwnConversion(hba_port_ptr->first_phy-> in validateDomainAddress()