Home
last modified time | relevance | path

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

/external/vboot_reference/utility/
Dload_kernel_test.c47 fseek(image_file, lba_start * lkp.bytes_per_lba, SEEK_SET); in VbExDiskRead()
48 if (1 != fread(buffer, lba_count * lkp.bytes_per_lba, 1, image_file)) { in VbExDiskRead()
70 fseek(image_file, lba_start * lkp.bytes_per_lba, SEEK_SET); in VbExDiskWrite()
71 if (1 != fwrite(buffer, lba_count * lkp.bytes_per_lba, 1, image_file)) { in VbExDiskWrite()
93 lkp.bytes_per_lba = LBA_BYTES; in main()
/external/vboot_reference/tests/
Dvboot_api_kernel_tests.c25 uint64_t bytes_per_lba; member
234 mock_disks[num_disks].bytes_per_lba = in VbExDiskGetInfo()
235 t->disks_to_provide[i].bytes_per_lba; in VbExDiskGetInfo()
245 mock_disks[num_disks].bytes_per_lba, in VbExDiskGetInfo()
Dverify_kernel.c96 params.bytes_per_lba = 512; in main()
Dvboot_kernel_tests.c155 lkp.bytes_per_lba = 512; in ResetMocks()
531 lkp.bytes_per_lba = 0; in InvalidParamsTest()
541 lkp.bytes_per_lba = 128*1024; in InvalidParamsTest()
/external/vboot_reference/firmware/lib/
Dvboot_kernel.c59 if (!params->bytes_per_lba || in LoadKernel()
93 shcall->sector_size = (uint32_t)params->bytes_per_lba; in LoadKernel()
98 blba = params->bytes_per_lba; in LoadKernel()
Dvboot_api_kernel.c106 if (512 != disk_info[i].bytes_per_lba || in VbTryLoadKernel()
111 disk_info[i].bytes_per_lba, in VbTryLoadKernel()
117 p->bytes_per_lba = disk_info[i].bytes_per_lba; in VbTryLoadKernel()
/external/vboot_reference/firmware/lib/include/
Dload_kernel_fw.h44 uint64_t bytes_per_lba; member
/external/vboot_reference/firmware/include/
Dvboot_api.h584 uint64_t bytes_per_lba; member