Lines Matching refs:pProps
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()
291 pProps->nameValid = IMA_TRUE; in IMA_GetNodeProperties()
293 pProps->nameValid = IMA_FALSE; in IMA_GetNodeProperties()
300 (void) memset(pProps->alias, 0, in IMA_GetNodeProperties()
303 pProps->aliasValid = IMA_FALSE; in IMA_GetNodeProperties()
306 (void) mbstowcs(pProps->alias, in IMA_GetNodeProperties()
309 pProps->aliasValid = IMA_TRUE; in IMA_GetNodeProperties()
413 IMA_DISCOVERY_PROPERTIES *pProps in IMA_GetDiscoveryProperties() argument
435 pProps->iSnsDiscoverySettable = discoveryProps.iSNSDiscoverySettable; in IMA_GetDiscoveryProperties()
436 pProps->iSnsDiscoveryEnabled = discoveryProps.iSNSDiscoveryEnabled; in IMA_GetDiscoveryProperties()
441 if (pProps->iSnsDiscoveryEnabled == IMA_TRUE) { in IMA_GetDiscoveryProperties()
444 pProps->iSnsDiscoveryMethod = in IMA_GetDiscoveryProperties()
448 pProps->iSnsDiscoveryMethod = in IMA_GetDiscoveryProperties()
452 pProps->iSnsDiscoveryMethod = in IMA_GetDiscoveryProperties()
460 (void) memcpy(pProps->iSnsHost.id.hostname, in IMA_GetDiscoveryProperties()
462 sizeof (pProps->iSnsHost.id.hostname)); in IMA_GetDiscoveryProperties()
463 pProps->slpDiscoverySettable = discoveryProps.SLPDiscoverySettable; in IMA_GetDiscoveryProperties()
464 pProps->slpDiscoveryEnabled = discoveryProps.SLPDiscoveryEnabled; in IMA_GetDiscoveryProperties()
465 pProps->staticDiscoverySettable = in IMA_GetDiscoveryProperties()
467 pProps->staticDiscoveryEnabled = discoveryProps.StaticDiscoveryEnabled; in IMA_GetDiscoveryProperties()
468 pProps->sendTargetsDiscoverySettable = in IMA_GetDiscoveryProperties()
470 pProps->sendTargetsDiscoveryEnabled = in IMA_GetDiscoveryProperties()
504 IMA_MIN_MAX_VALUE *pProps in IMA_GetFirstBurstLengthProperties() argument
507 return (getISCSINodeParameter(MIN_MAX_PARAM, &Oid, pProps, in IMA_GetFirstBurstLengthProperties()
513 IMA_MIN_MAX_VALUE *pProps in IMA_GetMaxBurstLengthProperties() argument
516 return (getISCSINodeParameter(MIN_MAX_PARAM, &Oid, pProps, in IMA_GetMaxBurstLengthProperties()
522 IMA_MIN_MAX_VALUE *pProps in IMA_GetMaxRecvDataSegmentLengthProperties() argument
525 return (getISCSINodeParameter(MIN_MAX_PARAM, &Oid, pProps, in IMA_GetMaxRecvDataSegmentLengthProperties()
580 IMA_MIN_MAX_VALUE *pProps in IMA_GetMaxConnectionsProperties() argument
583 return (getISCSINodeParameter(MIN_MAX_PARAM, &Oid, pProps, in IMA_GetMaxConnectionsProperties()
601 IMA_MIN_MAX_VALUE *pProps in IMA_GetDefaultTime2RetainProperties() argument
604 return (getISCSINodeParameter(MIN_MAX_PARAM, &lhbaId, pProps, in IMA_GetDefaultTime2RetainProperties()
622 IMA_MIN_MAX_VALUE *pProps in IMA_GetDefaultTime2WaitProperties() argument
625 return (getISCSINodeParameter(MIN_MAX_PARAM, &lhbaId, pProps, in IMA_GetDefaultTime2WaitProperties()
643 IMA_MIN_MAX_VALUE *pProps in IMA_GetMaxOutstandingR2TProperties() argument
646 return (getISCSINodeParameter(MIN_MAX_PARAM, &Oid, pProps, in IMA_GetMaxOutstandingR2TProperties()
665 IMA_MIN_MAX_VALUE *pProps in IMA_GetErrorRecoveryLevelProperties() argument
668 return (getISCSINodeParameter(MIN_MAX_PARAM, &Oid, pProps, in IMA_GetErrorRecoveryLevelProperties()
686 IMA_BOOL_VALUE *pProps in IMA_GetInitialR2TProperties() argument
689 return (getISCSINodeParameter(BOOL_PARAM, &Oid, pProps, in IMA_GetInitialR2TProperties()
708 IMA_BOOL_VALUE *pProps in IMA_GetImmediateDataProperties() argument
711 return (getISCSINodeParameter(BOOL_PARAM, &Oid, pProps, in IMA_GetImmediateDataProperties()
729 IMA_BOOL_VALUE *pProps in IMA_GetDataPduInOrderProperties() argument
732 return (getISCSINodeParameter(BOOL_PARAM, &Oid, pProps, in IMA_GetDataPduInOrderProperties()
750 IMA_BOOL_VALUE *pProps in IMA_GetDataSequenceInOrderProperties() argument
753 return (getISCSINodeParameter(BOOL_PARAM, &Oid, pProps, in IMA_GetDataSequenceInOrderProperties()
1078 IMA_STATIC_DISCOVERY_TARGET_PROPERTIES *pProps in IMA_GetStaticDiscoveryTargetProperties() argument
1111 (void) mbstowcs(pProps->staticTarget.targetName, (char *)prop.p_name, in IMA_GetStaticDiscoveryTargetProperties()
1112 sizeof (pProps->staticTarget.targetName)/sizeof (IMA_WCHAR)); in IMA_GetStaticDiscoveryTargetProperties()
1150 host = &pProps->staticTarget.targetAddress.hostnameIpAddress; in IMA_GetStaticDiscoveryTargetProperties()
1151 (void) mbstowcs(pProps->staticTarget. in IMA_GetStaticDiscoveryTargetProperties()
1163 IMA_DISCOVERY_ADDRESS_PROPERTIES *pProps in IMA_GetDiscoveryAddressProperties() argument
1236 pProps->discoveryAddress.hostnameIpAddress.id. in IMA_GetDiscoveryAddressProperties()
1239 pProps->discoveryAddress.hostnameIpAddress.id. in IMA_GetDiscoveryAddressProperties()
1248 addr = &pProps->discoveryAddress; in IMA_GetDiscoveryAddressProperties()
1249 bcopy(&(matched_addr->a_addr.i_addr), pProps->discoveryAddress. in IMA_GetDiscoveryAddressProperties()
1253 pProps->discoveryAddress.portNumber = matched_addr->a_port; in IMA_GetDiscoveryAddressProperties()
1255 pProps->associatedLhbaOid.objectType = IMA_OBJECT_TYPE_LHBA; in IMA_GetDiscoveryAddressProperties()
1256 pProps->associatedLhbaOid.ownerId = pluginOwnerId; in IMA_GetDiscoveryAddressProperties()
1257 pProps->associatedLhbaOid.objectSequenceNumber = ISCSI_INITIATOR_OID; in IMA_GetDiscoveryAddressProperties()
1447 IMA_TARGET_PROPERTIES *pProps in IMA_GetTargetProperties() argument
1450 return (getTargetProperties(targetId, pProps)); in IMA_GetTargetProperties()
1455 IMA_TARGET_PROPERTIES *pProps in getTargetProperties() argument
1478 (void) mbstowcs(pProps->name, (char *)prop.p_name, IMA_NODE_NAME_LEN); in getTargetProperties()
1479 (void) memset(pProps->alias, 0, in getTargetProperties()
1482 (void) mbstowcs(pProps->alias, (char *)prop.p_alias, in getTargetProperties()
1487 pProps->discoveryMethodFlags = IMA_TARGET_DISCOVERY_METHOD_UNKNOWN; in getTargetProperties()
1490 pProps->discoveryMethodFlags |= in getTargetProperties()
1496 pProps->discoveryMethodFlags |= IMA_TARGET_DISCOVERY_METHOD_SLP; in getTargetProperties()
1501 pProps->discoveryMethodFlags |= iSCSIDiscoveryMethodISNS; in getTargetProperties()
1506 pProps->discoveryMethodFlags |= iSCSIDiscoveryMethodSendTargets; in getTargetProperties()
1590 IMA_LU_PROPERTIES *pProps in IMA_GetLuProperties() argument
1593 return (getLuProperties(luId, pProps)); in IMA_GetLuProperties()
1598 IMA_LU_PROPERTIES *pProps in getLuProperties() argument
1665 pProps->associatedTargetOid.objectType = IMA_OBJECT_TYPE_TARGET; in getLuProperties()
1666 pProps->associatedTargetOid.ownerId = pluginOwnerId; in getLuProperties()
1667 pProps->associatedTargetOid.objectSequenceNumber = lun.lp_tgt_oid; in getLuProperties()
1668 pProps->targetLun = (IMA_UINT64)lun.lp_num; in getLuProperties()
1669 pProps->exposedToOs = IMA_TRUE; in getLuProperties()
1670 (void) memset(&pProps->timeExposedToOs, 0, in getLuProperties()
1671 sizeof (pProps->timeExposedToOs)); in getLuProperties()
1693 pProps->osDeviceName[0] = L'\0'; in getLuProperties()
1695 DI_PRIMARY_LINK, (void *)pProps->osDeviceName, in getLuProperties()
1697 if (pProps->osDeviceName[0] != L'\0') { in getLuProperties()
1699 pProps->osDeviceNameValid = IMA_TRUE; in getLuProperties()
1701 pProps->osDeviceNameValid = IMA_FALSE; in getLuProperties()
1706 pProps->osDeviceNameValid = IMA_FALSE; in getLuProperties()
1710 pProps->osDeviceNameValid = IMA_FALSE; in getLuProperties()
1713 pProps->osParallelIdsValid = IMA_FALSE; in getLuProperties()
1721 IMA_STATISTICS_PROPERTIES *pProps in IMA_GetStatisticsProperties() argument
2290 getISCSINodeParameter(int paramType, IMA_OID *oid, void *pProps, in getISCSINodeParameter() argument
2320 mp = (IMA_MIN_MAX_VALUE *)pProps; in getISCSINodeParameter()
2333 bp = (IMA_BOOL_VALUE *)pProps; in getISCSINodeParameter()
2725 IMA_PHBA_PROPERTIES *pProps in IMA_GetPhbaProperties() argument
2743 IMA_PHBA_DOWNLOAD_PROPERTIES *pProps in IMA_GetPhbaDownloadProperties() argument
2753 IMA_PHBA_DOWNLOAD_IMAGE_PROPERTIES *pProps in IMA_IsPhbaDownloadFile() argument
2798 IMA_PNP_PROPERTIES *pProps in IMA_GetPnpProperties() argument
2816 IMA_IP_PROPERTIES *pProps in IMA_GetIpProperties() argument
2912 IMA_NETWORK_PORTAL_PROPERTIES *pProps in IMA_GetNetworkPortalProperties() argument
2938 IMA_IPSEC_PROPERTIES *pProps in IMA_GetIpsecProperties() argument
2941 pProps->ipsecSupported = IMA_TRUE; in IMA_GetIpsecProperties()
2942 pProps->implementedInHardware = IMA_FALSE; in IMA_GetIpsecProperties()
2943 pProps->implementedInSoftware = IMA_TRUE; in IMA_GetIpsecProperties()
2951 IMA_LHBA_PROPERTIES *pProps in IMA_GetLhbaProperties() argument
2955 if (pProps == NULL) { in IMA_GetLhbaProperties()
2963 (void) memset(pProps, 0, sizeof (IMA_LHBA_PROPERTIES)); in IMA_GetLhbaProperties()
2964 (void) mbstowcs(pProps->osDeviceName, OS_DEVICE_NAME, in IMA_GetLhbaProperties()
2966 pProps->luExposingSupported = IMA_FALSE; in IMA_GetLhbaProperties()
2967 pProps->isDestroyable = IMA_FALSE; in IMA_GetLhbaProperties()
2968 pProps->staleDataRemovable = IMA_FALSE; in IMA_GetLhbaProperties()
2969 pProps->staleDataSize = 0; in IMA_GetLhbaProperties()
2970 pProps->initiatorAuthMethodsSettable = IMA_TRUE; in IMA_GetLhbaProperties()
2971 pProps->targetAuthMethodsSettable = IMA_FALSE; in IMA_GetLhbaProperties()
2992 IMA_LNP_PROPERTIES *pProps in IMA_GetLnpProperties() argument
3018 IMA_PLUGIN_PROPERTIES *pProps in IMA_GetPluginProperties() argument
3021 pProps->supportedImaVersion = 1; in IMA_GetPluginProperties()
3022 libSwprintf(pProps->vendor, L"%ls", LIBRARY_PROPERTY_VENDOR); in IMA_GetPluginProperties()
3023 libSwprintf(pProps->implementationVersion, L"%ls", in IMA_GetPluginProperties()
3025 libSwprintf(pProps->fileName, L"%ls", LIBRARY_FILE_NAME); in IMA_GetPluginProperties()
3026 GetBuildTime(&(pProps->buildTime)); in IMA_GetPluginProperties()
3027 pProps->lhbasCanBeCreatedAndDestroyed = IMA_FALSE; in IMA_GetPluginProperties()