Lines Matching defs:header
116 efi_device_path_protocol_t header;
141 if (size < sizeof(header))
143 header = *(const efi_device_path_protocol_t *)pos;
144 if (header.length < sizeof(header))
146 if (size < header.length)
148 pos += header.length;
149 size -= header.length;
150 } while ((header.type != EFI_DEV_END_PATH && header.type != EFI_DEV_END_PATH2) ||
151 (header.sub_type != EFI_DEV_END_ENTIRE));
669 * of the image, and will therefore cover the PE/COFF header as well.