Home
last modified time | relevance | path

Searched refs:streaming_drive_sectors (Results 1 – 10 of 10) sorted by relevance

/external/vboot_reference/tests/
Dcgptlib_test.c153 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 …]
Dvboot_kernel_tests.c299 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/
Dcgptlib_internal.c36 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/
Dcgpt_create.c85 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()
Dcgpt_boot.c102 if (drive.gpt.streaming_drive_sectors < 0xffffffff) in CgptBoot()
103 max = drive.gpt.streaming_drive_sectors - 1; in CgptBoot()
Dcgpt_common.c155 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/
Dgpt_misc.c52 gptdata->streaming_drive_sectors, in AllocAndReadGptData()
77 gptdata->streaming_drive_sectors, in AllocAndReadGptData()
Dvboot_kernel.c119 gpt.streaming_drive_sectors = params->streaming_lba_count; in LoadKernel()
/external/vboot_reference/firmware/include/
Dgpt_misc.h94 uint64_t streaming_drive_sectors; member
/external/vboot_reference/firmware/lib/cgptlib/include/
Dcgptlib_internal.h89 uint64_t streaming_drive_sectors,