Searched refs:VAR_DATA_PTR (Results 1 – 4 of 4) sorted by relevance
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/ |
D | MemStorage.c | 74 Status = gBS->AllocatePool (EfiRuntimeServicesData, Size, (VOID **) &VAR_DATA_PTR (Dev)); in MemStorageConstructor() 96 EfiConvertPointer (0, (VOID **)&VAR_DATA_PTR (Dev)); in OnVirtualAddressChangeMs() 110 SetMem (VAR_DATA_PTR (Dev), Dev->Size, VAR_DEFAULT_VALUE); in MemEraseStore() 131 if (VAR_DATA_PTR (Dev) + Offset != UserBuffer) { in MemWriteStore() 132 CopyMem (VAR_DATA_PTR (Dev) + Offset, UserBuffer, BufferSize); in MemWriteStore()
|
D | FileStorage.c | 230 Status = File->Write (File, &NumBytes, VAR_DATA_PTR (Dev)); in OnSimpleFileSystemInstall() 256 VAR_DATA_PTR (Dev) = (UINT8 *) (UINTN) NvStorageBase; in FileStorageConstructor() 301 SetMem (VAR_DATA_PTR (Dev), Dev->Size, VAR_DEFAULT_VALUE); in FileEraseStore() 312 Status = File->Write (File, &NumBytes, VAR_DATA_PTR (Dev)); in FileEraseStore() 339 CopyMem (VAR_DATA_PTR (Dev) + Offset, Buffer, BufferSize); in FileWriteStore() 368 EfiConvertPointer (0, (VOID **) &VAR_DATA_PTR (Dev)); in OnVirtualAddressChangeFs()
|
D | VariableStorage.h | 112 #define VAR_DATA_PTR(a) ((a)->Info.Data) macro
|
D | FSVariable.c | 1862 VariableStoreHeader = (VARIABLE_STORE_HEADER *) VAR_DATA_PTR (Dev); in VariableServiceInitialize() 1906 VariableStoreHeader = (VARIABLE_STORE_HEADER *) VAR_DATA_PTR (Dev); in VariableServiceInitialize() 1907 mGlobal->VariableBase[Volatile] = VAR_DATA_PTR (Dev); in VariableServiceInitialize()
|