Lines Matching defs:gh
469 struct gpt_header gh;
503 memcpy(&gh, secbuf, sizeof(gh));
507 if (letoh64(gh.gh_sig) != GPTSIGNATURE)
510 if (letoh32(gh.gh_rev) != GPTREVISION)
513 ghsize = letoh32(gh.gh_size);
518 orig_csum = gh.gh_csum;
519 gh.gh_csum = 0;
520 new_csum = crc32((unsigned char *)&gh, ghsize);
521 gh.gh_csum = orig_csum;
525 off = letoh64(gh.gh_part_lba) * dl->d_secsize;
526 ghpartsize = letoh32(gh.gh_part_size);
528 ghpartnum = letoh32(gh.gh_part_num);
543 if (new_csum != letoh32(gh.gh_part_csum))