Searched refs:bytes_per_lba (Results 1 – 8 of 8) sorted by relevance
/external/vboot_reference/utility/ |
D | load_kernel_test.c | 47 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/ |
D | vboot_api_kernel_tests.c | 25 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()
|
D | verify_kernel.c | 96 params.bytes_per_lba = 512; in main()
|
D | vboot_kernel_tests.c | 155 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/ |
D | vboot_kernel.c | 59 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()
|
D | vboot_api_kernel.c | 106 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/ |
D | load_kernel_fw.h | 44 uint64_t bytes_per_lba; member
|
/external/vboot_reference/firmware/include/ |
D | vboot_api.h | 584 uint64_t bytes_per_lba; member
|