/titanic_41/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetPluginPropertiesPlugin.c | 37 MP_GetPluginPropertiesPlugin(MP_PLUGIN_PROPERTIES *pProps) in MP_GetPluginPropertiesPlugin() argument 53 (void) memset(pProps, 0, sizeof (MP_PLUGIN_PROPERTIES)); in MP_GetPluginPropertiesPlugin() 96 (void) wcsncpy(pProps->vendor, L"Sun Microsystems", 255); in MP_GetPluginPropertiesPlugin() 98 pProps->autoFailbackSupport = driverInfo.autoFailbackSupport; in MP_GetPluginPropertiesPlugin() 99 pProps->autoProbingSupport = driverInfo.autoProbingSupport; in MP_GetPluginPropertiesPlugin() 102 (void) mbstowcs(pProps->buildTime, BUILD_TIME, 256); in MP_GetPluginPropertiesPlugin() 105 pProps->canOverridePaths = driverInfo.canOverridePaths; in MP_GetPluginPropertiesPlugin() 106 pProps->canSetTPGAccess = driverInfo.canSetTPGAccess; in MP_GetPluginPropertiesPlugin() 107 pProps->currentFailbackPollingRate = in MP_GetPluginPropertiesPlugin() 109 pProps->currentProbingPollingRate = in MP_GetPluginPropertiesPlugin() [all …]
|
H A D | MP_GetMPLogicalUnitProperties.c | 220 MP_MULTIPATH_LOGICAL_UNIT_PROPERTIES *pProps) in MP_GetMPLogicalUnitProperties() argument 298 (void) memset(pProps, 0, sizeof (MP_MULTIPATH_LOGICAL_UNIT_PROPERTIES)); in MP_GetMPLogicalUnitProperties() 300 pProps->asymmetric = luInfo.asymmetric; in MP_GetMPLogicalUnitProperties() 301 pProps->autoFailbackEnabled = luInfo.autoFailbackEnabled; in MP_GetMPLogicalUnitProperties() 302 pProps->autoProbingEnabled = luInfo.autoProbingEnabled; in MP_GetMPLogicalUnitProperties() 303 pProps->currentFailbackPollingRate = luInfo.currentFailBackPollingRate; in MP_GetMPLogicalUnitProperties() 304 pProps->currentLoadBalanceType = luInfo.currentLoadBalanceType; in MP_GetMPLogicalUnitProperties() 305 pProps->currentProbingPollingRate = luInfo.currentProbingPollingRate; in MP_GetMPLogicalUnitProperties() 316 (void) strncpy(pProps->deviceFileName, in MP_GetMPLogicalUnitProperties() 318 sizeof (pProps->deviceFileName) - 1); in MP_GetMPLogicalUnitProperties() [all …]
|
H A D | MP_GetPathLogicalUnitProperties.c | 37 MP_PATH_LOGICAL_UNIT_PROPERTIES *pProps) in MP_GetPathLogicalUnitProperties() argument 112 (void) memset(pProps, 0, sizeof (MP_PATH_LOGICAL_UNIT_PROPERTIES)); in MP_GetPathLogicalUnitProperties() 114 pProps->disabled = pathInfo.disabled; in MP_GetPathLogicalUnitProperties() 120 (void) memcpy(&pProps->initiatorPortOid, &initPortOID, sizeof (MP_OID)); in MP_GetPathLogicalUnitProperties() 126 (void) memcpy(&pProps->targetPortOid, &targetPortOID, sizeof (MP_OID)); in MP_GetPathLogicalUnitProperties() 132 (void) memcpy(&pProps->logicalUnitOid, &luOID, sizeof (MP_OID)); in MP_GetPathLogicalUnitProperties() 134 pProps->logicalUnitNumber = pathInfo.logicalUnit.id; in MP_GetPathLogicalUnitProperties() 140 pProps->pathState = MP_PATH_STATE_OKAY; in MP_GetPathLogicalUnitProperties() 144 pProps->pathState = MP_PATH_STATE_PATH_ERR; in MP_GetPathLogicalUnitProperties() 148 pProps->pathState = MP_PATH_STATE_LU_ERR; in MP_GetPathLogicalUnitProperties() [all …]
|
H A D | MP_GetDeviceProductProperties.c | 40 MP_GetDeviceProductProperties(MP_OID oid, MP_DEVICE_PRODUCT_PROPERTIES *pProps) in MP_GetDeviceProductProperties() argument 112 (void) memset(pProps, 0, sizeof (MP_DEVICE_PRODUCT_PROPERTIES)); in MP_GetDeviceProductProperties() 115 vendorLength = sizeof (pProps->vendor); in MP_GetDeviceProductProperties() 116 productLength = sizeof (pProps->product); in MP_GetDeviceProductProperties() 117 revisionLength = sizeof (pProps->revision); in MP_GetDeviceProductProperties() 120 (void) strncpy(pProps->vendor, in MP_GetDeviceProductProperties() 124 (void) strncpy(pProps->product, in MP_GetDeviceProductProperties() 128 (void) strncpy(pProps->revision, in MP_GetDeviceProductProperties() 132 pProps->supportedLoadBalanceTypes = in MP_GetDeviceProductProperties()
|
H A D | MP_GetTargetPortGroupProperties.c | 39 MP_TARGET_PORT_GROUP_PROPERTIES *pProps) in MP_GetTargetPortGroupProperties() argument 47 mpStatus = getTargetPortGroupProperties(oid, pProps); in MP_GetTargetPortGroupProperties() 58 MP_TARGET_PORT_GROUP_PROPERTIES *pProps) in getTargetPortGroupProperties() argument 82 (void) memset(pProps, 0, sizeof (MP_TARGET_PORT_GROUP_PROPERTIES)); in getTargetPortGroupProperties() 127 pProps->accessState = tpgProps.accessState; in getTargetPortGroupProperties() 128 pProps->explicitFailover = tpgProps.explicitFailover; in getTargetPortGroupProperties() 129 pProps->preferredLuPath = tpgProps.preferredLuPath; in getTargetPortGroupProperties() 130 pProps->supportsLuAssignment = tpgProps.supportsLuAssignment; in getTargetPortGroupProperties() 131 pProps->tpgID = tpgProps.tpgId; in getTargetPortGroupProperties()
|
H A D | MP_GetInitiatorPortProperties.c | 37 MP_GetInitiatorPortProperties(MP_OID oid, MP_INITIATOR_PORT_PROPERTIES *pProps) in MP_GetInitiatorPortProperties() argument 106 (void) memset(pProps, 0, sizeof (MP_INITIATOR_PORT_PROPERTIES)); in MP_GetInitiatorPortProperties() 108 (void) strncpy(pProps->osDeviceFile, in MP_GetInitiatorPortProperties() 110 sizeof (pProps->osDeviceFile)); in MP_GetInitiatorPortProperties() 111 (void) strncpy(pProps->portID, in MP_GetInitiatorPortProperties() 113 sizeof (pProps->portID)); in MP_GetInitiatorPortProperties() 114 pProps->portType = in MP_GetInitiatorPortProperties()
|
H A D | MP_GetProprietaryLBProp.c | 37 MP_PROPRIETARY_LOAD_BALANCE_PROPERTIES *pProps) in MP_GetProprietaryLoadBalanceProperties() argument 106 (void) memset(pProps, 0, in MP_GetProprietaryLoadBalanceProperties() 109 (void) mbstowcs(pProps->name, lbProps.name, 256); in MP_GetProprietaryLoadBalanceProperties() 122 pProps->typeIndex = lbProps.typeIndex; in MP_GetProprietaryLoadBalanceProperties() 123 (void) mbstowcs(pProps->vendorName, lbProps.vendorName, 256); in MP_GetProprietaryLoadBalanceProperties()
|
H A D | MP_GetTargetPortProperties.c | 38 MP_TARGET_PORT_PROPERTIES *pProps) in MP_GetTargetPortProperties() argument 111 (void) memset(pProps, 0, sizeof (MP_TARGET_PORT_PROPERTIES)); in MP_GetTargetPortProperties() 113 (void) strncpy(pProps->portID, tpInfo.portName, in MP_GetTargetPortProperties() 114 sizeof (pProps->portID)); in MP_GetTargetPortProperties() 115 pProps->relativePortID = tpInfo.relativePortID; in MP_GetTargetPortProperties()
|
H A D | mp_utils.h | 108 MP_TARGET_PORT_GROUP_PROPERTIES *pProps);
|
/titanic_41/usr/src/lib/libima/common/ |
H A D | ima-plugin.h | 77 IMA_PLUGIN_PROPERTIES *pProps 88 IMA_NODE_PROPERTIES *pProps 115 IMA_LHBA_PROPERTIES *pProps 126 IMA_PHBA_PROPERTIES *pProps 137 IMA_MIN_MAX_VALUE *pProps 143 IMA_MIN_MAX_VALUE *pProps 149 IMA_MIN_MAX_VALUE *pProps 187 IMA_MIN_MAX_VALUE *pProps 197 IMA_MIN_MAX_VALUE *pProps 207 IMA_MIN_MAX_VALUE *pProps [all …]
|
H A D | ima.h | 1386 IMA_LIBRARY_PROPERTIES *pProps 1456 IMA_PLUGIN_PROPERTIES *pProps 1571 IMA_NODE_PROPERTIES *pProps 1758 IMA_LHBA_PROPERTIES *pProps 1829 IMA_PHBA_PROPERTIES *pProps 1901 IMA_MIN_MAX_VALUE *pProps 1944 IMA_MIN_MAX_VALUE *pProps 1987 IMA_MIN_MAX_VALUE *pProps 2025 IMA_MIN_MAX_VALUE *pProps 2035 IMA_MIN_MAX_VALUE *pProps [all …]
|
H A D | ima-lib.c | 707 IMA_LIBRARY_PROPERTIES *pProps) { in IMA_GetLibraryProperties() argument 717 if (pProps == NULL) in IMA_GetLibraryProperties() 721 GetBuildTime(&pProps->buildTime); in IMA_GetLibraryProperties() 722 pProps->supportedImaVersion = LIBRARY_PROPERTY_SUPPORTED_IMA_VERSION; in IMA_GetLibraryProperties() 723 libSwprintf(pProps->implementationVersion, L"%ls", in IMA_GetLibraryProperties() 725 libSwprintf(pProps->vendor, L"%ls", LIBRARY_PROPERTY_VENDOR); in IMA_GetLibraryProperties() 735 pProps->fileName, 256); in IMA_GetLibraryProperties() 737 libSwprintf(pProps->fileName, LIBRARY_FILE_NAME); in IMA_GetLibraryProperties() 817 IMA_PLUGIN_PROPERTIES *pProps) { in IMA_GetPluginProperties() argument 825 if (pProps == NULL) in IMA_GetPluginProperties() [all …]
|
/titanic_41/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 122 void *pProps, uint32_t paramIndex); 124 void *pProps, uint32_t paramIndex); 149 static IMA_STATUS getLuProperties(IMA_OID luId, IMA_LU_PROPERTIES *pProps); 151 IMA_TARGET_PROPERTIES *pProps); 264 IMA_NODE_PROPERTIES *pProps in IMA_GetNodeProperties() argument 270 pProps->runningInInitiatorMode = IMA_TRUE; in IMA_GetNodeProperties() 271 pProps->runningInTargetMode = IMA_FALSE; in IMA_GetNodeProperties() 272 pProps->nameAndAliasSettable = IMA_FALSE; in IMA_GetNodeProperties() 285 pProps->nameValid = IMA_FALSE; in IMA_GetNodeProperties() 288 (void) mbstowcs(pProps->name, in IMA_GetNodeProperties() [all …]
|
/titanic_41/usr/src/lib/mpapi/libmpapi/common/ |
H A D | mpapi-plugin.h | 71 MP_PLUGIN_PROPERTIES *pProps 80 MP_DEVICE_PRODUCT_PROPERTIES *pProps 89 MP_INITIATOR_PORT_PROPERTIES *pProps 103 MP_MULTIPATH_LOGICAL_UNIT_PROPERTIES *pProps 113 MP_PATH_LOGICAL_UNIT_PROPERTIES *pProps 123 MP_TARGET_PORT_GROUP_PROPERTIES *pProps 137 MP_PROPRIETARY_LOAD_BALANCE_PROPERTIES *pProps 147 MP_TARGET_PORT_PROPERTIES *pProps
|
H A D | mpapi.h | 892 MP_LIBRARY_PROPERTIES *pProps 965 MP_PLUGIN_PROPERTIES *pProps 1127 MP_DEVICE_PRODUCT_PROPERTIES *pProps 1208 MP_INITIATOR_PORT_PROPERTIES *pProps 1288 MP_MULTIPATH_LOGICAL_UNIT_PROPERTIES *pProps 1371 MP_PATH_LOGICAL_UNIT_PROPERTIES *pProps 1450 MP_TARGET_PORT_GROUP_PROPERTIES *pProps 1572 MP_PROPRIETARY_LOAD_BALANCE_PROPERTIES *pProps 1650 MP_TARGET_PORT_PROPERTIES *pProps
|
H A D | mpapi.c | 359 MP_LIBRARY_PROPERTIES *pProps) in MP_GetLibraryProperties() argument 363 if(pProps == NULL) { in MP_GetLibraryProperties() 368 if (mbstowcs(pProps->buildTime, BUILD_TIME, 256) != in MP_GetLibraryProperties() 372 pProps->supportedMpVersion = LIBRARY_SUPPORTED_MP_VERSION; in MP_GetLibraryProperties() 374 wcsncpy(pProps->implementationVersion, in MP_GetLibraryProperties() 376 wcsncpy(pProps->vendor, LIBRARY_VENDOR, MAX_NAME_SIZE); in MP_GetLibraryProperties() 378 snprintf(pProps->fileName, MAX_NAME_SIZE, "%s", in MP_GetLibraryProperties() 473 MP_PLUGIN_PROPERTIES *pProps) in MP_GetPluginProperties() argument 479 if(pProps == NULL) in MP_GetPluginProperties() 495 status = PassFunc(pProps); in MP_GetPluginProperties() [all …]
|
/titanic_41/usr/src/cmd/iscsiadm/ |
H A D | sun_ima.c | 79 void *pProps, 83 void *pProps, 285 SUN_IMA_STATIC_TARGET_PROPERTIES *pProps in SUN_IMA_GetStaticTargetProperties() argument 314 (void) mbstowcs(pProps->staticTarget.targetName, (char *)prop.p_name, in SUN_IMA_GetStaticTargetProperties() 315 sizeof (pProps->staticTarget.targetName)/sizeof (IMA_WCHAR)); in SUN_IMA_GetStaticTargetProperties() 320 pProps->staticTarget.targetAddress.imaStruct.hostnameIpAddress. in SUN_IMA_GetStaticTargetProperties() 325 pProps->staticTarget.targetAddress.imaStruct.hostnameIpAddress. in SUN_IMA_GetStaticTargetProperties() 334 ipAddr = &pProps->staticTarget.targetAddress.imaStruct. in SUN_IMA_GetStaticTargetProperties() 338 pProps->staticTarget.targetAddress.imaStruct.hostnameIpAddress.id. in SUN_IMA_GetStaticTargetProperties() 341 pProps->staticTarget.targetAddress.imaStruct.portNumber = in SUN_IMA_GetStaticTargetProperties() [all …]
|
H A D | sun_ima.h | 38 SUN_IMA_STATIC_TARGET_PROPERTIES *pProps); 45 SUN_IMA_TARGET_PROPERTIES *pProps); 98 SUN_IMA_LU_PROPERTIES *pProps); 104 SUN_IMA_CONN_PROPERTIES **pProps);
|
H A D | iscsiadm_main.c | 238 void *pProps, 243 void *pProps,
|