Lines Matching defs:hdr
1159 struct gpt_hdr hdr;
1177 (off = (blksize * GPT_HDR_BLKNO)) <= SCANSIZE - sizeof(hdr);
1180 memcpy(&hdr, &buf[off], sizeof(hdr));
1181 if (memcmp(hdr.hdr_sig, GPT_HDR_SIG, sizeof(hdr.hdr_sig)) == 0
1182 && le32toh(hdr.hdr_revision) == GPT_HDR_REVISION
1183 && le32toh(hdr.hdr_size) == GPT_HDR_SIZE) {
1185 hdr.hdr_crc_self = 0;
1186 if (crc32(&hdr, sizeof(hdr))) {