Lines Matching refs:gpt_pte

192 	gpt_entry *gpt_pte = NULL;  in get_disk_guid()  local
197 gpt_head, &gpt_pte) != 1) { in get_disk_guid()
200 gpt_head, &gpt_pte) != 1) { in get_disk_guid()
219 gpt_entry *gpt_pte = NULL; in part_print_efi() local
226 gpt_head, &gpt_pte) != 1) { in part_print_efi()
229 gpt_head, &gpt_pte) != 1) { in part_print_efi()
239 debug("%s: gpt-entry at %p\n", __func__, gpt_pte); in part_print_efi()
248 if (!is_pte_valid(&gpt_pte[i])) in part_print_efi()
252 le64_to_cpu(gpt_pte[i].starting_lba), in part_print_efi()
253 le64_to_cpu(gpt_pte[i].ending_lba), in part_print_efi()
254 print_efiname(&gpt_pte[i])); in part_print_efi()
255 printf("\tattrs:\t0x%016llx\n", gpt_pte[i].attributes.raw); in part_print_efi()
256 uuid_bin = (unsigned char *)gpt_pte[i].partition_type_guid.b; in part_print_efi()
263 uuid_bin = (unsigned char *)gpt_pte[i].unique_partition_guid.b; in part_print_efi()
269 free(gpt_pte); in part_print_efi()
277 gpt_entry *gpt_pte = NULL; in part_get_info_efi() local
287 gpt_head, &gpt_pte) != 1) { in part_get_info_efi()
290 gpt_head, &gpt_pte) != 1) { in part_get_info_efi()
301 !is_pte_valid(&gpt_pte[part - 1])) { in part_get_info_efi()
304 free(gpt_pte); in part_get_info_efi()
309 info->start = (lbaint_t)le64_to_cpu(gpt_pte[part - 1].starting_lba); in part_get_info_efi()
311 info->size = (lbaint_t)le64_to_cpu(gpt_pte[part - 1].ending_lba) + 1 in part_get_info_efi()
316 print_efiname(&gpt_pte[part - 1])); in part_get_info_efi()
318 info->bootable = is_bootable(&gpt_pte[part - 1]); in part_get_info_efi()
320 uuid_bin_to_str(gpt_pte[part - 1].unique_partition_guid.b, info->uuid, in part_get_info_efi()
324 uuid_bin_to_str(gpt_pte[part - 1].partition_type_guid.b, in part_get_info_efi()
332 free(gpt_pte); in part_get_info_efi()
687 gpt_entry **gpt_pte) in gpt_verify_headers() argument
695 gpt_head, gpt_pte) != 1) { in gpt_verify_headers()
701 gpt_head, gpt_pte) != 1) { in gpt_verify_headers()
712 gpt_header *gpt_head, gpt_entry **gpt_pte) in gpt_verify_partitions() argument
719 ret = gpt_verify_headers(dev_desc, gpt_head, gpt_pte); in gpt_verify_partitions()
723 gpt_e = *gpt_pte; in gpt_verify_partitions()