Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/sun_sas/common/
H A Ddevlink_disco.c106 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 DSun_sasGetPortAttributesByWWN.c124 (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 Ddevtree_device_disco.c391 OSDeviceName, devpath) != 0) { in get_attached_devices_info()
452 OSDeviceName, link, in get_attached_devices_info()
461 OSDeviceName, fullpath, 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()
582 sizeof (mapping_ptr->entry.ScsiId.OSDeviceName), in get_attached_devices_info()
835 OSDeviceName, clientdevpath) != 0) { 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()
[all …]
H A Ddevtree_hba_disco.c171 (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 DSun_sasGetAdapterPortAttributes.c101 (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 DSun_sasGetDiscoveredPortAttributes.c126 (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 DSun_sasSendSMPPassThru.c219 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.c226 mapping_ptr->entry.ScsiId.OSDeviceName, in Sun_sasScsiInquiry()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/luxadm/
H A Dfchba.c319 portAttrs.OSDeviceName, in fchba_display_port()
483 map->entry[mapIndex].ScsiId.OSDeviceName, in match_mappings()
972 portAttrs.OSDeviceName, in fchba_dump_map()
1172 portAttrs.OSDeviceName, in fchba_display_link_status()
1343 entry.ScsiId.OSDeviceName, in scsi_vhci_details()
1641 portAttrs.OSDeviceName); in fchba_display_config()
1723 portAttrs.OSDeviceName); in fchba_display_config()
1751 first_time->map.ScsiId.OSDeviceName, in fchba_display_config()
1800 first_time->map.ScsiId.OSDeviceName); in fchba_display_config()
1810 first_time->map.ScsiId.OSDeviceName); in fchba_display_config()
[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()
/illumos-gate/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()
1613 portName = port->OSDeviceName; in handleLogicalUnit()
1803 OSDeviceName, in searchTargetPortMappingData()
1889 OSDeviceName, in searchTargetPortMappingData()
2031 port->OSDeviceName) == 0) && in searchTargetPort()
[all …]
H A DprintAttrs.c286 port->OSDeviceName); in printHBAPortInfo()
533 devListWalk->OSDeviceName); in printOSDeviceNameInfo()
557 "on device"), devListWalk->OSDeviceName); in printOSDeviceNameInfo()
H A Dsasinfo.h88 char OSDeviceName[MAXPATHLEN]; member
/illumos-gate/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.c228 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 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()
/illumos-gate/usr/src/lib/smhba/common/
H A Dsmhbaapi.h170 char OSDeviceName[256]; member
309 char OSDeviceName[256]; member
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/
H A Dpsvcpolicy.c1375 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/lib/hbaapi/common/
H A Dhbaapi.h307 char OSDeviceName[256]; /* \device\ScsiPort3 */ member
344 char OSDeviceName[256]; /* \device\ScsiPort3 */ member
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_hbaapi.h308 char OSDeviceName[256]; /* \device\ScsiPort3 */ member
345 char OSDeviceName[256]; /* \device\ScsiPort3 */ member

12