Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/EmbeddedPkg/Library/EfiFileLib/
DEfiFileLib.c107 EFI_OPEN_FILE_GUARD *GuardFile; in FileHandleValid() local
110 GuardFile = BASE_CR (File, EFI_OPEN_FILE_GUARD, File); in FileHandleValid()
111 if ((GuardFile->Header != EFI_OPEN_FILE_GUARD_HEADER) || in FileHandleValid()
112 (GuardFile->Footer != EFI_OPEN_FILE_GUARD_FOOTER) ) { in FileHandleValid()
670 EFI_OPEN_FILE_GUARD *GuardFile; in EfiOpen() local
900 GuardFile = (EFI_OPEN_FILE_GUARD *)AllocateZeroPool (sizeof (EFI_OPEN_FILE_GUARD)); in EfiOpen()
901 if (GuardFile == NULL) { in EfiOpen()
905 GuardFile->Header = EFI_OPEN_FILE_GUARD_HEADER; in EfiOpen()
906 CopyMem (&(GuardFile->File), &FileData, sizeof (EFI_OPEN_FILE)); in EfiOpen()
907 GuardFile->Footer = EFI_OPEN_FILE_GUARD_FOOTER; in EfiOpen()
[all …]