Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib.c62 *start_sector = e->starting_lba; in GptNextKernelEntry()
63 *size = e->ending_lba - e->starting_lba + 1; in GptNextKernelEntry()
110 *start_sector = e->starting_lba; in GptNextKernelEntry()
111 *size = e->ending_lba - e->starting_lba + 1; in GptNextKernelEntry()
Dcgptlib_internal.c182 if ((entry->starting_lba < h->first_usable_lba) || in CheckEntries()
184 (entry->ending_lba < entry->starting_lba)) in CheckEntries()
193 if ((entry->starting_lba >= e2->starting_lba) && in CheckEntries()
194 (entry->starting_lba <= e2->ending_lba)) in CheckEntries()
196 if ((entry->ending_lba >= e2->starting_lba) && in CheckEntries()
/external/vboot_reference/cgpt/
Dcgpt_show.c108 printf(PARTITION_FMT, (int)entry->starting_lba, in EntryDetails()
109 (int)(entry->ending_lba - entry->starting_lba + 1), in EntryDetails()
180 printf("%" PRId64 "\n", entry->starting_lba); in GptShow()
185 if (entry->ending_lba || entry->starting_lba) in GptShow()
186 size = entry->ending_lba - entry->starting_lba + 1; in GptShow()
236 printf(PARTITION_FMT, (int)entry->starting_lba, in GptShow()
237 (int)(entry->ending_lba - entry->starting_lba + 1), in GptShow()
Dcgpt_add.c75 entry->starting_lba = params->begin; in GptSetEntryAttributes()
77 entry->ending_lba = entry->starting_lba + params->size - 1; in GptSetEntryAttributes()
251 params->begin = entry->starting_lba; in CgptGetPartitionDetails()
252 params->size = entry->ending_lba - entry->starting_lba + 1; in CgptGetPartitionDetails()
Dcgpt_find.c50 part_size = LBA_SIZE * (entry->ending_lba - entry->starting_lba + 1); in match_content()
58 (LBA_SIZE * entry->starting_lba) + params->matchoffset, in match_content()
/external/vboot_reference/tests/
Dcgptlib_test.c178 entries[0].starting_lba = 34; in BuildTestGptData()
182 entries[1].starting_lba = 134; in BuildTestGptData()
186 entries[2].starting_lba = 234; in BuildTestGptData()
190 entries[3].starting_lba = 334; in BuildTestGptData()
711 e1[0].starting_lba = h1->first_usable_lba - 1; in ValidEntryTest()
723 e1[3].starting_lba = e1[3].ending_lba + 1; in ValidEntryTest()
730 e1[1].starting_lba = e1[1].ending_lba + 1; in ValidEntryTest()
748 uint64_t starting_lba; in OverlappedPartitionTest() member
796 if (!cases[i].entries[j].starting_lba) in OverlappedPartitionTest()
803 e[j].starting_lba = cases[i].entries[j].starting_lba; in OverlappedPartitionTest()
[all …]
/external/vboot_reference/firmware/include/
Dgpt.h104 uint64_t starting_lba; member
/external/vboot_reference/firmware/lib/
Dgpt_misc.c212 return (e->ending_lba - e->starting_lba + 1); in GptGetEntrySizeLba()