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

12

/illumos-gate/usr/src/lib/sun_sas/common/
H A Ddevlink_disco.c79 * 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 DSun_sasGetPortAttributesByWWN.c121 (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 DSun_sasGetAdapterPortAttributes.c100 (void) strlcpy(attributes->OSDeviceName,
101 hba_port_ptr->port_attributes.OSDeviceName,
102 sizeof (attributes->OSDeviceName));
H A DSun_sasGetDiscoveredPortAttributes.c125 (void) strlcpy(attributes->OSDeviceName,
126 hba_disco_port->port_attributes.OSDeviceName,
127 sizeof (attributes->OSDeviceName));
H A Ddevtree_device_disco.c389 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 Ddevtree_hba_disco.c166 (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 DSun_sasScsiReportLUNs.c192 mapping_ptr->entry.ScsiId.OSDeviceName,
H A DSun_sasSendSMPPassThru.c211 * So we use OSDeviceName from port attributes.
215 hba_disco_port->port_attributes.OSDeviceName,
H A DSun_sasScsiInquiry.c223 mapping_ptr->entry.ScsiId.OSDeviceName,
H A DSun_sasScsiReadCapacity.c212 OSDeviceName,
/illumos-gate/usr/src/lib/sun_fc/common/
H A DHBAPort.cc138 * @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 DFCHBAPort.cc615 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 Dx86_adm.c331 portAttrs.OSDeviceName, STANDARD_DEVNAME_HANDLING);
361 if ((fd = open(portAttrs.OSDeviceName,
364 portAttrs.OSDeviceName);
405 portAttrs.OSDeviceName);
414 portAttrs.OSDeviceName);
H A Dfchba.c319 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 Dsasinfo-list.c701 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 Dsasinfo.h88 char OSDeviceName[MAXPATHLEN]; member in struct:_discoveredDevice
H A DprintAttrs.c284 port->OSDeviceName);
531 devListWalk->OSDeviceName);
555 "on device"), devListWalk->OSDeviceName);
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcinfo.h120 char OSDeviceName[MAXPATHLEN]; member in struct:_discoveredDevice
H A Dfcinfo-list.c568 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 DprintAttrs.c223 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 Dcfga_utils.c1303 * 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 Dsmhbaapi.h170 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 Dpsvcpolicy.c1377 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 Dhbaapi.h302 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 Demlxs_hbaapi.h303 char OSDeviceName[256]; /* \device\ScsiPort3 */ member in struct:HBA_PortAttributes
340 char OSDeviceName[256]; /* \device\ScsiPort3 */ member in struct:HBA_ScsiId

Completed in 439 milliseconds

12