Lines Matching refs:gpt_header
77 GPTHeader* gpt_header = NULL; in find_partition_entry_by_name() local
84 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()
164 avb_free(gpt_header); in find_partition_entry_by_name()
170 avb_free(gpt_header); in find_partition_entry_by_name()
409 GPTHeader gpt_header = {{0}}; in get_disk_block_io() local
490 &gpt_header); in get_disk_block_io()
499 err = validate_gpt(&gpt_header); in get_disk_block_io()