Lines Matching refs:nt
79 IMAGE_NT_HEADERS32 *nt; in efi_load_pe() local
106 nt = (void *) ((char *)efi + dos->e_lfanew); in efi_load_pe()
107 if (nt->Signature != IMAGE_NT_SIGNATURE) { in efi_load_pe()
113 num_sections = nt->FileHeader.NumberOfSections; in efi_load_pe()
114 sections = (void *)&nt->OptionalHeader + in efi_load_pe()
115 nt->FileHeader.SizeOfOptionalHeader; in efi_load_pe()
125 (nt->OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR64_MAGIC)) { in efi_load_pe()
126 IMAGE_NT_HEADERS64 *nt64 = (void *)nt; in efi_load_pe()
139 (nt->OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR32_MAGIC)) { in efi_load_pe()
140 IMAGE_OPTIONAL_HEADER32 *opt = &nt->OptionalHeader; in efi_load_pe()
153 nt->OptionalHeader.Magic); in efi_load_pe()