Searched refs:streaming_drive_sectors (Results 1 – 10 of 10) sorted by relevance
/external/vboot_reference/tests/ |
D | cgptlib_test.c | 153 gpt->streaming_drive_sectors = in BuildTestGptData() 260 gpt->streaming_drive_sectors = in ParameterTests() 356 EXPECT(1 == CheckHeader(NULL, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0)); in SignatureTest() 363 EXPECT(1 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0)); in SignatureTest() 364 EXPECT(1 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0)); in SignatureTest() 398 EXPECT(CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0) == in RevisionTest() 400 EXPECT(CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0) == in RevisionTest() 431 EXPECT(CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0) == in SizeTest() 433 EXPECT(CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0) == in SizeTest() 450 EXPECT(1 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0)); in CrcFieldTest() [all …]
|
D | vboot_kernel_tests.c | 299 g.streaming_drive_sectors = g.gpt_drive_sectors = MOCK_SECTOR_COUNT; in ReadWriteGptTest() 325 TEST_EQ(CheckHeader(mock_gpt_primary, 0, g.streaming_drive_sectors, in ReadWriteGptTest() 328 TEST_EQ(CheckHeader(mock_gpt_secondary, 1, g.streaming_drive_sectors, in ReadWriteGptTest() 344 TEST_EQ(CheckHeader(mock_gpt_primary, 0, g.streaming_drive_sectors, in ReadWriteGptTest() 347 TEST_EQ(CheckHeader(mock_gpt_secondary, 1, g.streaming_drive_sectors, in ReadWriteGptTest() 364 TEST_EQ(CheckHeader(mock_gpt_primary, 0, g.streaming_drive_sectors, in ReadWriteGptTest() 367 TEST_EQ(CheckHeader(mock_gpt_secondary, 1, g.streaming_drive_sectors, in ReadWriteGptTest() 395 TEST_EQ(CheckHeader(mock_gpt_primary, 0, g.streaming_drive_sectors, in ReadWriteGptTest() 420 TEST_EQ(CheckHeader(mock_gpt_secondary, 1, g.streaming_drive_sectors, in ReadWriteGptTest()
|
/external/vboot_reference/firmware/lib/cgptlib/ |
D | cgptlib_internal.c | 36 gpt->gpt_drive_sectors != gpt->streaming_drive_sectors)) { in CheckParameters() 67 uint64_t streaming_drive_sectors, in CheckHeader() argument 131 if (h->last_usable_lba >= streaming_drive_sectors) { in CheckHeader() 146 streaming_drive_sectors - 1 - CalculateEntriesSectors(h)) in CheckHeader() 254 if (0 == CheckHeader(header1, 0, gpt->streaming_drive_sectors, in GptSanityCheck() 259 if (0 == CheckHeader(header2, 1, gpt->streaming_drive_sectors, in GptSanityCheck() 342 gpt->streaming_drive_sectors - GPT_HEADER_SECTORS; in GptRepair()
|
/external/vboot_reference/cgpt/ |
D | cgpt_create.c | 85 h->last_usable_lba = (drive->gpt.streaming_drive_sectors - GPT_HEADER_SECTORS - in GptCreate() 89 h->last_usable_lba = (drive->gpt.streaming_drive_sectors - 1); in GptCreate()
|
D | cgpt_boot.c | 102 if (drive.gpt.streaming_drive_sectors < 0xffffffff) in CgptBoot() 103 max = drive.gpt.streaming_drive_sectors - 1; in CgptBoot()
|
D | cgpt_common.c | 155 drive->gpt.streaming_drive_sectors = drive->size / drive->gpt.sector_bytes; in GptLoad() 159 drive->gpt.gpt_drive_sectors = drive->gpt.streaming_drive_sectors; in GptLoad() 176 if (CheckHeader(primary_header, 0, drive->gpt.streaming_drive_sectors, in GptLoad() 190 if (CheckHeader(secondary_header, 1, drive->gpt.streaming_drive_sectors, in GptLoad()
|
/external/vboot_reference/firmware/lib/ |
D | gpt_misc.c | 52 gptdata->streaming_drive_sectors, in AllocAndReadGptData() 77 gptdata->streaming_drive_sectors, in AllocAndReadGptData()
|
D | vboot_kernel.c | 119 gpt.streaming_drive_sectors = params->streaming_lba_count; in LoadKernel()
|
/external/vboot_reference/firmware/include/ |
D | gpt_misc.h | 94 uint64_t streaming_drive_sectors; member
|
/external/vboot_reference/firmware/lib/cgptlib/include/ |
D | cgptlib_internal.h | 89 uint64_t streaming_drive_sectors,
|