Searched refs:current_kernel (Results 1 – 6 of 6) sorted by relevance
20 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()
409 GptEntry *e = entries + gpt->current_kernel; in GetCurrentKernelUniqueGuid()
133 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 …]
225 gpt->current_kernel = mock_part_next; in GptNextKernelEntry()
171 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()
108 int current_kernel; member