Searched refs:NvStorageSize (Results 1 – 3 of 3) sorted by relevance
357 UINTN NvStorageSize; in BlockVariableDxeInitialize() local375 NvStorageSize = Count * Instance->Media.BlockSize; in BlockVariableDxeInitialize()378 if (NvStorageSize < HeadersLength) { in BlockVariableDxeInitialize()436 if (NvStorageSize > ((EFI_FIRMWARE_VOLUME_HEADER*)Headers)->FvLength) { in BlockVariableDxeInitialize()437 NvStorageSize = ((EFI_FIRMWARE_VOLUME_HEADER*)Headers)->FvLength; in BlockVariableDxeInitialize()438 …NvStorageSize = ((NvStorageSize + Instance->Media.BlockSize - 1) / Instance->Media.BlockSize) * In… in BlockVariableDxeInitialize()440 Status = FvbRead (&Instance->FvbProtocol, 0, 0, &NvStorageSize, NvStorageData); in BlockVariableDxeInitialize()
516 UINT32 NvStorageSize; in GetVariableStore() local545 NvStorageSize = PcdGet32 (PcdFlashNvStorageVariableSize); in GetVariableStore()568 …tAddress > NvStorageBase) && (FtwLastWriteData->TargetAddress < (NvStorageBase + NvStorageSize))) { in GetVariableStore()
3623 UINT32 NvStorageSize; in InitNonVolatileVariableStore() local3639 NvStorageSize = PcdGet32 (PcdFlashNvStorageVariableSize); in InitNonVolatileVariableStore()3640 NvStorageData = AllocateRuntimeZeroPool (NvStorageSize); in InitNonVolatileVariableStore()3652 CopyMem (NvStorageData, (UINT8 *) (UINTN) NvStorageBase, NvStorageSize); in InitNonVolatileVariableStore()3670 CopyMem (NvStorageData, (UINT8 *) (UINTN) (FtwLastWriteData->SpareAddress), NvStorageSize); in InitNonVolatileVariableStore()3672 (FtwLastWriteData->TargetAddress < (NvStorageBase + NvStorageSize))) { in InitNonVolatileVariableStore()3677 BackUpSize = NvStorageSize - BackUpOffset; in InitNonVolatileVariableStore()3699 VariableStoreLength = (UINT64) (NvStorageSize - FvHeader->HeaderLength); in InitNonVolatileVariableStore()