/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | devlink_disco.c | 79 * The mapping buffer OSDeviceName paths will be 103 if (strchr(mappings->entry[j].ScsiId.OSDeviceName, ':')) { 105 minor_path = mappings->entry[j].ScsiId.OSDeviceName; 108 OSDeviceName + strlen("/devices"); 113 if (strstr(mappings->entry[j].ScsiId.OSDeviceName, 116 OSDeviceName) - strlen("/devices"); 118 ScsiId.OSDeviceName + strlen("/devices"); 121 OSDeviceName); 123 OSDeviceName; 133 (void) snprintf(mappings->entry[j].ScsiId.OSDeviceName, [all...] |
H A D | Sun_sasGetPortAttributesByWWN.c | 121 (void) strlcpy(attributes->OSDeviceName, 122 hba_port_ptr->port_attributes.OSDeviceName, 123 sizeof (attributes->OSDeviceName)); 150 (void) strlcpy(attributes->OSDeviceName, 152 OSDeviceName, 153 sizeof (attributes->OSDeviceName));
|
H A D | Sun_sasGetAdapterPortAttributes.c | 100 (void) strlcpy(attributes->OSDeviceName, 101 hba_port_ptr->port_attributes.OSDeviceName, 102 sizeof (attributes->OSDeviceName));
|
H A D | Sun_sasGetDiscoveredPortAttributes.c | 125 (void) strlcpy(attributes->OSDeviceName, 126 hba_disco_port->port_attributes.OSDeviceName, 127 sizeof (attributes->OSDeviceName));
|
H A D | devtree_device_disco.c | 389 OSDeviceName, devpath) != 0) { 450 OSDeviceName, link, 451 sizeof (disco_port_ptr->port_attributes.OSDeviceName)); 459 OSDeviceName, fullpath, 460 sizeof (disco_port_ptr->port_attributes.OSDeviceName)); 491 if (disco_port_ptr->port_attributes.OSDeviceName[0] == '\0') { 493 size = sizeof (disco_port_ptr->port_attributes.OSDeviceName); 495 OSDeviceName, fullpath, size); 579 (void) snprintf(mapping_ptr->entry.ScsiId.OSDeviceName, 580 sizeof (mapping_ptr->entry.ScsiId.OSDeviceName), [all...] |
H A D | devtree_hba_disco.c | 166 (void) strlcpy(port_ptr->port_attributes.OSDeviceName, cntlLink, 167 sizeof (port_ptr->port_attributes.OSDeviceName)); 177 (void) snprintf(port_ptr->port_attributes.OSDeviceName, 178 sizeof (port_ptr->port_attributes.OSDeviceName), 192 port_ptr->port_attributes.OSDeviceName); 211 port_ptr->port_attributes.OSDeviceName); 220 port_ptr->port_attributes.OSDeviceName); 252 port_ptr->port_attributes.OSDeviceName); 267 port_ptr->port_attributes.OSDeviceName); 283 port_ptr->port_attributes.OSDeviceName); [all...] |
H A D | Sun_sasScsiReportLUNs.c | 192 mapping_ptr->entry.ScsiId.OSDeviceName,
|
H A D | Sun_sasSendSMPPassThru.c | 211 * So we use OSDeviceName from port attributes. 215 hba_disco_port->port_attributes.OSDeviceName,
|
H A D | Sun_sasScsiInquiry.c | 223 mapping_ptr->entry.ScsiId.OSDeviceName,
|
H A D | Sun_sasScsiReadCapacity.c | 212 OSDeviceName,
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | HBAPort.cc | 138 * @postcondition The mapping buffer OSDeviceName paths will be 161 if (strchr(mappings->entry[j].ScsiId.OSDeviceName, ':')) { 163 minor_path = mappings->entry[j].ScsiId.OSDeviceName; 165 minor_path = mappings->entry[j].ScsiId.OSDeviceName + 168 minor_path = mappings->entry[j].ScsiId.OSDeviceName; 173 if (strstr(mappings->entry[j].ScsiId.OSDeviceName, 175 warg.len = strlen (mappings->entry[j].ScsiId.OSDeviceName) - 177 warg.path = mappings->entry[j].ScsiId.OSDeviceName + 180 warg.len = strlen(mappings->entry[j].ScsiId.OSDeviceName); 181 warg.path = mappings->entry[j].ScsiId.OSDeviceName; [all...] |
H A D | FCHBAPort.cc | 615 strncpy((char *)attributes.OSDeviceName, getPath().c_str(), 256); 800 snprintf(userMappings->entry[i].ScsiId.OSDeviceName, 801 sizeof (userMappings->entry[i].ScsiId.OSDeviceName),
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | x86_adm.c | 331 portAttrs.OSDeviceName, STANDARD_DEVNAME_HANDLING); 361 if ((fd = open(portAttrs.OSDeviceName, 364 portAttrs.OSDeviceName); 405 portAttrs.OSDeviceName); 414 portAttrs.OSDeviceName);
|
H A D | fchba.c | 319 portAttrs.OSDeviceName, 335 (void) printf("%-65s ", portAttrs.OSDeviceName); 483 map->entry[mapIndex].ScsiId.OSDeviceName, 582 map->entry[mapIndex].ScsiId.OSDeviceName, 583 sizeof (map->entry[mapIndex].ScsiId.OSDeviceName)); 589 map->entry[mapIndex].ScsiId.OSDeviceName)) { 599 map->entry[mapIndex].ScsiId.OSDeviceName, 600 sizeof (map->entry[mapIndex].ScsiId.OSDeviceName)); 778 map->entry[mapIndex].ScsiId.OSDeviceName, 838 map->entry[mapIndex].ScsiId.OSDeviceName, [all...] |
/illumos-gate/usr/src/cmd/sasinfo/ |
H A D | sasinfo-list.c | 701 port.OSDeviceName, 750 port.OSDeviceName)) { 780 port.OSDeviceName) == 0) 1267 port->OSDeviceName); 1345 port->OSDeviceName); 1422 port->OSDeviceName); 1556 LUListWalk->OSDeviceName)) { 1573 LUListWalk->OSDeviceName)) { 1613 portName = port->OSDeviceName; 1803 OSDeviceName, [all...] |
H A D | sasinfo.h | 88 char OSDeviceName[MAXPATHLEN]; member in struct:_discoveredDevice
|
H A D | printAttrs.c | 284 port->OSDeviceName); 531 devListWalk->OSDeviceName); 555 "on device"), devListWalk->OSDeviceName);
|
/illumos-gate/usr/src/cmd/fcinfo/ |
H A D | fcinfo.h | 120 char OSDeviceName[MAXPATHLEN]; member in struct:_discoveredDevice
|
H A D | fcinfo-list.c | 568 map->entry[count].ScsiId.OSDeviceName); 1066 if (strcmp(entry.ScsiId.OSDeviceName, 1067 discoveredDevList->OSDeviceName) == 0) { 1169 strncpy(newDevice->OSDeviceName, entry.ScsiId.OSDeviceName, 1170 sizeof (newDevice->OSDeviceName) - 1); 1387 if (strcmp(devListWalk->OSDeviceName, 1402 if (strcmp(devListWalk->OSDeviceName,
|
H A D | printAttrs.c | 223 fprintf(stdout, gettext("\tOS Device Name: %s\n"), port->OSDeviceName); 427 fprintf(stdout, "OS Device Name: %s\n", devListWalk->OSDeviceName);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_utils.c | 1303 * check to see if OSDeviceName is a /dev/cfg 1306 if (strncmp(portAttrs.OSDeviceName, 1309 tmpPtr = strstr(portAttrs.OSDeviceName, 1313 portAttrs.OSDeviceName, 1314 strlen(portAttrs.OSDeviceName) - 1330 * the OSDeviceName make sure that the 1331 * OSDeviceName is at least 1337 if (strlen(portAttrs.OSDeviceName) < 1340 cfg_ptr = portAttrs.OSDeviceName +
|
/illumos-gate/usr/src/lib/smhba/common/ |
H A D | smhbaapi.h | 170 char OSDeviceName[256]; member in struct:SMHBA_PortAttributes 308 char OSDeviceName[256]; member in struct:SMHBA_ScsiId
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/ |
H A D | psvcpolicy.c | 1377 char OSDeviceName[PATH_MAX + 1]; local 1424 linksize = readlink(hbaPortAttrs.OSDeviceName, 1425 OSDeviceName, PATH_MAX); 1434 OSDeviceName[linksize] = '\0'; 1435 if (strcmp(OSDeviceName, ONBOARD_CONTR) != 0)
|
/illumos-gate/usr/src/lib/hbaapi/common/ |
H A D | hbaapi.h | 302 char OSDeviceName[256]; /* \device\ScsiPort3 */ member in struct:HBA_PortAttributes 339 char OSDeviceName[256]; /* \device\ScsiPort3 */ member in struct:HBA_ScsiId
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_hbaapi.h | 303 char OSDeviceName[256]; /* \device\ScsiPort3 */ member in struct:HBA_PortAttributes 340 char OSDeviceName[256]; /* \device\ScsiPort3 */ member in struct:HBA_ScsiId
|