Home
last modified time | relevance | path

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

/external/vboot_reference/tests/
Dvboot_kernel_tests.c65 static uint8_t mock_disk[MOCK_SECTOR_SIZE * MOCK_SECTOR_COUNT]; variable
67 (GptHeader*)&mock_disk[MOCK_SECTOR_SIZE * 1];
69 (GptHeader*)&mock_disk[MOCK_SECTOR_SIZE * (MOCK_SECTOR_COUNT - 1)];
115 memset(&mock_disk, 0, sizeof(mock_disk)); in ResetMocks()
190 memcpy(buffer, &mock_disk[lba_start * MOCK_SECTOR_SIZE], in VbExDiskRead()
204 memcpy(&mock_disk[lba_start * MOCK_SECTOR_SIZE], buffer, in VbExDiskWrite()