Searched refs:gpth (Results 1 – 1 of 1) sorted by relevance
357 static EFI_STATUS validate_gpt(const IN GPTHeader* gpth) { in validate_gpt() argument358 if (avb_memcmp(gpth->signature, GPT_MAGIC, sizeof(gpth->signature)) != 0) { in validate_gpt()363 if (gpth->header_size < GPT_MIN_SIZE) { in validate_gpt()367 if (gpth->header_size > AVB_BLOCK_SIZE) { in validate_gpt()373 avb_memcpy(&gpth_tmp, gpth, sizeof(GPTHeader)); in validate_gpt()384 if (gpth->revision != GPT_REVISION) { in validate_gpt()