Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib/
Dgpt_misc.c61 primary_header->entries_lba, in AllocAndReadGptData()
86 secondary_header->entries_lba, in AllocAndReadGptData()
116 uint64_t entries_lba = GPT_PMBR_SECTORS + GPT_HEADER_SECTORS; in WriteAndFreeGptData() local
119 entries_lba = h->entries_lba; in WriteAndFreeGptData()
150 if (0 != VbExDiskWrite(disk_handle, entries_lba, in WriteAndFreeGptData()
158 entries_lba = (gptdata->gpt_drive_sectors - entries_sectors - in WriteAndFreeGptData()
162 entries_lba = h->entries_lba; in WriteAndFreeGptData()
176 entries_lba, entries_sectors, in WriteAndFreeGptData()
/external/vboot_reference/cgpt/
Dcgpt_create.c81 h->entries_lba = h->my_lba + GPT_HEADER_SECTORS; in GptCreate()
83 h->entries_lba += params->padding; in GptCreate()
84 h->first_usable_lba = h->entries_lba + CalculateEntriesSectors(h); in GptCreate()
Dcgpt_show.c88 printf("%sEntries LBA: %lld\n", indent, (long long)header->entries_lba); in HeaderDetails()
273 printf(GPT_FMT, (int)primary_header->entries_lba, in GptShow()
284 printf(GPT_FMT, (int)secondary_header->entries_lba, in GptShow()
Dcgpt_common.c180 primary_header->entries_lba, in GptLoad()
194 secondary_header->entries_lba, in GptLoad()
228 primary_header->entries_lba, in GptSave()
238 secondary_header->entries_lba, in GptSave()
952 secondary_header->entries_lba = secondary_header->my_lba - in RepairHeader()
960 primary_header->entries_lba = primary_header->my_lba + GPT_HEADER_SECTORS; in RepairHeader()
/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib_internal.c117 if (h->entries_lba != h->my_lba - CalculateEntriesSectors(h)) in CheckHeader()
122 if (h->entries_lba < h->my_lba + 1) in CheckHeader()
333 header2->entries_lba = header2->my_lba - CalculateEntriesSectors(header1); in GptRepair()
344 header1->entries_lba = header1->my_lba + 1; in GptRepair()
/external/vboot_reference/tests/
Dvboot_kernel_tests.c91 h->entries_lba = h->my_lba - CalculateEntriesSectors(h); in SetupGptHeader()
94 h->entries_lba = h->my_lba + 1; in SetupGptHeader()
431 h->entries_lba = 2; in ReadWriteGptTest()
445 h->entries_lba = 2; in ReadWriteGptTest()
449 h->entries_lba = 991; in ReadWriteGptTest()
506 h->entries_lba = 2; in ReadWriteGptTest()
Dcgptlib_test.c172 header->entries_lba = 2; in BuildTestGptData()
200 header2->entries_lba = DEFAULT_DRIVE_SECTORS - 1 - 32; /* 434 */ in BuildTestGptData()
542 h2->entries_lba = h2->my_lba - CalculateEntriesSectors(h2); in NumberOfPartitionEntriesTest()
596 h1->entries_lba++; in MyLbaTest()
597 h2->entries_lba++; in MyLbaTest()
611 h1->entries_lba--; in MyLbaTest()
612 h2->entries_lba--; in MyLbaTest()
656 h1->entries_lba = cases[i].primary_entries_lba; in FirstUsableLbaAndLastUsableLbaTest()
659 h2->entries_lba = cases[i].secondary_entries_lba; in FirstUsableLbaAndLastUsableLbaTest()
1467 secondary_header->entries_lba = secondary_header->my_lba - in CheckHeaderOffDevice()
/external/vboot_reference/firmware/include/
Dgpt.h86 uint64_t entries_lba; member