Lines Matching refs:pe_header
148 unsigned int pe_header; in update_pecoff_section_header_fields() local
152 pe_header = get_unaligned_le32(&buf[0x3c]); in update_pecoff_section_header_fields()
153 num_sections = get_unaligned_le16(&buf[pe_header + 6]); in update_pecoff_section_header_fields()
156 section = &buf[pe_header + 0xa8]; in update_pecoff_section_header_fields()
158 section = &buf[pe_header + 0xb8]; in update_pecoff_section_header_fields()
206 unsigned int pe_header; in update_pecoff_text() local
209 pe_header = get_unaligned_le32(&buf[0x3c]); in update_pecoff_text()
215 put_unaligned_le32(file_sz - 512, &buf[pe_header + 0x1c]); in update_pecoff_text()
220 put_unaligned_le32(text_start + efi_pe_entry, &buf[pe_header + 0x28]); in update_pecoff_text()
227 unsigned int pe_header; in update_pecoff_bss() local
230 pe_header = get_unaligned_le32(&buf[0x3c]); in update_pecoff_bss()
233 put_unaligned_le32(bss_sz, &buf[pe_header + 0x24]); in update_pecoff_bss()
236 put_unaligned_le32(init_sz, &buf[pe_header + 0x50]); in update_pecoff_bss()