Lines Matching refs:gpt_head
191 ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, dev_desc->blksz); in get_disk_guid()
197 gpt_head, &gpt_pte) != 1) { in get_disk_guid()
200 gpt_head, &gpt_pte) != 1) { in get_disk_guid()
210 guid_bin = gpt_head->disk_guid.b; in get_disk_guid()
218 ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, dev_desc->blksz); in part_print_efi()
226 gpt_head, &gpt_pte) != 1) { in part_print_efi()
229 gpt_head, &gpt_pte) != 1) { in part_print_efi()
246 for (i = 0; i < le32_to_cpu(gpt_head->num_partition_entries); i++) { in part_print_efi()
276 ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, dev_desc->blksz); in part_get_info_efi()
287 gpt_head, &gpt_pte) != 1) { in part_get_info_efi()
290 gpt_head, &gpt_pte) != 1) { in part_get_info_efi()
300 if (part > le32_to_cpu(gpt_head->num_partition_entries) || in part_get_info_efi()
686 int gpt_verify_headers(struct blk_desc *dev_desc, gpt_header *gpt_head, 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()
726 if (i == gpt_head->num_partition_entries) { in gpt_verify_partitions()