/illumos-gate/usr/src/cmd/sasinfo/ |
H A D | sasinfo-list.c | 515 int portIndex = 0; in processHBA() local 666 for (portIndex = 0; portIndex < numberOfPorts; portIndex++) { in processHBA() 694 gettext("port index"), portIndex, in processHBA() 703 port_array[portIndex].index = portIndex; in processHBA() 720 for (portIndex = 0; in processHBA() 721 portIndex < numberOfPorts; in processHBA() 722 portIndex++) { in processHBA() 1217 portIndex, i, &rpnode->portattr); in handleExpander() 1404 portIndex, i, &targetattr); in handleTargetPort() 2083 handle, portIndex, port, in searchTargetPort() [all …]
|
/illumos-gate/usr/src/cmd/fcinfo/ |
H A D | fcinfo-list.c | 144 *portIndex = 0; in retrieveAttrs() 147 *portIndex = portCtr; in retrieveAttrs() 907 for (portIndex = 0; in fc_util_list_hbaport() 909 portIndex++) { in fc_util_list_hbaport() 922 portIndex); in fc_util_list_hbaport() 983 portIndex++) { in fc_util_list_hbaport() 996 portIndex); in fc_util_list_hbaport() 1266 int portIndex = 0; in fc_util_list_logicalunit() local 1338 for (portIndex = 0; portIndex < attrs.NumberOfPorts; in fc_util_list_logicalunit() 1339 portIndex++) { in fc_util_list_logicalunit() [all …]
|
H A D | fcadm-list.c | 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 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 734 status = Sun_HBA_CreateNPIVPort(handle, portIndex, in fc_util_create_npivport() 783 HBA_UINT32 portIndex; in create_npivport() local 810 &npivattrs, &portIndex) == 0) { in create_npivport() [all …]
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | fchba.c | 312 for (portIndex = 0; portIndex < hbaAttrs.NumberOfPorts; in fchba_display_port() 561 for (portIndex = 0; portIndex < hbaAttrs.NumberOfPorts; in fchba_non_encl_probe() 754 for (portIndex = 0; portIndex < hbaAttrs.NumberOfPorts; in fchba_inquiry() 755 portIndex++) { in fchba_inquiry() 951 portIndex++) { in fchba_dump_map() 1151 for (portIndex = 0; portIndex < hbaAttrs.NumberOfPorts; in fchba_display_link_status() 1152 portIndex++) { in fchba_display_link_status() 1596 for (portIndex = 0; portIndex < hbaAttrs.NumberOfPorts; in fchba_display_config() 1597 portIndex++) { in fchba_display_config() 1680 for (portIndex = 0; portIndex < hbaAttrs.NumberOfPorts; in fchba_display_config() [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()
|