Searched refs:ab_data (Results 1 – 4 of 4) sorted by relevance
/external/avb/libavb_ab/ |
D | avb_ab_flow.c | 172 AvbABData* ab_data, in load_metadata() argument 176 io_ret = ab_ops->read_ab_metadata(ab_ops, ab_data); in load_metadata() 181 *ab_data_orig = *ab_data; in load_metadata() 187 slot_normalize(&ab_data->slots[0]); in load_metadata() 188 slot_normalize(&ab_data->slots[1]); in load_metadata() 196 AvbABData* ab_data, in save_metadata_if_changed() argument 198 if (avb_safe_memcmp(ab_data, ab_data_orig, sizeof(AvbABData)) != 0) { in save_metadata_if_changed() 200 return ab_ops->write_ab_metadata(ab_ops, ab_data); in save_metadata_if_changed() 214 AvbABData ab_data, ab_data_orig; in avb_ab_flow() local 219 io_ret = load_metadata(ab_ops, &ab_data, &ab_data_orig); in avb_ab_flow() [all …]
|
/external/avb/boot_control/ |
D | boot_control_avb.c | 101 AvbABData ab_data; in module_isSlotBootable() local 108 } else if (avb_ab_data_read(ops->ab_ops, &ab_data) != AVB_IO_RESULT_OK) { in module_isSlotBootable() 112 is_bootable = (ab_data.slots[slot].priority > 0) && in module_isSlotBootable() 113 (ab_data.slots[slot].successful_boot || in module_isSlotBootable() 114 (ab_data.slots[slot].tries_remaining > 0)); in module_isSlotBootable() 121 AvbABData ab_data; in module_isSlotMarkedSuccessful() local 128 } else if (avb_ab_data_read(ops->ab_ops, &ab_data) != AVB_IO_RESULT_OK) { in module_isSlotMarkedSuccessful() 132 is_marked_successful = ab_data.slots[slot].successful_boot; in module_isSlotMarkedSuccessful()
|
/external/avb/ |
D | avbtool.py | 2397 ab_data = ab_data_no_crc + struct.pack('!I', crc_value) 2399 misc_image.write(ab_data)
|
D | avbtool | 2397 ab_data = ab_data_no_crc + struct.pack('!I', crc_value) 2399 misc_image.write(ab_data)
|