Searched refs:portattrs (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | devtree_device_disco.c | 232 SMHBA_PORTATTRIBUTES *portattrs; in get_attached_devices_info() local 493 portattrs = &disco_port_ptr->port_attributes; in get_attached_devices_info() 494 if (portattrs->OSDeviceName[0] == '\0') { in get_attached_devices_info() 495 size = sizeof (portattrs->OSDeviceName); in get_attached_devices_info() 496 (void) strlcpy(portattrs->OSDeviceName, in get_attached_devices_info() 656 SMHBA_PORTATTRIBUTES *portattrs; in get_attached_paths_info() local 910 portattrs = &disco_port_ptr->port_attributes; in get_attached_paths_info() 911 if (portattrs->OSDeviceName[0] == '\0') { in get_attached_paths_info() 912 size = sizeof (portattrs->OSDeviceName); in get_attached_paths_info() 914 (void) strlcpy(portattrs->OSDeviceName, in get_attached_paths_info()
|
/illumos-gate/usr/src/cmd/fcinfo/ |
H A D | fcadm-list.c | 427 HBA_PORTATTRIBUTES portattrs; in retrieveNPIVAttrs() local 451 memset(&portattrs, 0, sizeof (HBA_PORTATTRIBUTES)); in retrieveNPIVAttrs() 454 portCtr, &portattrs); in retrieveNPIVAttrs() 460 portCtr, &portattrs); in retrieveNPIVAttrs() 471 if (memcmp(portWWN.wwn, portattrs.PortWWN.wwn, in retrieveNPIVAttrs() 472 sizeof (portattrs.PortWWN.wwn)) == 0) { in retrieveNPIVAttrs()
|
H A D | fcinfo-list.c | 285 HBA_PORTNPIVATTRIBUTES portattrs; in printHBANPIVPortInfo() local 291 status = Sun_HBA_GetPortNPIVAttributes(handle, portindex, &portattrs); in printHBANPIVPortInfo() 296 handle, portindex, &portattrs); in printHBANPIVPortInfo() 315 if (portattrs.MaxNumberOfNPIVPorts) { in printHBANPIVPortInfo() 317 portattrs.MaxNumberOfNPIVPorts); in printHBANPIVPortInfo() 323 for (index = 0; index < portattrs.NumberOfNPIVPorts; index++) { in printHBANPIVPortInfo()
|