Home | History | Annotate | Download | only in gpttool

Lines Matching refs:hdr

120 	struct efi_header *hdr = &ptbl->header;
129 if (last > hdr->last_lba) {
256 struct efi_header *hdr = &ptbl.header;
308 memcpy(hdr->magic, EFI_MAGIC, sizeof(hdr->magic));
309 hdr->version = EFI_VERSION;
310 hdr->header_sz = sizeof(struct efi_header);
311 hdr->header_lba = 1;
312 hdr->backup_lba = sz - 1;
313 hdr->first_lba = 34;
314 hdr->last_lba = sz - 1;
315 get_uuid(hdr->volume_uuid);
316 hdr->entries_lba = 2;
317 hdr->entries_count = 128;
318 hdr->entries_size = sizeof(struct efi_entry);
358 hdr->entries_crc32 = n;
362 hdr->crc32 = n;