Home
last modified time | relevance | path

Searched refs:FvDevice (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
DFwVol.c152 IN FV_DEVICE *FvDevice in FreeFvDeviceResource() argument
163 LbaEntry = (LBA_ENTRY *) FvDevice->LbaHeader.ForwardLink; in FreeFvDeviceResource()
164 while (&LbaEntry->Link != &FvDevice->LbaHeader) { in FreeFvDeviceResource()
172 FfsFileEntry = (FFS_FILE_LIST_ENTRY *) FvDevice->FfsFileListHeader.ForwardLink; in FreeFvDeviceResource()
173 while (&FfsFileEntry->Link != &FvDevice->FfsFileListHeader) { in FreeFvDeviceResource()
181 FreeSpaceEntry = (FREE_SPACE_ENTRY *) FvDevice->FreeSpaceHeader.ForwardLink; in FreeFvDeviceResource()
182 while (&FreeSpaceEntry->Link != &FvDevice->FreeSpaceHeader) { in FreeFvDeviceResource()
190 FreePool ((UINT8 *) (UINTN) FvDevice->CachedFv); in FreeFvDeviceResource()
205 IN FV_DEVICE *FvDevice in FwVolInheritAuthenticationStatus() argument
223 CachedFvHeader = (EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) FvDevice->CachedFv; in FwVolInheritAuthenticationStatus()
[all …]
DFwVolWrite.c145 IN FV_DEVICE *FvDevice, in CalculatePadFileSize() argument
160 RelativePos = DataStartPos - (UINTN) FvDevice->CachedFv; in CalculatePadFileSize()
179 RelativePos = DataStartPos - (UINTN) FvDevice->CachedFv + sizeof (EFI_FFS_FILE_HEADER); in CalculatePadFileSize()
314 IN FV_DEVICE *FvDevice, in FvLocateFreeSpaceEntry() argument
325 Link = FvDevice->FreeSpaceHeader.ForwardLink; in FvLocateFreeSpaceEntry()
332 while ((LIST_ENTRY *) FreeSpaceListEntry != &FvDevice->FreeSpaceHeader) { in FvLocateFreeSpaceEntry()
334 FvDevice, in FvLocateFreeSpaceEntry()
367 IN FV_DEVICE *FvDevice, in FvLocatePadFile() argument
381 FileEntry = (FFS_FILE_LIST_ENTRY *) FvDevice->FfsFileListHeader.ForwardLink; in FvLocatePadFile()
386 while (FileEntry != (FFS_FILE_LIST_ENTRY *) &FvDevice->FfsFileListHeader) { in FvLocatePadFile()
[all …]
DFfs.c86 IN FV_DEVICE *FvDevice, in Buffer2LbaEntry() argument
94 Link = FvDevice->LbaHeader.ForwardLink; in Buffer2LbaEntry()
100 while (&LbaEntry->Link != &FvDevice->LbaHeader) { in Buffer2LbaEntry()
109 if (&LbaEntry->Link == &FvDevice->LbaHeader) { in Buffer2LbaEntry()
116 if (&LbaEntry->Link == &FvDevice->LbaHeader) { in Buffer2LbaEntry()
139 IN FV_DEVICE *FvDevice, in Buffer2Lba() argument
151 FvDevice, in Buffer2Lba()
433 IN FV_DEVICE *FvDevice, in DuplicateFileExist() argument
449 GetNextPossibleFileHeader (FvDevice->ErasePolarity, in DuplicateFileExist()
454 …if ((UINT8 *) PHYSICAL_ADDRESS_TO_POINTER (FvDevice->CachedFv) + FvDevice->FwVolHeader->FvLength -… in DuplicateFileExist()
[all …]
DFwPadFile.c71 IN FV_DEVICE *FvDevice, in FvCreatePadFileInFreeSpace() argument
108 FvDevice->ErasePolarity, in FvCreatePadFileInFreeSpace()
122 Offset = (UINTN) (StartPos - FvDevice->CachedFv); in FvCreatePadFileInFreeSpace()
127 FvDevice, in FvCreatePadFileInFreeSpace()
164 Offset = (UINTN) (StartPos - FvDevice->CachedFv); in FvCreatePadFileInFreeSpace()
168 FvDevice, in FvCreatePadFileInFreeSpace()
184 Offset = (UINTN) (StartPos - FvDevice->CachedFv); in FvCreatePadFileInFreeSpace()
189 FvDevice, in FvCreatePadFileInFreeSpace()
212 InsertTailList (&FvDevice->FfsFileListHeader, &FfsFileEntry->Link); in FvCreatePadFileInFreeSpace()
215 FvDevice->CurrentFfsFile = FfsFileEntry; in FvCreatePadFileInFreeSpace()
[all …]
DFwVolRead.c119 FV_DEVICE *FvDevice; in FvGetNextFile() local
126 FvDevice = FV_DEVICE_FROM_THIS (This); in FvGetNextFile()
155 Link = &FvDevice->FfsFileListHeader; in FvGetNextFile()
156 if (Link->ForwardLink == &FvDevice->FfsFileListHeader) { in FvGetNextFile()
188 if (Link->ForwardLink == &FvDevice->FfsFileListHeader) { in FvGetNextFile()
215 } while (Link->ForwardLink != &FvDevice->FfsFileListHeader); in FvGetNextFile()
220 FvDevice->CurrentFfsFile = FfsFileEntry; in FvGetNextFile()
225 if ((FvDevice->FwVolHeader->Attributes & EFI_FVB2_MEMORY_MAPPED) == EFI_FVB2_MEMORY_MAPPED) { in FvGetNextFile()
318 FV_DEVICE *FvDevice; in FvReadFile() local
334 FvDevice = FV_DEVICE_FROM_THIS (This); in FvReadFile()
[all …]
DFwVolAttrib.c38 FV_DEVICE *FvDevice; in FvGetVolumeAttributes() local
42 FvDevice = FV_DEVICE_FROM_THIS (This); in FvGetVolumeAttributes()
43 Fvb = FvDevice->Fvb; in FvGetVolumeAttributes()
85 FV_DEVICE *FvDevice; in FvSetVolumeAttributes() local
92 FvDevice = FV_DEVICE_FROM_THIS (This); in FvSetVolumeAttributes()
93 Fvb = FvDevice->Fvb; in FvSetVolumeAttributes()
DFwVolDriver.h387 IN FV_DEVICE *FvDevice,
470 IN FV_DEVICE *FvDevice,
509 IN FV_DEVICE *FvDevice,
528 IN FV_DEVICE *FvDevice,
562 IN FV_DEVICE *FvDevice,
586 IN FV_DEVICE *FvDevice,
612 IN FV_DEVICE *FvDevice,
670 IN FV_DEVICE *FvDevice,
694 IN FV_DEVICE *FvDevice,
721 IN FV_DEVICE *FvDevice,
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVol/
DFwVol.c259 IN FV_DEVICE *FvDevice in FreeFvDeviceResource() argument
268 FfsFileEntry = (FFS_FILE_LIST_ENTRY *)FvDevice->FfsFileListHeader.ForwardLink; in FreeFvDeviceResource()
269 while (&FfsFileEntry->Link != &FvDevice->FfsFileListHeader) { in FreeFvDeviceResource()
291 if (!FvDevice->IsMemoryMapped) { in FreeFvDeviceResource()
295 CoreFreePool (FvDevice->CachedFv); in FreeFvDeviceResource()
301 CoreFreePool (FvDevice->FwVolHeader); in FreeFvDeviceResource()
320 IN OUT FV_DEVICE *FvDevice in FvCheck() argument
348 Fvb = FvDevice->Fvb; in FvCheck()
349 FwVolHeader = FvDevice->FwVolHeader; in FvCheck()
362 FvDevice->IsMemoryMapped = TRUE; in FvCheck()
[all …]
DFwVolRead.c118 FV_DEVICE *FvDevice; in FvGetNextFile() local
125 FvDevice = FV_DEVICE_FROM_THIS (This); in FvGetNextFile()
152 Link = &FvDevice->FfsFileListHeader; in FvGetNextFile()
160 if (Link->ForwardLink == &FvDevice->FfsFileListHeader) { in FvGetNextFile()
204 if ((FvDevice->FwVolHeader->Attributes & EFI_FVB2_MEMORY_MAPPED) == EFI_FVB2_MEMORY_MAPPED) { in FvGetNextFile()
275 FV_DEVICE *FvDevice; in FvReadFile() local
289 FvDevice = FV_DEVICE_FROM_THIS (This); in FvReadFile()
296 FvDevice->LastKey = 0; in FvReadFile()
301 &FvDevice->LastKey, in FvReadFile()
315 FfsHeader = FvDevice->LastKey->FfsHeader; in FvReadFile()
[all …]
DFwVolAttrib.c37 FV_DEVICE *FvDevice; in FvGetVolumeAttributes() local
41 FvDevice = FV_DEVICE_FROM_THIS (This); in FvGetVolumeAttributes()
42 Fvb = FvDevice->Fvb; in FvGetVolumeAttributes()