Home
last modified time | relevance | path

Searched refs:VarName (Results 1 – 25 of 44) sorted by relevance

12

/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/
DMeasurement.c59 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/
DOpalHiiCallbacks.c40 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/
DMeasurement.c83 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/
DIfrParse.c35 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/
DBmLib.c32 IN CHAR16 *VarName, in EfiLibDeleteVariable() argument
37 VarName, in EfiLibDeleteVariable()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PlatformVarCleanupLib/
DPlatVarCleanupLib.c194 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/
DModifyAccessPolicy.c322 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/
DTcgDxe.c906 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/
DBmLib.c160 IN CHAR16 *VarName, in EfiLibDeleteVariable() argument
167 VarBuf = EfiLibGetVariable (VarName, VarGuid); in EfiLibDeleteVariable()
175 VarName, in EfiLibDeleteVariable()
DVariable.c1135 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/
DTrEEDxe.c1102 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/
DHiiLib.c1058 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/
DIpSecConfig.h77 CHAR16 *VarName; member
DIpSecConfig.c558 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/
DLegacyBootMaintUi.c264 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/
DBmConsole.c294 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/
DBootMode.c130 CHAR16 VarName[] = BOOT_STATE_VARIABLE_NAME; in IsPreviousBootSuccessful()
149 VarName, in IsPreviousBootSuccessful()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
DTcg2Dxe.c1750 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/
DBootMode.c111 CHAR16 VarName[] = MFGMODE_VARIABLE_NAME;
131 VarName,
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Config2Impl.h227 IN CHAR16 *VarName,
DIp4Config2Impl.c196 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/
DIp6ConfigImpl.h232 IN CHAR16 *VarName,
DIp6ConfigImpl.c323 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/
DUserIdentifyManager.c2501 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/
DUefiIfrParser.h178 EFI_STRING_ID VarName; member

12