Home
last modified time | relevance | path

Searched refs:last_usable_lba (Results 1 – 8 of 8) sorted by relevance

/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib_internal.c127 if (h->first_usable_lba > h->last_usable_lba) in CheckHeader()
131 if (h->last_usable_lba >= streaming_drive_sectors) { in CheckHeader()
145 if (h->last_usable_lba >= in CheckHeader()
183 (entry->ending_lba > h->last_usable_lba) || in CheckEntries()
223 if (h1->last_usable_lba != h2->last_usable_lba) in HeaderFieldsSame()
/external/vboot_reference/cgpt/
Dcgpt_create.c85 h->last_usable_lba = (drive->gpt.streaming_drive_sectors - GPT_HEADER_SECTORS - in GptCreate()
89 h->last_usable_lba = (drive->gpt.streaming_drive_sectors - 1); in GptCreate()
Dcgpt_common.c863 (a->last_usable_lba == b->last_usable_lba) && in IsSynonymous()
919 target->last_usable_lba = source->last_usable_lba; in CopySynonymousParts()
Dcgpt_show.c80 printf("%sLast LBA: %lld\n", indent, (long long)header->last_usable_lba); in HeaderDetails()
/external/vboot_reference/firmware/include/
Dgpt.h84 uint64_t last_usable_lba; member
/external/vboot_reference/tests/
Dcgptlib_test.c171 header->last_usable_lba = DEFAULT_DRIVE_SECTORS - 1 - 32 - 1; /* 433 */ in BuildTestGptData()
326 h3.last_usable_lba++; in HeaderSameTest()
658 h1->last_usable_lba = cases[i].primary_last_usable_lba; in FirstUsableLbaAndLastUsableLbaTest()
661 h2->last_usable_lba = cases[i].secondary_last_usable_lba; in FirstUsableLbaAndLastUsableLbaTest()
717 e1[2].ending_lba = h1->last_usable_lba + 1; in ValidEntryTest()
Dvboot_kernel_tests.c98 h->last_usable_lba = MOCK_SECTOR_COUNT - 2 - CalculateEntriesSectors(h); in SetupGptHeader()
/external/avb/examples/uefi/
Duefi_avb_ops.c55 uint64_t last_usable_lba; member