Lines Matching defs: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
270 pProps->runningInInitiatorMode = IMA_TRUE;
271 pProps->runningInTargetMode = IMA_FALSE;
272 pProps->nameAndAliasSettable = IMA_FALSE;
285 pProps->nameValid = IMA_FALSE;
288 (void) mbstowcs(pProps->name,
291 pProps->nameValid = IMA_TRUE;
293 pProps->nameValid = IMA_FALSE;
300 (void) memset(pProps->alias, 0,
303 pProps->aliasValid = IMA_FALSE;
306 (void) mbstowcs(pProps->alias,
309 pProps->aliasValid = IMA_TRUE;
413 IMA_DISCOVERY_PROPERTIES *pProps
435 pProps->iSnsDiscoverySettable = discoveryProps.iSNSDiscoverySettable;
436 pProps->iSnsDiscoveryEnabled = discoveryProps.iSNSDiscoveryEnabled;
441 if (pProps->iSnsDiscoveryEnabled == IMA_TRUE) {
444 pProps->iSnsDiscoveryMethod =
448 pProps->iSnsDiscoveryMethod =
452 pProps->iSnsDiscoveryMethod =
460 (void) memcpy(pProps->iSnsHost.id.hostname,
462 sizeof (pProps->iSnsHost.id.hostname));
463 pProps->slpDiscoverySettable = discoveryProps.SLPDiscoverySettable;
464 pProps->slpDiscoveryEnabled = discoveryProps.SLPDiscoveryEnabled;
465 pProps->staticDiscoverySettable =
467 pProps->staticDiscoveryEnabled = discoveryProps.StaticDiscoveryEnabled;
468 pProps->sendTargetsDiscoverySettable =
470 pProps->sendTargetsDiscoveryEnabled =
504 IMA_MIN_MAX_VALUE *pProps
507 return (getISCSINodeParameter(MIN_MAX_PARAM, &Oid, pProps,
513 IMA_MIN_MAX_VALUE *pProps
516 return (getISCSINodeParameter(MIN_MAX_PARAM, &Oid, pProps,
522 IMA_MIN_MAX_VALUE *pProps
525 return (getISCSINodeParameter(MIN_MAX_PARAM, &Oid, pProps,
580 IMA_MIN_MAX_VALUE *pProps
583 return (getISCSINodeParameter(MIN_MAX_PARAM, &Oid, pProps,
601 IMA_MIN_MAX_VALUE *pProps
604 return (getISCSINodeParameter(MIN_MAX_PARAM, &lhbaId, pProps,
622 IMA_MIN_MAX_VALUE *pProps
625 return (getISCSINodeParameter(MIN_MAX_PARAM, &lhbaId, pProps,
643 IMA_MIN_MAX_VALUE *pProps
646 return (getISCSINodeParameter(MIN_MAX_PARAM, &Oid, pProps,
665 IMA_MIN_MAX_VALUE *pProps
668 return (getISCSINodeParameter(MIN_MAX_PARAM, &Oid, pProps,
686 IMA_BOOL_VALUE *pProps
689 return (getISCSINodeParameter(BOOL_PARAM, &Oid, pProps,
708 IMA_BOOL_VALUE *pProps
711 return (getISCSINodeParameter(BOOL_PARAM, &Oid, pProps,
729 IMA_BOOL_VALUE *pProps
732 return (getISCSINodeParameter(BOOL_PARAM, &Oid, pProps,
750 IMA_BOOL_VALUE *pProps
753 return (getISCSINodeParameter(BOOL_PARAM, &Oid, pProps,
1078 IMA_STATIC_DISCOVERY_TARGET_PROPERTIES *pProps
1109 (void) mbstowcs(pProps->staticTarget.targetName, (char *)prop.p_name,
1110 sizeof (pProps->staticTarget.targetName)/sizeof (IMA_WCHAR));
1115 pProps->staticTarget.targetAddress.hostnameIpAddress.\
1119 &pProps->staticTarget.targetAddress.\
1125 pProps->staticTarget.targetAddress.hostnameIpAddress.\
1129 &pProps->staticTarget.targetAddress.\
1139 pProps->staticTarget.targetAddress.hostnameIpAddress.\
1141 pProps->staticTarget.targetAddress.portNumber =
1150 IMA_DISCOVERY_ADDRESS_PROPERTIES *pProps
1223 pProps->discoveryAddress.hostnameIpAddress.id.
1226 pProps->discoveryAddress.hostnameIpAddress.id.
1235 addr = &pProps->discoveryAddress;
1236 bcopy(&(matched_addr->a_addr.i_addr), pProps->discoveryAddress.
1240 pProps->discoveryAddress.portNumber = matched_addr->a_port;
1242 pProps->associatedLhbaOid.objectType = IMA_OBJECT_TYPE_LHBA;
1243 pProps->associatedLhbaOid.ownerId = pluginOwnerId;
1244 pProps->associatedLhbaOid.objectSequenceNumber = ISCSI_INITIATOR_OID;
1433 IMA_TARGET_PROPERTIES *pProps
1436 return (getTargetProperties(targetId, pProps));
1441 IMA_TARGET_PROPERTIES *pProps
1464 (void) mbstowcs(pProps->name, (char *)prop.p_name, IMA_NODE_NAME_LEN);
1465 (void) memset(pProps->alias, 0,
1468 (void) mbstowcs(pProps->alias, (char *)prop.p_alias,
1473 pProps->discoveryMethodFlags = IMA_TARGET_DISCOVERY_METHOD_UNKNOWN;
1476 pProps->discoveryMethodFlags |=
1482 pProps->discoveryMethodFlags |= IMA_TARGET_DISCOVERY_METHOD_SLP;
1487 pProps->discoveryMethodFlags |= iSCSIDiscoveryMethodISNS;
1492 pProps->discoveryMethodFlags |= iSCSIDiscoveryMethodSendTargets;
1576 IMA_LU_PROPERTIES *pProps
1579 return (getLuProperties(luId, pProps));
1584 IMA_LU_PROPERTIES *pProps
1651 pProps->associatedTargetOid.objectType = IMA_OBJECT_TYPE_TARGET;
1652 pProps->associatedTargetOid.ownerId = pluginOwnerId;
1653 pProps->associatedTargetOid.objectSequenceNumber = lun.lp_tgt_oid;
1654 pProps->targetLun = (IMA_UINT64)lun.lp_num;
1655 pProps->exposedToOs = IMA_TRUE;
1656 (void) memset(&pProps->timeExposedToOs, 0,
1657 sizeof (pProps->timeExposedToOs));
1679 pProps->osDeviceName[0] = L'\0';
1681 DI_PRIMARY_LINK, (void *)pProps->osDeviceName,
1683 if (pProps->osDeviceName[0] != L'\0') {
1685 pProps->osDeviceNameValid = IMA_TRUE;
1687 pProps->osDeviceNameValid = IMA_FALSE;
1692 pProps->osDeviceNameValid = IMA_FALSE;
1696 pProps->osDeviceNameValid = IMA_FALSE;
1699 pProps->osParallelIdsValid = IMA_FALSE;
1707 IMA_STATISTICS_PROPERTIES *pProps
2279 void *pProps,
2310 mp = (IMA_MIN_MAX_VALUE *)pProps;
2323 bp = (IMA_BOOL_VALUE *)pProps;
2729 IMA_PHBA_PROPERTIES *pProps
2747 IMA_PHBA_DOWNLOAD_PROPERTIES *pProps
2757 IMA_PHBA_DOWNLOAD_IMAGE_PROPERTIES *pProps
2802 IMA_PNP_PROPERTIES *pProps
2820 IMA_IP_PROPERTIES *pProps
2932 IMA_NETWORK_PORTAL_PROPERTIES *pProps
2958 IMA_IPSEC_PROPERTIES *pProps
2961 pProps->ipsecSupported = IMA_TRUE;
2962 pProps->implementedInHardware = IMA_FALSE;
2963 pProps->implementedInSoftware = IMA_TRUE;
2971 IMA_LHBA_PROPERTIES *pProps
2975 if (pProps == NULL) {
2983 (void) memset(pProps, 0, sizeof (IMA_LHBA_PROPERTIES));
2984 (void) mbstowcs(pProps->osDeviceName, OS_DEVICE_NAME,
2986 pProps->luExposingSupported = IMA_FALSE;
2987 pProps->isDestroyable = IMA_FALSE;
2988 pProps->staleDataRemovable = IMA_FALSE;
2989 pProps->staleDataSize = 0;
2990 pProps->initiatorAuthMethodsSettable = IMA_TRUE;
2991 pProps->targetAuthMethodsSettable = IMA_FALSE;
3012 IMA_LNP_PROPERTIES *pProps
3038 IMA_PLUGIN_PROPERTIES *pProps
3041 pProps->supportedImaVersion = 1;
3042 libSwprintf(pProps->vendor, L"%ls", LIBRARY_PROPERTY_VENDOR);
3043 libSwprintf(pProps->implementationVersion, L"%ls",
3045 libSwprintf(pProps->fileName, L"%ls", LIBRARY_FILE_NAME);
3046 GetBuildTime(&(pProps->buildTime));
3047 pProps->lhbasCanBeCreatedAndDestroyed = IMA_FALSE;