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

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

Completed in 744 milliseconds