Lines Matching refs:KERNEL_X
39 #define KERNEL_X 2 /* Overload ROOTFS_A, for some GetNext tests */ macro
1180 FillEntry(e1 + KERNEL_X, 1, 0, 1, 0); in GetNextPrioTest()
1207 FillEntry(e1 + KERNEL_X, 1, 4, 0, 1); in GetNextTriesTest()
1213 EXPECT(KERNEL_X == gpt->current_kernel); in GetNextTriesTest()
1233 FillEntry(e + KERNEL_X, 1, 2, 0, 2); in GptUpdateTest()
1280 EXPECT(KERNEL_X == gpt->current_kernel); in GptUpdateTest()
1281 EXPECT(0 == GetEntrySuccessful(e + KERNEL_X)); in GptUpdateTest()
1282 EXPECT(2 == GetEntryPriority(e + KERNEL_X)); in GptUpdateTest()
1283 EXPECT(2 == GetEntryTries(e + KERNEL_X)); in GptUpdateTest()
1286 EXPECT(0 == GetEntrySuccessful(e + KERNEL_X)); in GptUpdateTest()
1287 EXPECT(2 == GetEntryPriority(e + KERNEL_X)); in GptUpdateTest()
1288 EXPECT(1 == GetEntryTries(e + KERNEL_X)); in GptUpdateTest()
1289 EXPECT(0 == GetEntrySuccessful(e2 + KERNEL_X)); in GptUpdateTest()
1290 EXPECT(2 == GetEntryPriority(e2 + KERNEL_X)); in GptUpdateTest()
1291 EXPECT(1 == GetEntryTries(e2 + KERNEL_X)); in GptUpdateTest()
1294 EXPECT(0 == GetEntrySuccessful(e + KERNEL_X)); in GptUpdateTest()
1295 EXPECT(0 == GetEntryPriority(e + KERNEL_X)); in GptUpdateTest()
1296 EXPECT(0 == GetEntryTries(e + KERNEL_X)); in GptUpdateTest()
1299 Memcpy(&e[KERNEL_X].type, &guid_rootfs, sizeof(guid_rootfs)); in GptUpdateTest()