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

/osnet-11/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_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_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_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_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_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_sasGetTargetMapping.c41 struct sun_sas_port *hba_port_ptr, *hba_disco_port; local
77 for (hba_port_ptr = hba_ptr->first_port; hba_port_ptr != NULL;
78 hba_port_ptr = hba_port_ptr->next) {
80 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_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 DSun_sasScsiReportLUNs.c76 struct sun_sas_port *hba_port_ptr, *hba_disco_port; local
127 for (hba_port_ptr = hba_ptr->first_port;
128 hba_port_ptr != NULL;
129 hba_port_ptr = hba_port_ptr->next) {
132 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 Devent.c50 struct sun_sas_port *hba_port_ptr; local
60 for (hba_port_ptr = hba_ptr->first_port;
61 hba_port_ptr != NULL;
62 hba_port_ptr = hba_port_ptr->next) {
63 if (wwnConversion(hba_port_ptr->
68 for (phy_ptr = hba_port_ptr->first_phy;
H A DSun_sasScsiInquiry.c80 struct sun_sas_port *hba_port_ptr, *hba_disco_port; local
146 for (hba_port_ptr = hba_ptr->first_port;
147 hba_port_ptr != NULL;
148 hba_port_ptr = hba_port_ptr->next) {
151 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.c76 struct sun_sas_port *hba_port_ptr, *hba_disco_port; local
134 for (hba_port_ptr = hba_ptr->first_port;
135 hba_port_ptr != NULL;
136 hba_port_ptr = hba_port_ptr->next) {
139 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_sasSendSMPPassThru.c95 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.
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_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 29 milliseconds