/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | devlink_disco.c | 106 if (strchr(mappings->entry[j].ScsiId.OSDeviceName, ':')) { in convertDevpathToDevlink() 108 minor_path = mappings->entry[j].ScsiId.OSDeviceName; in convertDevpathToDevlink() 111 OSDeviceName + strlen("/devices"); in convertDevpathToDevlink() 116 if (strstr(mappings->entry[j].ScsiId.OSDeviceName, in convertDevpathToDevlink() 119 OSDeviceName) - strlen("/devices"); in convertDevpathToDevlink() 121 ScsiId.OSDeviceName + strlen("/devices"); in convertDevpathToDevlink() 124 OSDeviceName); in convertDevpathToDevlink() 126 OSDeviceName; in convertDevpathToDevlink() 136 (void) snprintf(mappings->entry[j].ScsiId.OSDeviceName, in convertDevpathToDevlink() 137 sizeof (mappings->entry[j].ScsiId.OSDeviceName), in convertDevpathToDevlink()
|
H A D | Sun_sasGetPortAttributesByWWN.c | 124 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetPortAttributesByWWN() 125 hba_port_ptr->port_attributes.OSDeviceName, in Sun_sasGetPortAttributesByWWN() 126 sizeof (attributes->OSDeviceName)); in Sun_sasGetPortAttributesByWWN() 153 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetPortAttributesByWWN() 155 OSDeviceName, in Sun_sasGetPortAttributesByWWN() 156 sizeof (attributes->OSDeviceName)); in Sun_sasGetPortAttributesByWWN()
|
H A D | devtree_device_disco.c | 391 OSDeviceName, devpath) != 0) { in get_attached_devices_info() 452 OSDeviceName, link, in get_attached_devices_info() 453 sizeof (disco_port_ptr->port_attributes.OSDeviceName)); in get_attached_devices_info() 461 OSDeviceName, fullpath, in get_attached_devices_info() 462 sizeof (disco_port_ptr->port_attributes.OSDeviceName)); 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() 581 (void) snprintf(mapping_ptr->entry.ScsiId.OSDeviceName, in get_attached_devices_info() 582 sizeof (mapping_ptr->entry.ScsiId.OSDeviceName), in get_attached_devices_info() [all …]
|
H A D | devtree_hba_disco.c | 171 (void) strlcpy(port_ptr->port_attributes.OSDeviceName, cntlLink, in add_hba_port_info() 172 sizeof (port_ptr->port_attributes.OSDeviceName)); in add_hba_port_info() 182 (void) snprintf(port_ptr->port_attributes.OSDeviceName, in add_hba_port_info() 183 sizeof (port_ptr->port_attributes.OSDeviceName), in add_hba_port_info() 197 port_ptr->port_attributes.OSDeviceName); in add_hba_port_info() 216 port_ptr->port_attributes.OSDeviceName); in add_hba_port_info() 225 port_ptr->port_attributes.OSDeviceName); in add_hba_port_info() 257 port_ptr->port_attributes.OSDeviceName); in add_hba_port_info() 272 port_ptr->port_attributes.OSDeviceName); in add_hba_port_info() 288 port_ptr->port_attributes.OSDeviceName); in add_hba_port_info()
|
H A D | Sun_sasGetAdapterPortAttributes.c | 101 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetAdapterPortAttributes() 102 hba_port_ptr->port_attributes.OSDeviceName, in Sun_sasGetAdapterPortAttributes() 103 sizeof (attributes->OSDeviceName)); in Sun_sasGetAdapterPortAttributes()
|
H A D | Sun_sasGetDiscoveredPortAttributes.c | 126 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetDiscoveredPortAttributes() 127 hba_disco_port->port_attributes.OSDeviceName, in Sun_sasGetDiscoveredPortAttributes() 128 sizeof (attributes->OSDeviceName)); in Sun_sasGetDiscoveredPortAttributes()
|
H A D | Sun_sasSendSMPPassThru.c | 219 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 | 226 mapping_ptr->entry.ScsiId.OSDeviceName, in Sun_sasScsiInquiry()
|
/illumos-gate/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()
|
/illumos-gate/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()
|
/illumos-gate/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 | 286 port->OSDeviceName); in printHBAPortInfo() 533 devListWalk->OSDeviceName); in printOSDeviceNameInfo() 557 "on device"), devListWalk->OSDeviceName); in printOSDeviceNameInfo()
|
H A D | sasinfo.h | 88 char OSDeviceName[MAXPATHLEN]; member
|
/illumos-gate/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 | 228 fprintf(stdout, gettext("\tOS Device Name: %s\n"), port->OSDeviceName); in printHBAPortInfo() 432 fprintf(stdout, "OS Device Name: %s\n", devListWalk->OSDeviceName); in printOSDeviceNameInfo()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/lib/smhba/common/ |
H A D | smhbaapi.h | 170 char OSDeviceName[256]; member 309 char OSDeviceName[256]; member
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/ |
H A D | psvcpolicy.c | 1375 char OSDeviceName[PATH_MAX + 1]; in verify_disk_wwn() local 1422 linksize = readlink(hbaPortAttrs.OSDeviceName, in verify_disk_wwn() 1423 OSDeviceName, PATH_MAX); in verify_disk_wwn() 1432 OSDeviceName[linksize] = '\0'; in verify_disk_wwn() 1433 if (strcmp(OSDeviceName, ONBOARD_CONTR) != 0) in verify_disk_wwn()
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_hbaapi.h | 308 char OSDeviceName[256]; /* \device\ScsiPort3 */ member 345 char OSDeviceName[256]; /* \device\ScsiPort3 */ member
|
/illumos-gate/usr/src/lib/hbaapi/common/ |
H A D | hbaapi.h | 307 char OSDeviceName[256]; /* \device\ScsiPort3 */ member 344 char OSDeviceName[256]; /* \device\ScsiPort3 */ member
|