Home
last modified time | relevance | path

Searched refs:current_kernel (Results 1 – 6 of 6) sorted by relevance

/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib.c20 gpt->current_kernel = CGPT_KERNEL_ENTRY_NOT_FOUND; in GptInit()
47 if (gpt->current_kernel != CGPT_KERNEL_ENTRY_NOT_FOUND) { in GptNextKernelEntry()
48 for (i = gpt->current_kernel + 1; in GptNextKernelEntry()
61 gpt->current_kernel = i; in GptNextKernelEntry()
100 gpt->current_kernel = new_kernel; in GptNextKernelEntry()
201 GptEntry *e = entries + gpt->current_kernel; in GptUpdateKernelEntry()
203 if (gpt->current_kernel == CGPT_KERNEL_ENTRY_NOT_FOUND) in GptUpdateKernelEntry()
Dcgptlib_internal.c409 GptEntry *e = entries + gpt->current_kernel; in GetCurrentKernelUniqueGuid()
/external/vboot_reference/tests/
Dcgptlib_test.c133 gpt.current_kernel = CGPT_KERNEL_ENTRY_NOT_FOUND; in GetEmptyGptData()
155 gpt->current_kernel = CGPT_KERNEL_ENTRY_NOT_FOUND; in BuildTestGptData()
1149 EXPECT(KERNEL_A == gpt->current_kernel); in GetNextNormalTest()
1154 EXPECT(KERNEL_B == gpt->current_kernel); in GetNextNormalTest()
1160 EXPECT(-1 == gpt->current_kernel); in GetNextNormalTest()
1165 EXPECT(-1 == gpt->current_kernel); in GetNextNormalTest()
1186 EXPECT(KERNEL_B == gpt->current_kernel); in GetNextPrioTest()
1188 EXPECT(KERNEL_Y == gpt->current_kernel); in GetNextPrioTest()
1190 EXPECT(KERNEL_A == gpt->current_kernel); in GetNextPrioTest()
1213 EXPECT(KERNEL_X == gpt->current_kernel); in GetNextTriesTest()
[all …]
Dvboot_kernel_tests.c225 gpt->current_kernel = mock_part_next; in GptNextKernelEntry()
/external/vboot_reference/firmware/lib/
Dvboot_kernel.c171 shpart->gpt_index = (uint8_t)(gpt.current_kernel + 1); in LoadKernel()
431 good_partition = gpt.current_kernel + 1; in LoadKernel()
432 params->partition_number = gpt.current_kernel + 1; in LoadKernel()
/external/vboot_reference/firmware/include/
Dgpt_misc.h108 int current_kernel; member