Home
last modified time | relevance | path

Searched refs:portIndex (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/sasinfo/
H A Dsasinfo-list.c98 HBA_UINT32 portIndex, SMHBA_PORTATTRIBUTES *port,
102 sas_rp_tree_print_desc(HBA_HANDLE handle, HBA_UINT32 portIndex,
111 HBA_UINT32 portIndex, SMHBA_PORTATTRIBUTES *port,
127 HBA_UINT32 portIndex, SMHBA_PORTATTRIBUTES *port,
129 static int processHBAPortPhyInfo(HBA_HANDLE handle, HBA_UINT32 portIndex,
131 static int processHBAPortPhyStat(HBA_HANDLE handle, HBA_UINT32 portIndex,
136 HBA_UINT32 portIndex, SMHBA_PORTATTRIBUTES *port,
141 HBA_UINT32 portIndex, SMHBA_PORTATTRIBUTES *port,
146 HBA_UINT32 portIndex, SMHBA_PORTATTRIBUTES *port,
151 searchTargetPortMappingData(HBA_HANDLE handle, HBA_UINT32 portIndex,
[all …]
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcinfo-list.c49 int portIndex, HBA_PORTATTRIBUTES port, HBA_FCPTARGETMAPPINGV2 *map,
60 HBA_ADAPTERATTRIBUTES *attrs, HBA_PORTATTRIBUTES *port, int *portIndex);
85 HBA_ADAPTERATTRIBUTES *attrs, HBA_PORTATTRIBUTES *port, int *portIndex) in retrieveAttrs() argument
92 if (attrs == NULL || port == NULL || portIndex == NULL) { in retrieveAttrs()
144 *portIndex = 0; in retrieveAttrs()
147 *portIndex = portCtr; in retrieveAttrs()
371 processHBA(HBA_HANDLE handle, HBA_ADAPTERATTRIBUTES attrs, int portIndex, in processHBA() argument
397 portIndex, discPortCount, &discPort); in processHBA()
732 int portIndex = 0, err_cnt = 0; in fc_util_list_hbaport() local
840 &portIndex) != 0) { in fc_util_list_hbaport()
[all …]
H A Dfcadm-list.c424 HBA_PORTNPIVATTRIBUTES *npivattrs, HBA_UINT32 *portIndex) { in retrieveNPIVAttrs() argument
432 if (npivattrs == NULL || portIndex == NULL) { in retrieveNPIVAttrs()
477 *portIndex = 0; in retrieveNPIVAttrs()
480 *portIndex = portCtr; in retrieveNPIVAttrs()
511 HBA_UINT32 portIndex; in fc_util_delete_npivport() local
566 if (retrieveNPIVAttrs(handle, portWWN, &npivattrs, &portIndex) == 0) { in fc_util_delete_npivport()
577 status = Sun_HBA_DeleteNPIVPort(handle, portIndex, in fc_util_delete_npivport()
584 status = Sun_HBA_DeleteNPIVPort(handle, portIndex, in fc_util_delete_npivport()
624 HBA_UINT32 portIndex; in fc_util_create_npivport() local
715 if (retrieveNPIVAttrs(handle, portWWN, &npivattrs, &portIndex) == 0) { in fc_util_create_npivport()
[all …]
/illumos-gate/usr/src/cmd/luxadm/
H A Dfchba.c194 getAdapterPortAttrs(HBA_HANDLE handle, char *name, int portIndex, in getAdapterPortAttrs() argument
202 status = HBA_GetAdapterPortAttributes(handle, portIndex, attrs); in getAdapterPortAttrs()
234 getDiscPortAttrs(HBA_HANDLE handle, char *name, int portIndex, int discIndex, in getDiscPortAttrs() argument
242 status = HBA_GetDiscoveredPortAttributes(handle, portIndex, in getDiscPortAttrs()
280 int count, adapterIndex, portIndex; in fchba_display_port() local
312 for (portIndex = 0; portIndex < hbaAttrs.NumberOfPorts; in fchba_display_port()
313 portIndex++) { in fchba_display_port()
314 if (getAdapterPortAttrs(handle, name, portIndex, in fchba_display_port()
522 int count, adapterIndex, portIndex, mapIndex; in fchba_non_encl_probe() local
561 for (portIndex = 0; portIndex < hbaAttrs.NumberOfPorts; in fchba_non_encl_probe()
[all …]
H A Dx86_adm.c262 int count, adapterIndex, portIndex, mapIndex; in adm_forcelip() local
314 for (portIndex = 0; portIndex < hbaAttrs.NumberOfPorts; in adm_forcelip()
315 portIndex++) { in adm_forcelip()
316 if (getAdapterPortAttrs(handle, name, portIndex, in adm_forcelip()
H A Dcommon.h483 int getAdapterPortAttrs(HBA_HANDLE handle, char *name, int portIndex,
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c1170 getAdapterPortAttrs(HBA_HANDLE handle, int portIndex, in getAdapterPortAttrs() argument
1180 status = HBA_GetAdapterPortAttributes(handle, portIndex, attrs); in getAdapterPortAttrs()
1204 getDiscPortAttrs(HBA_HANDLE handle, int portIndex, int discIndex, in getDiscPortAttrs() argument
1214 status = HBA_GetDiscoveredPortAttributes(handle, portIndex, in getDiscPortAttrs()
1249 int adapterIndex, portIndex; in findMatchingAdapterPort() local
1287 for (portIndex = 0; in findMatchingAdapterPort()
1288 portIndex < hbaAttrs.NumberOfPorts; portIndex++) { in findMatchingAdapterPort()
1290 portIndex, in findMatchingAdapterPort()
1321 portIndex; in findMatchingAdapterPort()
1366 portIndex; in findMatchingAdapterPort()
H A Dcfga_fp.c57 int portIndex; in cfga_change_state() local
137 &handle, &portIndex, &portAttrs, errstring)) == in cfga_change_state()
H A Dcfga_fp.h532 int getDiscPortAttrs(HBA_HANDLE handle, int portIndex,
534 int getAdapterPortAttrs(HBA_HANDLE handle, int portIndex,
H A Dcfga_cs.c1540 char **errstring, HBA_HANDLE handle, int portIndex, in handle_devs() argument
1562 if (getDiscPortAttrs(handle, portIndex, in handle_devs()
1656 int portIndex; in fca_change_state() local
1659 &portIndex, &portAttrs, errstring)) != FPCFGA_OK) { in fca_change_state()
1690 handle, portIndex, portAttrs)); in fca_change_state()
H A Dcfga_list.c183 int portIndex, discIndex; in do_list() local
205 &portIndex, &portAttrs, errstring)) != FPCFGA_OK) { in do_list()
365 if (getDiscPortAttrs(handle, portIndex, in do_list()
498 int portIndex, discIndex; in do_list_FCP_dev() local
557 &portIndex, &portAttrs, errstring)) != FPCFGA_OK) { in do_list_FCP_dev()
710 if (getDiscPortAttrs(handle, portIndex, in do_list_FCP_dev()
/illumos-gate/usr/src/lib/libfcoe/common/
H A Dlibfcoe.c846 FCOE_UINT32 portIndex; in FCOE_LoadConfig() local
881 portIndex = 0; in FCOE_LoadConfig()
914 if (portIndex >= size) { in FCOE_LoadConfig()
921 &(*portlist)->ports[portIndex++]; in FCOE_LoadConfig()
937 (*portlist)->port_num = portIndex; in FCOE_LoadConfig()