Lines Matching defs:header
125 efi_device_path_protocol_t header;
150 if (size < sizeof(header))
152 header = *(const efi_device_path_protocol_t *)pos;
153 if (header.length < sizeof(header))
155 if (size < header.length)
157 pos += header.length;
158 size -= header.length;
159 } while ((header.type != EFI_DEV_END_PATH && header.type != EFI_DEV_END_PATH2) ||
160 (header.sub_type != EFI_DEV_END_ENTIRE));
719 * of the image, and will therefore cover the PE/COFF header as well.