/titanic_41/usr/src/lib/sun_sas/common/ |
H A D | devlink_disco.c | 103 if (strchr(mappings->entry[j].ScsiId.OSDeviceName, ':')) { in convertDevpathToDevlink() 105 minor_path = mappings->entry[j].ScsiId.OSDeviceName; in convertDevpathToDevlink() 108 OSDeviceName + strlen("/devices"); in convertDevpathToDevlink() 113 if (strstr(mappings->entry[j].ScsiId.OSDeviceName, in convertDevpathToDevlink() 116 OSDeviceName) - strlen("/devices"); in convertDevpathToDevlink() 118 ScsiId.OSDeviceName + strlen("/devices"); in convertDevpathToDevlink() 121 OSDeviceName); in convertDevpathToDevlink() 123 OSDeviceName; in convertDevpathToDevlink() 133 (void) snprintf(mappings->entry[j].ScsiId.OSDeviceName, in convertDevpathToDevlink() 134 sizeof (mappings->entry[j].ScsiId.OSDeviceName), in convertDevpathToDevlink()
|
H A D | Sun_sasGetPortAttributesByWWN.c | 121 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetPortAttributesByWWN() 122 hba_port_ptr->port_attributes.OSDeviceName, in Sun_sasGetPortAttributesByWWN() 123 sizeof (attributes->OSDeviceName)); in Sun_sasGetPortAttributesByWWN() 150 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetPortAttributesByWWN() 152 OSDeviceName, in Sun_sasGetPortAttributesByWWN() 153 sizeof (attributes->OSDeviceName)); in Sun_sasGetPortAttributesByWWN()
|
H A D | devtree_device_disco.c | 389 OSDeviceName, devpath) != 0) { in get_attached_devices_info() 450 OSDeviceName, link, in get_attached_devices_info() 451 sizeof (disco_port_ptr->port_attributes.OSDeviceName)); in get_attached_devices_info() 459 OSDeviceName, fullpath, in get_attached_devices_info() 460 sizeof (disco_port_ptr->port_attributes.OSDeviceName)); in get_attached_devices_info() 491 if (disco_port_ptr->port_attributes.OSDeviceName[0] == '\0') { in get_attached_devices_info() 493 size = sizeof (disco_port_ptr->port_attributes.OSDeviceName); in get_attached_devices_info() 495 OSDeviceName, fullpath, size); in get_attached_devices_info() 579 (void) snprintf(mapping_ptr->entry.ScsiId.OSDeviceName, in get_attached_devices_info() 580 sizeof (mapping_ptr->entry.ScsiId.OSDeviceName), in get_attached_devices_info() [all …]
|
H A D | devtree_hba_disco.c | 166 (void) strlcpy(port_ptr->port_attributes.OSDeviceName, cntlLink, in add_hba_port_info() 167 sizeof (port_ptr->port_attributes.OSDeviceName)); in add_hba_port_info() 177 (void) snprintf(port_ptr->port_attributes.OSDeviceName, in add_hba_port_info() 178 sizeof (port_ptr->port_attributes.OSDeviceName), in add_hba_port_info() 192 port_ptr->port_attributes.OSDeviceName); in add_hba_port_info() 211 port_ptr->port_attributes.OSDeviceName); in add_hba_port_info() 220 port_ptr->port_attributes.OSDeviceName); in add_hba_port_info() 252 port_ptr->port_attributes.OSDeviceName); in add_hba_port_info() 267 port_ptr->port_attributes.OSDeviceName); in add_hba_port_info() 283 port_ptr->port_attributes.OSDeviceName); in add_hba_port_info()
|
H A D | Sun_sasGetAdapterPortAttributes.c | 100 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetAdapterPortAttributes() 101 hba_port_ptr->port_attributes.OSDeviceName, in Sun_sasGetAdapterPortAttributes() 102 sizeof (attributes->OSDeviceName)); in Sun_sasGetAdapterPortAttributes()
|
H A D | Sun_sasGetDiscoveredPortAttributes.c | 125 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetDiscoveredPortAttributes() 126 hba_disco_port->port_attributes.OSDeviceName, in Sun_sasGetDiscoveredPortAttributes() 127 sizeof (attributes->OSDeviceName)); in Sun_sasGetDiscoveredPortAttributes()
|
H A D | Sun_sasSendSMPPassThru.c | 215 hba_disco_port->port_attributes.OSDeviceName, in Sun_sasSendSMPPassThru()
|
H A D | Sun_sasScsiReportLUNs.c | 192 mapping_ptr->entry.ScsiId.OSDeviceName, in Sun_sasScsiReportLUNs()
|
H A D | Sun_sasScsiReadCapacity.c | 212 OSDeviceName, in Sun_sasScsiReadCapacity()
|
H A D | Sun_sasScsiInquiry.c | 223 mapping_ptr->entry.ScsiId.OSDeviceName, in Sun_sasScsiInquiry()
|
/titanic_41/usr/src/lib/sun_fc/common/ |
H A D | HBAPort.cc | 161 if (strchr(mappings->entry[j].ScsiId.OSDeviceName, ':')) { in convertToShortNames() 163 minor_path = mappings->entry[j].ScsiId.OSDeviceName; in convertToShortNames() 165 minor_path = mappings->entry[j].ScsiId.OSDeviceName + in convertToShortNames() 168 minor_path = mappings->entry[j].ScsiId.OSDeviceName; in convertToShortNames() 173 if (strstr(mappings->entry[j].ScsiId.OSDeviceName, in convertToShortNames() 175 warg.len = strlen (mappings->entry[j].ScsiId.OSDeviceName) - in convertToShortNames() 177 warg.path = mappings->entry[j].ScsiId.OSDeviceName + in convertToShortNames() 180 warg.len = strlen(mappings->entry[j].ScsiId.OSDeviceName); in convertToShortNames() 181 warg.path = mappings->entry[j].ScsiId.OSDeviceName; in convertToShortNames() 191 snprintf(mappings->entry[j].ScsiId.OSDeviceName, in convertToShortNames() [all …]
|
H A D | FCHBAPort.cc | 615 strncpy((char *)attributes.OSDeviceName, getPath().c_str(), 256); in getPortAttributes() 800 snprintf(userMappings->entry[i].ScsiId.OSDeviceName, in getTargetMappings() 801 sizeof (userMappings->entry[i].ScsiId.OSDeviceName), in getTargetMappings()
|
/titanic_41/usr/src/cmd/luxadm/ |
H A D | fchba.c | 319 portAttrs.OSDeviceName, in fchba_display_port() 335 (void) printf("%-65s ", portAttrs.OSDeviceName); in fchba_display_port() 483 map->entry[mapIndex].ScsiId.OSDeviceName, in match_mappings() 582 map->entry[mapIndex].ScsiId.OSDeviceName, in fchba_non_encl_probe() 583 sizeof (map->entry[mapIndex].ScsiId.OSDeviceName)); in fchba_non_encl_probe() 589 map->entry[mapIndex].ScsiId.OSDeviceName)) { in fchba_non_encl_probe() 599 map->entry[mapIndex].ScsiId.OSDeviceName, in fchba_non_encl_probe() 600 sizeof (map->entry[mapIndex].ScsiId.OSDeviceName)); in fchba_non_encl_probe() 778 map->entry[mapIndex].ScsiId.OSDeviceName, in fchba_inquiry() 838 map->entry[mapIndex].ScsiId.OSDeviceName, in fchba_inquiry() [all …]
|
H A D | x86_adm.c | 331 portAttrs.OSDeviceName, STANDARD_DEVNAME_HANDLING); in adm_forcelip() 361 if ((fd = open(portAttrs.OSDeviceName, in adm_forcelip() 364 portAttrs.OSDeviceName); in adm_forcelip() 405 portAttrs.OSDeviceName); in adm_forcelip() 414 portAttrs.OSDeviceName); in adm_forcelip()
|
/titanic_41/usr/src/cmd/sasinfo/ |
H A D | sasinfo-list.c | 701 port.OSDeviceName, in processHBA() 750 port.OSDeviceName)) { in processHBA() 780 port.OSDeviceName) == 0) in processHBA() 1267 port->OSDeviceName); in handleExpander() 1345 port->OSDeviceName); in handleExpander() 1422 port->OSDeviceName); in handleTargetPort() 1556 LUListWalk->OSDeviceName)) { in sas_util_list_logicalunit() 1573 LUListWalk->OSDeviceName)) { in sas_util_list_logicalunit() 1613 portName = port->OSDeviceName; in handleLogicalUnit() 1803 OSDeviceName, in searchTargetPortMappingData() [all …]
|
H A D | printAttrs.c | 284 port->OSDeviceName); in printHBAPortInfo() 531 devListWalk->OSDeviceName); in printOSDeviceNameInfo() 555 "on device"), devListWalk->OSDeviceName); in printOSDeviceNameInfo()
|
H A D | sasinfo.h | 88 char OSDeviceName[MAXPATHLEN]; member
|
/titanic_41/usr/src/cmd/fcinfo/ |
H A D | fcinfo-list.c | 568 map->entry[count].ScsiId.OSDeviceName); in handleScsiTarget() 1066 if (strcmp(entry.ScsiId.OSDeviceName, in searchDevice() 1067 discoveredDevList->OSDeviceName) == 0) { in searchDevice() 1169 strncpy(newDevice->OSDeviceName, entry.ScsiId.OSDeviceName, in searchDevice() 1170 sizeof (newDevice->OSDeviceName) - 1); in searchDevice() 1387 if (strcmp(devListWalk->OSDeviceName, in fc_util_list_logicalunit() 1402 if (strcmp(devListWalk->OSDeviceName, in fc_util_list_logicalunit()
|
H A D | fcinfo.h | 120 char OSDeviceName[MAXPATHLEN]; member
|
H A D | printAttrs.c | 223 fprintf(stdout, gettext("\tOS Device Name: %s\n"), port->OSDeviceName); in printHBAPortInfo() 427 fprintf(stdout, "OS Device Name: %s\n", devListWalk->OSDeviceName); in printOSDeviceNameInfo()
|
/titanic_41/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_utils.c | 1306 if (strncmp(portAttrs.OSDeviceName, in findMatchingAdapterPort() 1309 tmpPtr = strstr(portAttrs.OSDeviceName, in findMatchingAdapterPort() 1313 portAttrs.OSDeviceName, in findMatchingAdapterPort() 1314 strlen(portAttrs.OSDeviceName) - in findMatchingAdapterPort() 1337 if (strlen(portAttrs.OSDeviceName) < in findMatchingAdapterPort() 1340 cfg_ptr = portAttrs.OSDeviceName + in findMatchingAdapterPort()
|
/titanic_41/usr/src/lib/smhba/common/ |
H A D | smhbaapi.h | 170 char OSDeviceName[256]; member 308 char OSDeviceName[256]; member
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/ |
H A D | psvcpolicy.c | 1377 char OSDeviceName[PATH_MAX + 1]; in verify_disk_wwn() local 1424 linksize = readlink(hbaPortAttrs.OSDeviceName, in verify_disk_wwn() 1425 OSDeviceName, PATH_MAX); in verify_disk_wwn() 1434 OSDeviceName[linksize] = '\0'; in verify_disk_wwn() 1435 if (strcmp(OSDeviceName, ONBOARD_CONTR) != 0) in verify_disk_wwn()
|
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_hbaapi.h | 303 char OSDeviceName[256]; /* \device\ScsiPort3 */ member 340 char OSDeviceName[256]; /* \device\ScsiPort3 */ member
|
/titanic_41/usr/src/lib/hbaapi/common/ |
H A D | hbaapi.h | 302 char OSDeviceName[256]; /* \device\ScsiPort3 */ member 339 char OSDeviceName[256]; /* \device\ScsiPort3 */ member
|