/external/vboot_reference/utility/ |
D | load_kernel_test.c | 37 uint64_t lba_count, void *buffer) { in VbExDiskRead() argument 38 printf("Read(%" PRIu64 ", %" PRIu64 ")\n", lba_start, lba_count); in VbExDiskRead() 41 lba_start + lba_count > lkp.streaming_lba_count) { in VbExDiskRead() 43 lba_start, lba_count, lkp.streaming_lba_count); in VbExDiskRead() 48 if (1 != fread(buffer, lba_count * lkp.bytes_per_lba, 1, image_file)) { in VbExDiskRead() 57 uint64_t lba_count, const void *buffer) { in VbExDiskWrite() argument 58 printf("Write(%" PRIu64 ", %" PRIu64 ")\n", lba_start, lba_count); in VbExDiskWrite() 61 lba_start + lba_count > lkp.streaming_lba_count) { in VbExDiskWrite() 63 lba_start, lba_count, lkp.streaming_lba_count); in VbExDiskWrite() 71 if (1 != fwrite(buffer, lba_count * lkp.bytes_per_lba, 1, image_file)) { in VbExDiskWrite()
|
/external/vboot_reference/tests/ |
D | verify_kernel.c | 28 uint64_t lba_count, void *buffer) in VbExDiskRead() argument 34 if (lba_start + lba_count > params.streaming_lba_count) in VbExDiskRead() 37 memcpy(buffer, diskbuf + lba_start * 512, lba_count * 512); in VbExDiskRead() 42 uint64_t lba_count, const void *buffer) in VbExDiskWrite() argument 48 if (lba_start + lba_count > params.streaming_lba_count) in VbExDiskWrite() 51 memcpy(diskbuf + lba_start * 512, buffer, lba_count * 512); in VbExDiskWrite()
|
D | vboot_api_kernel_tests.c | 26 uint64_t lba_count; member 236 mock_disks[num_disks].lba_count = in VbExDiskGetInfo() 238 t->disks_to_provide[i].lba_count; in VbExDiskGetInfo() 246 mock_disks[num_disks].lba_count, in VbExDiskGetInfo()
|
D | vboot_kernel_tests.c | 183 uint64_t lba_count, void *buffer) in VbExDiskRead() argument 185 LOGCALL("VbExDiskRead(h, %d, %d)\n", (int)lba_start, (int)lba_count); in VbExDiskRead() 191 lba_count * MOCK_SECTOR_SIZE); in VbExDiskRead() 197 uint64_t lba_count, const void *buffer) in VbExDiskWrite() argument 199 LOGCALL("VbExDiskWrite(h, %d, %d)\n", (int)lba_start, (int)lba_count); in VbExDiskWrite() 205 lba_count * MOCK_SECTOR_SIZE); in VbExDiskWrite()
|
D | vboot_api_devmode_tests.c | 210 uint64_t lba_count, void* buffer) { in VbExDiskRead() argument 215 uint64_t lba_count, const void* buffer) { in VbExDiskWrite() argument
|
/external/vboot_reference/firmware/stub/ |
D | vboot_api_stub_disk.c | 36 uint64_t lba_count, void* buffer) { in VbExDiskRead() argument 42 uint64_t lba_count, const void* buffer) { in VbExDiskWrite() argument
|
D | vboot_api_stub_stream.c | 30 uint64_t lba_count, VbExStream_t *stream) in VbExStreamOpen() argument 42 s->sectors_left = lba_count; in VbExStreamOpen()
|
/external/vboot_reference/firmware/include/ |
D | vboot_api.h | 589 uint64_t lba_count; member 641 uint64_t lba_count, void *buffer); 655 uint64_t lba_count, const void *buffer); 675 uint64_t lba_count, VbExStream_t *stream_ptr);
|
/external/vboot_reference/firmware/lib/ |
D | vboot_api_kernel.c | 107 16 > disk_info[i].lba_count || in VbTryLoadKernel() 112 disk_info[i].lba_count, in VbTryLoadKernel() 118 p->gpt_lba_count = disk_info[i].lba_count; in VbTryLoadKernel()
|