Home
last modified time | relevance | path

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

/external/u-boot/common/
Dandroid_ab.c65 ulong abc_offset, abc_blocks; in android_boot_control_create_from_disk() local
68 abc_offset = offsetof(struct android_bootloader_message_ab, in android_boot_control_create_from_disk()
70 if (abc_offset % part_info->blksz) { in android_boot_control_create_from_disk()
74 abc_offset /= part_info->blksz; in android_boot_control_create_from_disk()
78 if (abc_offset + abc_blocks > part_info->size) { in android_boot_control_create_from_disk()
81 abc_offset + abc_blocks, part_info->size); in android_boot_control_create_from_disk()
88 if (blk_dread(dev_desc, part_info->start + abc_offset, abc_blocks, in android_boot_control_create_from_disk()
112 ulong abc_offset, abc_blocks; in android_boot_control_store() local
114 abc_offset = offsetof(struct android_bootloader_message_ab, in android_boot_control_store()
118 if (blk_dwrite(dev_desc, part_info->start + abc_offset, abc_blocks, in android_boot_control_store()