Searched refs:pgpt_head (Results 1 – 1 of 1) sorted by relevance
/external/u-boot/disk/ |
D | part_efi.c | 51 gpt_header *pgpt_head, gpt_entry **pgpt_pte); 53 gpt_header *pgpt_head); 932 gpt_header *pgpt_head, gpt_entry **pgpt_pte) in is_gpt_valid() argument 935 if (!dev_desc || !pgpt_head) { in is_gpt_valid() 949 if (blk_dread(dev_desc, (lbaint_t)lba, 1, pgpt_head) != 1) { in is_gpt_valid() 954 if (validate_gpt_header(pgpt_head, (lbaint_t)lba, dev_desc->lba)) in is_gpt_valid() 959 if (memcmp(&pgpt_head->disk_guid, &empty, sizeof(empty))) { in is_gpt_valid() 961 memcpy(&dev_desc->guid_sig, &pgpt_head->disk_guid, in is_gpt_valid() 970 *pgpt_pte = alloc_read_gpt_entries(dev_desc, pgpt_head); in is_gpt_valid() 976 if (validate_gpt_entries(pgpt_head, *pgpt_pte)) { in is_gpt_valid() [all …]
|