Home
last modified time | relevance | path

Searched refs:ValidBuffer (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariable.c976 UINT8 *ValidBuffer; in Reclaim() local
1036 ValidBuffer = AllocatePool (MaximumBufferSize); in Reclaim()
1037 if (ValidBuffer == NULL) { in Reclaim()
1046 ValidBuffer = (UINT8 *) mNvVariableCache; in Reclaim()
1049 SetMem (ValidBuffer, MaximumBufferSize, 0xff); in Reclaim()
1054 CopyMem (ValidBuffer, VariableStoreHeader, sizeof (VARIABLE_STORE_HEADER)); in Reclaim()
1055 CurrPtr = (UINT8 *) GetStartPointer ((VARIABLE_STORE_HEADER *) ValidBuffer); in Reclaim()
1094 AddedVariable = GetStartPointer ((VARIABLE_STORE_HEADER *) ValidBuffer); in Reclaim()
1095 …le (IsValidVariableHeader (AddedVariable, GetEndPointer ((VARIABLE_STORE_HEADER *) ValidBuffer))) { in Reclaim()
1136 if ((UINTN) (CurrPtr - ValidBuffer) + NewVariableSize > VariableStoreHeader->Size) { in Reclaim()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DVariable.c1132 UINT8 *ValidBuffer; in Reclaim() local
1180 ValidBuffer = AllocatePool (MaximumBufferSize); in Reclaim()
1181 if (ValidBuffer == NULL) { in Reclaim()
1185 SetMem (ValidBuffer, MaximumBufferSize, 0xff); in Reclaim()
1190 CopyMem (ValidBuffer, &VariableStoreHeader, sizeof (VARIABLE_STORE_HEADER)); in Reclaim()
1191 CurrPtr = (UINT8 *) GetStartPointer ((EFI_PHYSICAL_ADDRESS) ValidBuffer); in Reclaim()
1225 AddedVariable = GetStartPointer ((EFI_PHYSICAL_ADDRESS) ValidBuffer); in Reclaim()
1275 … CopyMem ((UINT8 *) (UINTN) VariableBase, ValidBuffer, (UINTN) (CurrPtr - (UINT8 *) ValidBuffer)); in Reclaim()
1284 ValidBuffer, in Reclaim()
1285 (UINTN) (CurrPtr - (UINT8 *) ValidBuffer) in Reclaim()
[all …]
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/
DFSVariable.c311 UINT8 *ValidBuffer; in Reclaim() local
339 (VOID**) &ValidBuffer in Reclaim()
345 CurrPtr = ValidBuffer; in Reclaim()
414 ValidBuffer in Reclaim()
424 gBS->FreePool (ValidBuffer); in Reclaim()