Home | History | Annotate | Download | only in IScsiDxe

Lines Matching full:attempttmp

912   ISCSI_ATTEMPT_CONFIG_NVDATA *AttemptTmp;

956 (VOID**)&AttemptTmp,
959 if(AttemptTmp == NULL || EFI_ERROR (Status)) {
963 ASSERT (AttemptConfigOrder[Index] == AttemptTmp->AttemptConfigIndex);
965 if (AttemptTmp->SessionConfigData.Enabled == ISCSI_DISABLED) {
966 FreePool (AttemptTmp);
970 if (AttemptTmp->SessionConfigData.IpMode != IP_MODE_AUTOCONFIG &&
971 AttemptTmp->SessionConfigData.IpMode != ((IpVersion == IP_VERSION_4) ? IP_MODE_IP4 : IP_MODE_IP6)) {
972 FreePool (AttemptTmp);
976 if(AttemptTmp->SessionConfigData.IpMode == IP_MODE_AUTOCONFIG ||
977 AttemptTmp->SessionConfigData.InitiatorInfoFromDhcp == TRUE ||
978 AttemptTmp->SessionConfigData.TargetInfoFromDhcp == TRUE) {
979 FreePool (AttemptTmp);
984 FreePool (AttemptTmp);
1010 ISCSI_ATTEMPT_CONFIG_NVDATA *AttemptTmp;
1049 AttemptTmp = IScsiConfigGetAttemptByConfigIndex (AttemptConfigOrder[Index]);
1050 if (AttemptTmp != NULL && AttemptTmp->SessionConfigData.Enabled == ISCSI_DISABLED) {
1052 } else if (AttemptTmp != NULL && AttemptTmp->SessionConfigData.Enabled != ISCSI_DISABLED) {
1056 if (AttemptTmp->SessionConfigData.IpMode == IP_MODE_AUTOCONFIG &&
1057 !AttemptTmp->AutoConfigureSuccess) {
1059 AttemptTmp->AutoConfigureMode == IP_MODE_AUTOCONFIG_IP6) {
1065 AttemptTmp->AutoConfigureMode == IP_MODE_AUTOCONFIG_IP4) {
1074 AttemptTmp->AutoConfigureMode =
1076 AttemptTmp->SessionConfigData.InitiatorInfoFromDhcp = TRUE;
1077 AttemptTmp->SessionConfigData.TargetInfoFromDhcp = TRUE;
1078 AttemptTmp->DhcpSuccess = FALSE;
1084 Status = IScsiDoDhcp (Private->Image, Private->Controller, AttemptTmp);
1086 AttemptTmp->DhcpSuccess = TRUE;
1089 Status = IScsiDoDhcp6 (Private->Image, Private->Controller, AttemptTmp);
1091 AttemptTmp->DhcpSuccess = TRUE;
1098 AsciiStrToUnicodeStr (AttemptTmp->MacString, MacString);
1104 (UINTN) AttemptTmp->AttemptConfigIndex
1112 AttemptTmp
1117 } else if (AttemptTmp->SessionConfigData.InitiatorInfoFromDhcp && !AttemptTmp->ValidPath) {
1121 AttemptTmp->DhcpSuccess = FALSE;
1122 if (!mPrivate->Ipv6Flag && (AttemptTmp->SessionConfigData.IpMode == IP_MODE_IP4)) {
1123 Status = IScsiDoDhcp (Private->Image, Private->Controller, AttemptTmp);
1125 AttemptTmp->DhcpSuccess = TRUE;
1127 } else if (mPrivate->Ipv6Flag && (AttemptTmp->SessionConfigData.IpMode == IP_MODE_IP6)) {
1128 Status = IScsiDoDhcp6 (Private->Image, Private->Controller, AttemptTmp);
1130 AttemptTmp->DhcpSuccess = TRUE;
1137 AsciiStrToUnicodeStr (AttemptTmp->MacString, MacString);
1143 (UINTN) AttemptTmp->AttemptConfigIndex
1151 AttemptTmp