/external/vboot_reference/tests/ |
D | verify_kernel.c | 27 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskRead() argument 32 if (lba_start >= params.streaming_lba_count) in VbExDiskRead() 34 if (lba_start + lba_count > params.streaming_lba_count) in VbExDiskRead() 37 memcpy(buffer, diskbuf + lba_start * 512, lba_count * 512); in VbExDiskRead() 41 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskWrite() argument 46 if (lba_start >= params.streaming_lba_count) in VbExDiskWrite() 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_kernel_tests.c | 182 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskRead() argument 185 LOGCALL("VbExDiskRead(h, %d, %d)\n", (int)lba_start, (int)lba_count); in VbExDiskRead() 187 if ((int)lba_start == disk_read_to_fail) in VbExDiskRead() 190 memcpy(buffer, &mock_disk[lba_start * MOCK_SECTOR_SIZE], in VbExDiskRead() 196 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskWrite() argument 199 LOGCALL("VbExDiskWrite(h, %d, %d)\n", (int)lba_start, (int)lba_count); in VbExDiskWrite() 201 if ((int)lba_start == disk_write_to_fail) in VbExDiskWrite() 204 memcpy(&mock_disk[lba_start * MOCK_SECTOR_SIZE], buffer, in VbExDiskWrite()
|
D | vboot_api_devmode_tests.c | 209 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskRead() argument 214 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskWrite() argument
|
/external/vboot_reference/utility/ |
D | load_kernel_test.c | 36 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskRead() argument 38 printf("Read(%" PRIu64 ", %" PRIu64 ")\n", lba_start, lba_count); in VbExDiskRead() 40 if (lba_start >= lkp.streaming_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() 47 fseek(image_file, lba_start * lkp.bytes_per_lba, SEEK_SET); in VbExDiskRead() 56 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskWrite() argument 58 printf("Write(%" PRIu64 ", %" PRIu64 ")\n", lba_start, lba_count); in VbExDiskWrite() 60 if (lba_start >= lkp.streaming_lba_count || in VbExDiskWrite() 61 lba_start + lba_count > lkp.streaming_lba_count) { in VbExDiskWrite() [all …]
|
/external/u-boot/disk/ |
D | part_dos.c | 52 lbaint_t lba_start = ext_part_sector + le32_to_int (p->start4); in print_one_part() local 57 part_num, lba_start, lba_size, disksig, part_num, p->sys_ind, in print_one_part() 169 lbaint_t lba_start in print_partition_extended() local 172 print_partition_extended(dev_desc, lba_start, in print_partition_extended() 173 ext_part_sector == 0 ? lba_start : relative, in print_partition_extended() 250 lbaint_t lba_start in part_get_info_extended() local 253 return part_get_info_extended(dev_desc, lba_start, in part_get_info_extended() 254 ext_part_sector == 0 ? lba_start : relative, in part_get_info_extended()
|
/external/vboot_reference/firmware/stub/ |
D | vboot_api_stub_disk.c | 35 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskRead() argument 41 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskWrite() argument
|
D | vboot_api_stub_stream.c | 29 VbError_t VbExStreamOpen(VbExDiskHandle_t handle, uint64_t lba_start, in VbExStreamOpen() argument 41 s->sector = lba_start; in VbExStreamOpen()
|
/external/u-boot/drivers/dfu/ |
D | dfu_mmc.c | 41 blk_start = dfu->data.mmc.lba_start + in mmc_block_op() 45 dfu->data.mmc.lba_start + dfu->data.mmc.lba_size) { in mmc_block_op() 342 dfu->data.mmc.lba_start = second_arg; in dfu_fill_entity_mmc() 368 dfu->data.mmc.lba_start = partinfo.start; in dfu_fill_entity_mmc()
|
/external/vboot_reference/firmware/include/ |
D | vboot_api.h | 640 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, 654 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, 674 VbError_t VbExStreamOpen(VbExDiskHandle_t handle, uint64_t lba_start,
|
/external/u-boot/include/ |
D | dfu.h | 46 unsigned int lba_start; member
|