Home
last modified time | relevance | path

Searched refs:is_gpt_valid (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/disk/
H A Dpart_efi.c49 static int is_gpt_valid(struct blk_desc *dev_desc, u64 lba,
195 if (is_gpt_valid(dev_desc, GPT_PRIMARY_PARTITION_TABLE_LBA, in get_disk_guid()
198 if (is_gpt_valid(dev_desc, dev_desc->lba - 1, in get_disk_guid()
224 if (is_gpt_valid(dev_desc, GPT_PRIMARY_PARTITION_TABLE_LBA, in part_print_efi()
227 if (is_gpt_valid(dev_desc, (dev_desc->lba - 1), in part_print_efi()
285 if (is_gpt_valid(dev_desc, GPT_PRIMARY_PARTITION_TABLE_LBA, in part_get_info_efi()
288 if (is_gpt_valid(dev_desc, (dev_desc->lba - 1), in part_get_info_efi()
692 if (is_gpt_valid(dev_desc, in gpt_verify_headers()
699 if (is_gpt_valid(dev_desc, (dev_desc->lba - 1), in gpt_verify_headers()
930 static int is_gpt_valid(struct blk_desc *dev_desc, u64 lba, in is_gpt_valid() function
/openbmc/linux/block/partitions/
H A Defi.c335 static int is_gpt_valid(struct parsed_partitions *state, u64 lba, in is_gpt_valid() function
615 good_pgpt = is_gpt_valid(state, GPT_PRIMARY_PARTITION_TABLE_LBA, in find_valid_gpt()
618 good_agpt = is_gpt_valid(state, in find_valid_gpt()
622 good_agpt = is_gpt_valid(state, lastlba, &agpt, &aptes); in find_valid_gpt()
630 good_agpt = is_gpt_valid(state, agpt_sector, in find_valid_gpt()