/illumos-gate/usr/src/cmd/sasinfo/ |
H A D | sasinfo-list.c | 98 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 D | fcinfo-list.c | 49 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 D | fcadm-list.c | 424 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 D | fchba.c | 194 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 D | x86_adm.c | 262 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 D | common.h | 483 int getAdapterPortAttrs(HBA_HANDLE handle, char *name, int portIndex,
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_utils.c | 1170 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 D | cfga_fp.c | 57 int portIndex; in cfga_change_state() local 137 &handle, &portIndex, &portAttrs, errstring)) == in cfga_change_state()
|
H A D | cfga_fp.h | 532 int getDiscPortAttrs(HBA_HANDLE handle, int portIndex, 534 int getAdapterPortAttrs(HBA_HANDLE handle, int portIndex,
|
H A D | cfga_cs.c | 1540 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 D | cfga_list.c | 183 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 D | libfcoe.c | 846 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()
|