/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
D | Measurement.c | 59 IN CHAR16 *VarName in AssignVarName() argument 65 if (StrCmp (VarName, mVariableType[Index].VariableName) == 0) { in AssignVarName() 109 IN CHAR16 *VarName, in AddDataMeasured() argument 137 mMeasuredAuthorityList[mMeasuredAuthorityCount].VariableName = AssignVarName (VarName); in AddDataMeasured() 163 IN CHAR16 *VarName, in IsDataMeasured() argument 172 if ((StrCmp (VarName, mMeasuredAuthorityList[Index].VariableName) == 0) && in IsDataMeasured() 225 IN CHAR16 *VarName, in MeasureVariable() argument 240 VarNameLength = StrLen (VarName); in MeasureVariable() 241 VarLogSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 254 VarName, in MeasureVariable() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordDxe/ |
D | OpalHiiCallbacks.c | 40 CHAR16* VarName; in OpalDriverGetOpalVarName() local 56 VarName = (CHAR16*)AllocateZeroPool((VarNameLen + 1) * sizeof(CHAR16)); in OpalDriverGetOpalVarName() 57 if (VarName == NULL) { in OpalDriverGetOpalVarName() 61 CopyMem(VarName, Prefix, PrefixLen * sizeof(CHAR16)); in OpalDriverGetOpalVarName() 63 CopyMem(VarName + PrefixLen, Dev->Name16, NameLen * sizeof(CHAR16)); in OpalDriverGetOpalVarName() 65 VarName[VarNameLen] = 0; in OpalDriverGetOpalVarName() 67 return VarName; in OpalDriverGetOpalVarName()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
D | Measurement.c | 83 IN CHAR16 *VarName, in MeasureVariable() argument 96 VarNameLength = StrLen (VarName); in MeasureVariable() 97 VarLogSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 110 VarName, in MeasureVariable() 111 VarNameLength * sizeof (*VarName) in MeasureVariable() 122 DEBUG ((EFI_D_INFO, "VariableName - %s, VendorGuid - %g)\n", VarName, VendorGuid)); in MeasureVariable()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/HiiPack/ |
D | IfrParse.c | 35 CHAR8 VarName[MAX_VARIABLE_NAME]; member 494 CHAR8 *VarName, 1026 char VarName[MAX_VARIABLE_NAME]; in IfrReferencesVarPack() local 1035 sprintf (VarName, "%S", (CHAR16 *) (VarPack + 1)); in IfrReferencesVarPack() 1043 if ((strcmp (VarName, ParseEntry->VarStoreName1) == 0) && in IfrReferencesVarPack() 1052 (strcmp (VarName, ParseEntry->VarStoreName2) == 0) && in IfrReferencesVarPack() 1112 char *VarName, in SetVariableValue() argument 1144 if (strcmp (VarName, Entry->VarName) == 0) { in SetVariableValue() 1380 CHAR8 *VarName, in CreateVarStore() argument 1427 if (strcmp (VarName, Entry->VarName) == 0) { in CreateVarStore() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/ |
D | BmLib.c | 32 IN CHAR16 *VarName, in EfiLibDeleteVariable() argument 37 VarName, in EfiLibDeleteVariable()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PlatformVarCleanupLib/ |
D | PlatVarCleanupLib.c | 194 CHAR16 *VarName; in CreateUserVariableNode() local 211 VarName = AllocateZeroPool (MaxVarNameSize); in CreateUserVariableNode() 212 ASSERT (VarName != NULL); in CreateUserVariableNode() 224 Status = gRT->GetNextVariableName (&VarNameSize, VarName, &Guid); in CreateUserVariableNode() 226 VarName = ReallocatePool (MaxVarNameSize, VarNameSize, VarName); in CreateUserVariableNode() 227 ASSERT (VarName != NULL); in CreateUserVariableNode() 229 Status = gRT->GetNextVariableName (&VarNameSize, VarName, &Guid); in CreateUserVariableNode() 233 if (IsUserVariable (VarName, &Guid)) { in CreateUserVariableNode() 235 GetVariableStatus = gRT->GetVariable (VarName, &Guid, &Attributes, &DataSize, Data); in CreateUserVariableNode() 240 GetVariableStatus = gRT->GetVariable (VarName, &Guid, &Attributes, &DataSize, Data); in CreateUserVariableNode() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserProfileManagerDxe/ |
D | ModifyAccessPolicy.c | 322 CHAR16 VarName[12]; in DisplayLoadPermit() local 398 UnicodeSPrint (VarName, sizeof (VarName), L"Driver%04x", Order[Index]); in DisplayLoadPermit() 399 GetEfiGlobalVariable2 (VarName, (VOID**)&Var, NULL); in DisplayLoadPermit() 638 CHAR16 VarName[13]; in AddToForbidLoad() local 643 UnicodeSPrint (VarName, sizeof (VarName), L"Driver%04x", DriverIndex); in AddToForbidLoad() 644 GetEfiGlobalVariable2 (VarName, (VOID**)&Var, NULL); in AddToForbidLoad()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgDxe/ |
D | TcgDxe.c | 906 IN CHAR16 *VarName, in ReadVariable() argument 916 VarName, in ReadVariable() 929 VarName, in ReadVariable() 964 IN CHAR16 *VarName, in MeasureVariable() argument 975 VarNameLength = StrLen (VarName); in MeasureVariable() 978 TcgEvent.EventSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 991 VarName, in MeasureVariable() 992 VarNameLength * sizeof (*VarName) in MeasureVariable() 1027 IN CHAR16 *VarName, in ReadAndMeasureBootVariable() argument 1035 *VarData = ReadVariable (VarName, VendorGuid, VarSize); in ReadAndMeasureBootVariable() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
D | BmLib.c | 160 IN CHAR16 *VarName, in EfiLibDeleteVariable() argument 167 VarBuf = EfiLibGetVariable (VarName, VarGuid); in EfiLibDeleteVariable() 175 VarName, in EfiLibDeleteVariable()
|
D | Variable.c | 1135 CHAR16 VarName[100]; in Var_UpdateBBSOption() local 1290 UnicodeSPrint (VarName, sizeof (VarName), L"Boot%04x", DisBootOption[Index]); in Var_UpdateBBSOption() 1292 VarName, in Var_UpdateBBSOption() 1301 VarName, in Var_UpdateBBSOption() 1317 UnicodeSPrint (VarName, sizeof (VarName), L"Boot%04x", EnBootOption[Index]); in Var_UpdateBBSOption() 1319 VarName, in Var_UpdateBBSOption() 1328 VarName, in Var_UpdateBBSOption()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
D | TrEEDxe.c | 1102 IN CHAR16 *VarName, in MeasureVariable() argument 1114 DEBUG ((EFI_D_INFO, "VariableName - %s, VendorGuid - %g)\n", VarName, VendorGuid)); in MeasureVariable() 1116 VarNameLength = StrLen (VarName); in MeasureVariable() 1119 TcgEvent.EventSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 1132 VarName, in MeasureVariable() 1133 VarNameLength * sizeof (*VarName) in MeasureVariable() 1174 IN CHAR16 *VarName, in ReadAndMeasureVariable() argument 1182 Status = GetVariable2 (VarName, VendorGuid, VarData, VarSize); in ReadAndMeasureVariable() 1203 VarName, in ReadAndMeasureVariable() 1226 IN CHAR16 *VarName, in ReadAndMeasureBootVariable() argument [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiHiiLib/ |
D | HiiLib.c | 1058 IN CHAR16 *VarName, in GetValueFromRequest() argument 1070 StringPtr = StrStr (ConfigElement, VarName); in GetValueFromRequest() 1076 StringPtr += StrLen (VarName) + 1; in GetValueFromRequest() 1119 IN CHAR16 *VarName, in ValidateQuestionFromVfr() argument 1198 if ((CHAR16) VarStoreName[Index] != VarName[Index]) { in ValidateQuestionFromVfr() 1205 if ((VarStoreName[Index] != 0) || (VarName[Index] != 0)) { in ValidateQuestionFromVfr() 1258 if ((CHAR16) VarStoreName[Index] != VarName[Index]) { in ValidateQuestionFromVfr() 1265 if ((VarStoreName[Index] != 0) || (VarName[Index] != 0)) { in ValidateQuestionFromVfr() 1309 QuestionName = HiiGetString (HiiHandle, IfrOneOf->Question.VarStoreInfo.VarName, NULL); in ValidateQuestionFromVfr() 1380 … QuestionName = HiiGetString (HiiHandle, IfrNumeric->Question.VarStoreInfo.VarName, NULL); in ValidateQuestionFromVfr() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/ |
D | IpSecConfig.h | 77 CHAR16 *VarName; member
|
D | IpSecConfig.c | 558 for (; Item->VarName != NULL; Item++) { in IpSecConfigRetriveCheckListByName() 559 if (StrCmp (((SHELL_PARAM_PACKAGE *) Node)->Name, Item->VarName) == 0) { in IpSecConfigRetriveCheckListByName() 576 if ((Index == 2) && (StrCmp (Item->VarName, L"-p") == 0)) { in IpSecConfigRetriveCheckListByName()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/ |
D | LegacyBootMaintUi.c | 264 CHAR16 VarName[100]; in UpdateBBSOption() local 429 UnicodeSPrint (VarName, sizeof (VarName), L"Boot%04x", DisBootOption[Index]); in UpdateBBSOption() 430 GetEfiGlobalVariable2 (VarName, (VOID **) &BootOptionVar, &OptionSize); in UpdateBBSOption() 436 VarName, in UpdateBBSOption() 448 UnicodeSPrint (VarName, sizeof (VarName), L"Boot%04x", EnBootOption[Index]); in UpdateBBSOption() 449 GetEfiGlobalVariable2 (VarName, (VOID **) &BootOptionVar, &OptionSize); in UpdateBBSOption() 455 VarName, in UpdateBBSOption()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
D | BmConsole.c | 294 IN CHAR16 *VarName, in BmUpdateSystemTableConsole() argument 310 ASSERT (VarName != NULL); in BmUpdateSystemTableConsole() 333 GetEfiGlobalVariable2 (VarName, (VOID **) &VarConsole, NULL); in BmUpdateSystemTableConsole() 349 DEBUG ((EFI_D_ERROR, "[Bds] No valid console instance is found for %s!\n", VarName)); in BmUpdateSystemTableConsole()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/ |
D | BootMode.c | 130 CHAR16 VarName[] = BOOT_STATE_VARIABLE_NAME; in IsPreviousBootSuccessful() 149 VarName, in IsPreviousBootSuccessful()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
D | Tcg2Dxe.c | 1750 IN CHAR16 *VarName, in MeasureVariable() argument 1762 DEBUG ((EFI_D_INFO, "VariableName - %s, VendorGuid - %g)\n", VarName, VendorGuid)); in MeasureVariable() 1764 VarNameLength = StrLen (VarName); in MeasureVariable() 1768 TcgEvent.EventSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 1781 VarName, in MeasureVariable() 1782 VarNameLength * sizeof (*VarName) in MeasureVariable() 1836 IN CHAR16 *VarName, in ReadAndMeasureVariable() argument 1844 Status = GetVariable2 (VarName, VendorGuid, VarData, VarSize); in ReadAndMeasureVariable() 1865 VarName, in ReadAndMeasureVariable() 1888 IN CHAR16 *VarName, in ReadAndMeasureBootVariable() argument [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/ |
D | BootMode.c | 111 CHAR16 VarName[] = MFGMODE_VARIABLE_NAME; 131 VarName,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
D | Ip4Config2Impl.h | 227 IN CHAR16 *VarName,
|
D | Ip4Config2Impl.c | 196 IN CHAR16 *VarName, in Ip4Config2ReadConfigData() argument 213 VarName, in Ip4Config2ReadConfigData() 230 VarName, in Ip4Config2ReadConfigData() 248 VarName, in Ip4Config2ReadConfigData() 312 IN CHAR16 *VarName, in Ip4Config2WriteConfigData() argument 364 VarName, in Ip4Config2WriteConfigData()
|
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
D | Ip6ConfigImpl.h | 232 IN CHAR16 *VarName,
|
D | Ip6ConfigImpl.c | 323 IN CHAR16 *VarName, in Ip6ConfigReadConfigData() argument 340 VarName, in Ip6ConfigReadConfigData() 357 VarName, in Ip6ConfigReadConfigData() 375 VarName, in Ip6ConfigReadConfigData() 443 IN CHAR16 *VarName, in Ip6ConfigWriteConfigData() argument 496 VarName, in Ip6ConfigWriteConfigData()
|
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/ |
D | UserIdentifyManager.c | 2501 CHAR16 VarName[10]; in InitUserProfileDb() local 2534 VarName, in InitUserProfileDb() 2535 sizeof (VarName), in InitUserProfileDb() 2545 Status = gRT->GetVariable (VarName, &gUserIdentifyManagerGuid, &VarAttr, &VarSize, VarData); in InitUserProfileDb() 2555 … Status = gRT->GetVariable (VarName, &gUserIdentifyManagerGuid, &VarAttr, &VarSize, VarData); in InitUserProfileDb() 2569 Status = gRT->SetVariable (VarName, &gUserIdentifyManagerGuid, VarAttr, 0, NULL); in InitUserProfileDb() 2582 gRT->SetVariable (VarName, &gUserIdentifyManagerGuid, VarAttr, 0, NULL); in InitUserProfileDb() 2591 gRT->SetVariable (VarName, &gUserIdentifyManagerGuid, VarAttr, 0, NULL); in InitUserProfileDb()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ |
D | UefiIfrParser.h | 178 EFI_STRING_ID VarName; member
|