Home
last modified time | relevance | path

Searched refs:FileState (Results 1 – 16 of 16) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVol/
DFfs.c35 EFI_FFS_FILE_STATE FileState; in GetFileState() local
38 FileState = FfsHeader->State; in GetFileState()
41 FileState = (EFI_FFS_FILE_STATE)~FileState; in GetFileState()
45 while (HighestBit != 0 && ((HighestBit & FileState) == 0)) { in GetFileState()
167 OUT EFI_FFS_FILE_STATE *FileState in IsValidFfsHeader() argument
170 *FileState = GetFileState (ErasePolarity, FfsHeader); in IsValidFfsHeader()
172 switch (*FileState) { in IsValidFfsHeader()
207 EFI_FFS_FILE_STATE FileState; in IsValidFfsFile() local
210 FileState = GetFileState (ErasePolarity, FfsHeader); in IsValidFfsFile()
211 switch (FileState) { in IsValidFfsFile()
DFwVol.c337 EFI_FFS_FILE_STATE FileState; in FvCheck() local
504 if (!IsValidFfsHeader (FvDevice->ErasePolarity, FfsHeader, &FileState)) { in FvCheck()
505 if ((FileState == EFI_FILE_HEADER_INVALID) || in FvCheck()
506 (FileState == EFI_FILE_HEADER_CONSTRUCTION)) { in FvCheck()
564 FileState = GetFileState (FvDevice->ErasePolarity, CacheFfsHeader); in FvCheck()
569 if (FileState != EFI_FILE_DELETED) { in FvCheck()
DFwVolDriver.h387 OUT EFI_FFS_FILE_STATE *FileState
/device/linaro/bootloader/edk2/EmulatorPkg/Library/SecPeiServicesLib/
DFwVol.c42 EFI_FFS_FILE_STATE FileState; in GetFileState() local
45 FileState = FfsHeader->State; in GetFileState()
48 FileState = (EFI_FFS_FILE_STATE)~FileState; in GetFileState()
52 while (HighestBit != 0 && (HighestBit & FileState) == 0) { in GetFileState()
139 UINT8 FileState; in SecFfsFindNextFile() local
177 FileState = GetFileState (ErasePolarity, FfsFileHeader); in SecFfsFindNextFile()
179 switch (FileState) { in SecFfsFindNextFile()
/device/linaro/bootloader/edk2/Nt32Pkg/Sec/
DFwVol.c46 EFI_FFS_FILE_STATE FileState; in GetFileState() local
49 FileState = FfsHeader->State; in GetFileState()
52 FileState = (EFI_FFS_FILE_STATE)~FileState; in GetFileState()
56 while (HighestBit != 0 && (HighestBit & FileState) == 0) { in GetFileState()
143 UINT8 FileState; in SecFfsFindNextFile() local
173 FileState = GetFileState (ErasePolarity, FfsFileHeader); in SecFfsFindNextFile()
175 switch (FileState) { in SecFfsFindNextFile()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
DFfs.c56 EFI_FFS_FILE_STATE FileState; in GetFileState() local
59 FileState = FfsHeader->State; in GetFileState()
62 FileState = (EFI_FFS_FILE_STATE)~FileState; in GetFileState()
66 while (HighestBit != 0 && ((HighestBit & FileState) == 0)) { in GetFileState()
320 EFI_FFS_FILE_STATE FileState; in IsValidFFSHeader() local
333 FileState = GetFileState (ErasePolarity, FfsHeader); in IsValidFFSHeader()
335 switch (FileState) { in IsValidFFSHeader()
543 EFI_FFS_FILE_STATE FileState; in IsValidFFSFile() local
548 FileState = GetFileState (ErasePolarity, FfsHeader); in IsValidFFSFile()
550 switch (FileState) { in IsValidFFSFile()
DFwVol.c331 EFI_FFS_FILE_STATE FileState; in FvCheck() local
542 FileState = GetFileState ( in FvCheck()
546 if ((FileState == EFI_FILE_HEADER_INVALID) || (FileState == EFI_FILE_HEADER_CONSTRUCTION)) { in FvCheck()
583 FileState = GetFileState ( in FvCheck()
591 if (FileState != EFI_FILE_DELETED) { in FvCheck()
DFwVolWrite.c375 EFI_FFS_FILE_STATE FileState; in FvLocatePadFile() local
389 FileState = GetFileState (FvDevice->ErasePolarity, FileHeader); in FvLocatePadFile()
391 if ((FileHeader->Type == EFI_FV_FILETYPE_FFS_PAD) && (FileState == EFI_FILE_DATA_VALID)) { in FvLocatePadFile()
449 EFI_FFS_FILE_STATE FileState; in FvSearchSuitablePadFile() local
464 FileState = GetFileState (FvDevice->ErasePolarity, FileHeader); in FvSearchSuitablePadFile()
466 if ((FileHeader->Type == EFI_FV_FILETYPE_FFS_PAD) && (FileState == EFI_FILE_DATA_VALID)) { in FvSearchSuitablePadFile()
1221 EFI_FFS_FILE_STATE FileState; in FvDeleteFile() local
1275 FileState = GetFileState (FvDevice->ErasePolarity, FileHeader); in FvDeleteFile()
1277 if (FileState == EFI_FILE_HEADER_INVALID) { in FvDeleteFile()
1281 if (FileState == EFI_FILE_DELETED) { in FvDeleteFile()
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/
DDebugAgentSymbolsBaseLib.c57 EFI_FFS_FILE_STATE FileState; in GetFileState() local
60 FileState = FfsHeader->State; in GetFileState()
63 FileState = (EFI_FFS_FILE_STATE)~FileState; in GetFileState()
67 while (HighestBit != 0 && (HighestBit & FileState) == 0) { in GetFileState()
114 UINT8 FileState; in GetFfsFile() local
132 FileState = GetFileState (ErasePolarity, FfsFileHeader); in GetFfsFile()
134 switch (FileState) { in GetFfsFile()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/
DFwVol.c44 EFI_FFS_FILE_STATE FileState; in GetFileState() local
47 FileState = FfsHeader->State; in GetFileState()
50 FileState = (EFI_FFS_FILE_STATE)~FileState; in GetFileState()
54 while (HighestBit != 0 && (HighestBit & FileState) == 0) { in GetFileState()
179 UINT8 FileState; in FindFileEx() local
222 FileState = GetFileState (ErasePolarity, FfsFileHeader); in FindFileEx()
224 switch (FileState) { in FindFileEx()
596 UINT8 FileState; in FfsGetFileInfo() local
622 FileState = GetFileState (ErasePolarity, (EFI_FFS_FILE_HEADER*)FileHandle); in FfsGetFileInfo()
624 switch (FileState) { in FfsGetFileInfo()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DFvLib.c858 UINT8 FileState; in GetFileState() local
861 FileState = FfsHeader->State; in GetFileState()
864 FileState = (UINT8)~FileState; in GetFileState()
868 while (HighestBit != 0 && (HighestBit & FileState) == 0) { in GetFileState()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DFvLib.c918 UINT8 FileState; in GetFileState() local
921 FileState = FfsHeader->State; in GetFileState()
924 FileState = (UINT8)~FileState; in GetFileState()
928 while (HighestBit != 0 && (HighestBit & FileState) == 0) { in GetFileState()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/
DFwVol.c135 EFI_FFS_FILE_STATE FileState; in GetFileState() local
138 FileState = FfsHeader->State; in GetFileState()
141 FileState = (EFI_FFS_FILE_STATE)~FileState; in GetFileState()
148 while (HighestBit != 0 && (HighestBit & FileState) == 0) { in GetFileState()
275 UINT8 FileState; in FindFileEx() local
334 FileState = GetFileState (ErasePolarity, FfsFileHeader); in FindFileEx()
335 switch (FileState) { in FindFileEx()
1634 UINT8 FileState; in PeiFfsFvPpiGetFileInfo() local
1663 FileState = GetFileState (ErasePolarity, (EFI_FFS_FILE_HEADER*)FileHandle); in PeiFfsFvPpiGetFileInfo()
1665 switch (FileState) { in PeiFfsFvPpiGetFileInfo()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/
DVolInfo.c1117 UINT8 FileState; in PrintFileInfo() local
1163 FileState = GetFileState (ErasePolarity, FileHeader); in PrintFileInfo()
1165 switch (FileState) { in PrintFileInfo()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/
DGenFvImageLib.c2018 UINT8 FileState; in AddFile() local
2126 FileState = (*VtfFileImage)->State; in AddFile()
2162 (*VtfFileImage)->State = FileState; in AddFile()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DMisc.py442 FileState = os.stat(File)
443 TimeStamp = FileState[-2]