Searched refs:gpt_header (Results 1 – 2 of 2) sorted by relevance
77 GPTHeader* gpt_header = NULL; in find_partition_entry_by_name() local84 gpt_header = (GPTHeader*)avb_malloc(sizeof(GPTHeader)); in find_partition_entry_by_name()85 if (gpt_header == NULL) { in find_partition_entry_by_name()93 avb_free(gpt_header); in find_partition_entry_by_name()103 gpt_header); in find_partition_entry_by_name()106 avb_free(gpt_header); in find_partition_entry_by_name()117 avb_free(gpt_header); in find_partition_entry_by_name()128 avb_free(gpt_header); in find_partition_entry_by_name()149 avb_free(gpt_header); in find_partition_entry_by_name()157 for (int n = 0; n < gpt_header->entry_count; n++) { in find_partition_entry_by_name()[all …]
165 struct gpt_header { struct807 struct gpt_header *header = (struct gpt_header *)gpt; in initialise_gpt()839 gpt += sizeof(struct gpt_header) + hole * 512; in initialise_gpt()1177 buf += orig_gpt_size - sizeof(struct gpt_header); in main()