Home
last modified time | relevance | path

Searched refs:OSDeviceName (Results 1 – 25 of 26) sorted by relevance

12

/titanic_41/usr/src/lib/sun_sas/common/
H A Ddevlink_disco.c103 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 DSun_sasGetPortAttributesByWWN.c121 (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 Ddevtree_device_disco.c389 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 Ddevtree_hba_disco.c166 (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 DSun_sasGetAdapterPortAttributes.c100 (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 DSun_sasGetDiscoveredPortAttributes.c125 (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 DSun_sasSendSMPPassThru.c215 hba_disco_port->port_attributes.OSDeviceName, in Sun_sasSendSMPPassThru()
H A DSun_sasScsiReportLUNs.c192 mapping_ptr->entry.ScsiId.OSDeviceName, in Sun_sasScsiReportLUNs()
H A DSun_sasScsiReadCapacity.c212 OSDeviceName, in Sun_sasScsiReadCapacity()
H A DSun_sasScsiInquiry.c223 mapping_ptr->entry.ScsiId.OSDeviceName, in Sun_sasScsiInquiry()
/titanic_41/usr/src/lib/sun_fc/common/
H A DHBAPort.cc161 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 DFCHBAPort.cc615 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 Dfchba.c319 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 Dx86_adm.c331 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 Dsasinfo-list.c701 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 DprintAttrs.c284 port->OSDeviceName); in printHBAPortInfo()
531 devListWalk->OSDeviceName); in printOSDeviceNameInfo()
555 "on device"), devListWalk->OSDeviceName); in printOSDeviceNameInfo()
H A Dsasinfo.h88 char OSDeviceName[MAXPATHLEN]; member
/titanic_41/usr/src/cmd/fcinfo/
H A Dfcinfo-list.c568 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 Dfcinfo.h120 char OSDeviceName[MAXPATHLEN]; member
H A DprintAttrs.c223 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 Dcfga_utils.c1306 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 Dsmhbaapi.h170 char OSDeviceName[256]; member
308 char OSDeviceName[256]; member
/titanic_41/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/
H A Dpsvcpolicy.c1377 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 Demlxs_hbaapi.h303 char OSDeviceName[256]; /* \device\ScsiPort3 */ member
340 char OSDeviceName[256]; /* \device\ScsiPort3 */ member
/titanic_41/usr/src/lib/hbaapi/common/
H A Dhbaapi.h302 char OSDeviceName[256]; /* \device\ScsiPort3 */ member
339 char OSDeviceName[256]; /* \device\ScsiPort3 */ member

12