Lines Matching defs:File
221 EFI_FFS_FILE_HEADER *File;
243 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress;
244 Size = *(UINT32*) File->Size & 0xffffff;
245 if (Size < (sizeof (*File) + sizeof (EFI_COMMON_SECTION_HEADER))) {
248 DEBUG ((EFI_D_INFO, "File->Type: 0x%x\n", File->Type));
258 if (File->Type != FileType) {
259 DEBUG ((EFI_D_INFO, "File->Type (0x%x) != FileType (0x%x)\n", File->Type, FileType));
264 (VOID*) (File + 1),
265 (UINTN) EndOfFile - (UINTN) (File + 1),
449 EFI_FFS_FILE_HEADER *File;
470 File = (EFI_FFS_FILE_HEADER*)(UINTN) CurrentAddress;
471 Size = *(UINT32*) File->Size & 0xffffff;
472 if (Size < sizeof (*File)) {
484 if (File->Type != EFI_FV_FILETYPE_SECURITY_CORE) {
491 EndOfSection = (EFI_PHYSICAL_ADDRESS)(UINTN) (File + 1);
510 if (File->Type == EFI_FV_FILETYPE_SECURITY_CORE) {