Home
last modified time | relevance | path

Searched refs:first_usable_lba (Results 1 – 10 of 10) sorted by relevance

/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib_internal.c127 if (h->first_usable_lba > h->last_usable_lba) in CheckHeader()
143 if (h->first_usable_lba < 2 + CalculateEntriesSectors(h)) in CheckHeader()
182 if ((entry->starting_lba < h->first_usable_lba) || in CheckEntries()
221 if (h1->first_usable_lba != h2->first_usable_lba) in HeaderFieldsSame()
/external/vboot_reference/cgpt/
Dcgpt_create.c84 h->first_usable_lba = h->entries_lba + CalculateEntriesSectors(h); in GptCreate()
88 h->first_usable_lba = params->padding; in GptCreate()
Dcgpt_common.c862 if ((a->first_usable_lba == b->first_usable_lba) && in IsSynonymous()
918 target->first_usable_lba = source->first_usable_lba; in CopySynonymousParts()
Dcgpt_show.c79 printf("%sFirst LBA: %lld\n", indent, (long long)header->first_usable_lba); in HeaderDetails()
/external/u-boot/disk/
Dpart_efi.c124 if (le64_to_cpu(gpt_h->first_usable_lba) > lastlba) { in validate_gpt_header()
126 le64_to_cpu(gpt_h->first_usable_lba), lastlba); in validate_gpt_header()
136 LBAF "\n", le64_to_cpu(gpt_h->first_usable_lba), in validate_gpt_header()
441 lbaint_t offset = (lbaint_t)le64_to_cpu(gpt_h->first_usable_lba); in gpt_fill_pte()
615 gpt_h->first_usable_lba = in gpt_fill_header()
/external/vboot_reference/firmware/include/
Dgpt.h83 uint64_t first_usable_lba; member
/external/u-boot/include/
Dpart_efi.h84 __le64 first_usable_lba; member
/external/vboot_reference/tests/
Dcgptlib_test.c170 header->first_usable_lba = 34; in BuildTestGptData()
322 h3.first_usable_lba++; in HeaderSameTest()
657 h1->first_usable_lba = cases[i].primary_first_usable_lba; in FirstUsableLbaAndLastUsableLbaTest()
660 h2->first_usable_lba = cases[i].secondary_first_usable_lba; in FirstUsableLbaAndLastUsableLbaTest()
711 e1[0].starting_lba = h1->first_usable_lba - 1; in ValidEntryTest()
1428 primary_header->first_usable_lba = 0; in CheckHeaderOffDevice()
1457 secondary_header->first_usable_lba = 0; in CheckHeaderOffDevice()
Dvboot_kernel_tests.c97 h->first_usable_lba = 2 + CalculateEntriesSectors(h); in SetupGptHeader()
/external/avb/examples/uefi/
Duefi_avb_ops.c54 uint64_t first_usable_lba; member