Home
last modified time | relevance | path

Searched refs:abc_blocks (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
76 abc_blocks = DIV_ROUND_UP(sizeof(struct android_bootloader_control), 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()
84 buf = malloc(abc_blocks * part_info->blksz); 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()
89 buf) != abc_blocks) { in android_boot_control_create_from_disk()
94 debug("ANDROID: Loaded ABC, %lu blocks.\n", abc_blocks); in android_boot_control_create_from_disk()
112 ulong abc_offset, abc_blocks; in android_boot_control_store() local
116 abc_blocks = DIV_ROUND_UP(sizeof(struct android_bootloader_control), in android_boot_control_store()
[all …]