Home
last modified time | relevance | path

Searched refs:VarNameSize (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/
DEmuVariable.c896 UINTN VarNameSize; in UpdateVariable() local
986 VarNameSize = StrSize (VariableName); in UpdateVariable()
987 VarDataOffset = VarNameOffset + VarNameSize + GET_PAD_SIZE (VarNameSize); in UpdateVariable()
1032 NextVariable->NameSize = (UINT32)VarNameSize; in UpdateVariable()
1039 VarNameSize in UpdateVariable()
1256 UINTN VarNameSize; in EmuGetNextVariableName() local
1302 VarNameSize = Variable.CurrPtr->NameSize; in EmuGetNextVariableName()
1303 if (VarNameSize <= *VariableNameSize) { in EmuGetNextVariableName()
1307 VarNameSize in EmuGetNextVariableName()
1319 *VariableNameSize = VarNameSize; in EmuGetNextVariableName()
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/
DFSVariable.c1085 UINTN VarNameSize; in UpdateVariable() local
1203 VarNameSize = StrSize (VariableName); in UpdateVariable()
1207 VarNameSize in UpdateVariable()
1209 VarDataOffset = VarNameOffset + VarNameSize + GET_PAD_SIZE (VarNameSize); in UpdateVariable()
1221 NextVariable->NameSize = (UINT32)VarNameSize; in UpdateVariable()
1396 UINTN VarNameSize; in GetNextVariableName() local
1449 VarNameSize = Variable.CurrPtr->NameSize; in GetNextVariableName()
1450 if (VarNameSize <= *VariableNameSize) { in GetNextVariableName()
1454 VarNameSize in GetNextVariableName()
1466 *VariableNameSize = VarNameSize; in GetNextVariableName()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PlatformVarCleanupLib/
DPlatVarCleanupLib.c187 UINTN VarNameSize; in CreateUserVariableNode() local
214 VarNameSize = MaxVarNameSize; in CreateUserVariableNode()
215 Status = gRT->GetNextVariableName (&VarNameSize, VarName, &Guid); in CreateUserVariableNode()
217 VarName = ReallocatePool (MaxVarNameSize, VarNameSize, VarName); in CreateUserVariableNode()
219 MaxVarNameSize = VarNameSize; in CreateUserVariableNode()
220 Status = gRT->GetNextVariableName (&VarNameSize, VarName, &Guid); in CreateUserVariableNode()
245 UserVariableNameNode->Name = AllocateCopyPool (VarNameSize, VarName); in CreateUserVariableNode()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/Pei/
DVariable.c1057 UINTN VarNameSize; in PeiGetNextVariableName() local
1160 VarNameSize = NameSizeOfVariable (VariableHeader, StoreInfo.AuthFlag); in PeiGetNextVariableName()
1161 ASSERT (VarNameSize != 0); in PeiGetNextVariableName()
1163 if (VarNameSize <= *VariableNameSize) { in PeiGetNextVariableName()
1164 …, (UINT8 *) GetVariableNamePtr (Variable.CurrPtr, StoreInfo.AuthFlag), VarNameSize, (UINT8 *) Vari… in PeiGetNextVariableName()
1173 *VariableNameSize = VarNameSize; in PeiGetNextVariableName()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariable.c1705 UINTN VarNameSize; in CheckRemainingSpaceForConsistencyInternal() local
1728 VarNameSize = StrSize (VariableEntry->Name); in CheckRemainingSpaceForConsistencyInternal()
1729 VarNameSize += GET_PAD_SIZE (VarNameSize); in CheckRemainingSpaceForConsistencyInternal()
1732 … VariableEntry->VariableSize = HEADER_ALIGN (GetVariableHeaderSize () + VarNameSize + VarDataSize); in CheckRemainingSpaceForConsistencyInternal()
2145 UINTN VarNameSize; in UpdateVariable() local
2485 VarNameSize = StrSize (VariableName); in UpdateVariable()
2489 VarNameSize in UpdateVariable()
2491 VarDataOffset = VarNameOffset + VarNameSize + GET_PAD_SIZE (VarNameSize); in UpdateVariable()
2511 SetNameSizeOfVariable (NextVariable, VarNameSize); in UpdateVariable()
3024 UINTN VarNameSize; in VariableServiceGetNextVariableName() local
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/
DVarCheckHiiGen.c1128 UINTN VarNameSize; in CreateHiiVariableNode() local
1133 VarNameSize = AsciiStrSize ((CHAR8 *) IfrEfiVarStore->Name) * 2; in CreateHiiVariableNode()
1134 if (VarNameSize > mMaxVarNameSize) { in CreateHiiVariableNode()
1135 mVarName = InternalVarCheckReallocatePool (mMaxVarNameSize, VarNameSize, mVarName); in CreateHiiVariableNode()
1137 mMaxVarNameSize = VarNameSize; in CreateHiiVariableNode()
1150 HeaderLength = sizeof (*HiiVariable) + VarNameSize; in CreateHiiVariableNode()
1159 StrCpyS ((CHAR16 *) (HiiVariable + 1), VarNameSize / sizeof (CHAR16), VarName); in CreateHiiVariableNode()
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DVariable.c1871 UINTN VarNameSize; in UpdateVariable() local
2022 VarNameSize = StrSize (VariableName); in UpdateVariable()
2026 VarNameSize in UpdateVariable()
2028 VarDataOffset = VarNameOffset + VarNameSize + GET_PAD_SIZE (VarNameSize); in UpdateVariable()
2040 NextVariableHeader->NameSize = (UINT32)VarNameSize; in UpdateVariable()
2404 UINTN VarNameSize; in EsalGetNextVariableName() local
2471 VarNameSize = NameSizeOfVariable (&VariableHeader); in EsalGetNextVariableName()
2472 ASSERT (VarNameSize != 0); in EsalGetNextVariableName()
2474 if (VarNameSize <= *VariableNameSize) { in EsalGetNextVariableName()
2492 *VariableNameSize = VarNameSize; in EsalGetNextVariableName()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DGenPcdDb.py1245 VarNameSize = len(VariableNameStructure.replace(',',' ').split())
1246 Dict['STRING_TABLE_LENGTH'].append(VarNameSize )