Home
last modified time | relevance | path

Searched refs:ScsiId (Results 1 – 16 of 16) sorted by relevance

/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()
110 minor_path = mappings->entry[j].ScsiId. in convertDevpathToDevlink()
116 if (strstr(mappings->entry[j].ScsiId.OSDeviceName, in convertDevpathToDevlink()
118 warg.len = strlen(mappings->entry[j].ScsiId. in convertDevpathToDevlink()
121 ScsiId.OSDeviceName + strlen("/devices"); in convertDevpathToDevlink()
123 warg.len = strlen(mappings->entry[j].ScsiId. in convertDevpathToDevlink()
125 warg.path = mappings->entry[j].ScsiId. in convertDevpathToDevlink()
136 (void) snprintf(mappings->entry[j].ScsiId.OSDeviceName, in convertDevpathToDevlink()
137 sizeof (mappings->entry[j].ScsiId.OSDeviceName), in convertDevpathToDevlink()
H A Ddevtree_device_disco.c390 if (strstr(mapping_ptr-> entry.ScsiId. in get_attached_devices_info()
536 mapping_ptr->entry.ScsiId.ScsiOSLun = *propIntData; in get_attached_devices_info()
540 mapping_ptr->entry.ScsiId.ScsiOSLun = in get_attached_devices_info()
568 mapping_ptr->entry.ScsiId.ScsiTargetNumber = *propIntData; in get_attached_devices_info()
570 mapping_ptr->entry.ScsiId.ScsiTargetNumber = di_instance(node); in get_attached_devices_info()
574 mapping_ptr->entry.ScsiId.ScsiBusNumber = port_ptr->cntlNumber; 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()
834 if (strstr(mapping_ptr-> entry.ScsiId. in get_attached_paths_info()
947 mapping_ptr->entry.ScsiId.ScsiOSLun = *propIntData; in get_attached_paths_info()
[all …]
H A DSun_sasGetTargetMapping.c121 (void) memcpy(&mapping->entry[i].ScsiId, in Sun_sasGetTargetMapping()
122 &mapping_ptr->entry.ScsiId, in Sun_sasGetTargetMapping()
H A DSun_sasScsiReportLUNs.c192 mapping_ptr->entry.ScsiId.OSDeviceName, in Sun_sasScsiReportLUNs()
H A DSun_sasScsiReadCapacity.c211 mapping_ptr->entry.ScsiId.\ 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 DSun_fcGetFcpTargetMapping.cc117 memcpy(&mapping->entry[count].ScsiId, in Sun_fcGetFcpTargetMapping()
118 &mappingV2->entry[count-current].ScsiId, in Sun_fcGetFcpTargetMapping()
119 sizeof (mapping->entry[count].ScsiId)); in Sun_fcGetFcpTargetMapping()
H A DFCHBAPort.cc800 snprintf(userMappings->entry[i].ScsiId.OSDeviceName, in getTargetMappings()
801 sizeof (userMappings->entry[i].ScsiId.OSDeviceName), in getTargetMappings()
803 userMappings->entry[i].ScsiId.ScsiBusNumber = in getTargetMappings()
805 userMappings->entry[i].ScsiId.ScsiTargetNumber = in getTargetMappings()
807 userMappings->entry[i].ScsiId.ScsiOSLun = in getTargetMappings()
/illumos-gate/usr/src/cmd/luxadm/
H A Dfchba.c483 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()
848 map->entry[mapIndex].ScsiId.OSDeviceName); in fchba_inquiry()
1343 entry.ScsiId.OSDeviceName, in scsi_vhci_details()
[all …]
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcinfo-list.c567 map->entry[count].ScsiId.ScsiOSLun, in handleScsiTarget()
568 map->entry[count].ScsiId.OSDeviceName); in handleScsiTarget()
1066 if (strcmp(entry.ScsiId.OSDeviceName, in searchDevice()
1141 newWWN->tgtPortWWN->scsiOSLun = entry.ScsiId.ScsiOSLun; in searchDevice()
1156 newTgtWWN->scsiOSLun = entry.ScsiId.ScsiOSLun; in searchDevice()
1169 strncpy(newDevice->OSDeviceName, entry.ScsiId.OSDeviceName, in searchDevice()
1205 entry.ScsiId.ScsiOSLun; in searchDevice()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_hbaapi.h363 HBA_SCSIID ScsiId; member
368 HBA_SCSIID ScsiId; member
387 HBA_SCSIID ScsiId; member
489 HBA_SCSIID ScsiId; member
/illumos-gate/usr/src/lib/hbaapi/common/
H A Dhbaapi.h362 HBA_SCSIID ScsiId; member
367 HBA_SCSIID ScsiId; member
386 HBA_SCSIID ScsiId; member
486 HBA_SCSIID ScsiId; member
/illumos-gate/usr/src/cmd/sasinfo/
H A Dsasinfo-list.c1800 map->entry[count].ScsiId.ScsiOSLun; in searchTargetPortMappingData()
1802 map->entry[count].ScsiId. in searchTargetPortMappingData()
1886 map->entry[count].ScsiId.ScsiOSLun; in searchTargetPortMappingData()
1888 map->entry[count].ScsiId. in searchTargetPortMappingData()
2192 if (entryP->ScsiId.OSDeviceName[0] == '\0') { in searchDevice()
2203 if (strcmp(entryP->ScsiId.OSDeviceName, in searchDevice()
2276 entryP->ScsiId.ScsiOSLun; in searchDevice()
2305 entryP->ScsiId.ScsiOSLun; in searchDevice()
2325 entryP->ScsiId.OSDeviceName, in searchDevice()
2355 entryP->ScsiId.ScsiOSLun; in searchDevice()
/illumos-gate/usr/src/lib/smhba/common/
H A Dsmhbaapi.h329 SMHBA_SCSIID ScsiId; member
341 SMHBA_SCSIID ScsiId; member
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_ioctl.h132 uint8_t ScsiId; member