Searched refs:ab_ops (Results 1 – 12 of 12) sorted by relevance
/external/avb/libavb_ab/ |
D | avb_ab_flow.c | 83 AvbIOResult avb_ab_data_read(AvbABOps* ab_ops, AvbABData* data) { in avb_ab_data_read() argument 84 AvbOps* ops = ab_ops->ops; in avb_ab_data_read() 108 return avb_ab_data_write(ab_ops, data); in avb_ab_data_read() 114 AvbIOResult avb_ab_data_write(AvbABOps* ab_ops, const AvbABData* data) { in avb_ab_data_write() argument 115 AvbOps* ops = ab_ops->ops; in avb_ab_data_write() 171 static AvbIOResult load_metadata(AvbABOps* ab_ops, in load_metadata() argument 176 io_ret = ab_ops->read_ab_metadata(ab_ops, ab_data); in load_metadata() 195 static AvbIOResult save_metadata_if_changed(AvbABOps* ab_ops, in save_metadata_if_changed() argument 200 return ab_ops->write_ab_metadata(ab_ops, ab_data); in save_metadata_if_changed() 205 AvbABFlowResult avb_ab_flow(AvbABOps* ab_ops, in avb_ab_flow() argument [all …]
|
D | avb_ab_flow.h | 127 AvbIOResult avb_ab_data_read(AvbABOps* ab_ops, AvbABData* data); 133 AvbIOResult avb_ab_data_write(AvbABOps* ab_ops, const AvbABData* data); 220 AvbABFlowResult avb_ab_flow(AvbABOps* ab_ops, 233 AvbIOResult avb_ab_mark_slot_active(AvbABOps* ab_ops, unsigned int slot_number); 241 AvbIOResult avb_ab_mark_slot_unbootable(AvbABOps* ab_ops, 254 AvbIOResult avb_ab_mark_slot_successful(AvbABOps* ab_ops,
|
D | avb_ab_ops.h | 62 AvbIOResult (*read_ab_metadata)(AvbABOps* ab_ops, struct AvbABData* data); 71 AvbIOResult (*write_ab_metadata)(AvbABOps* ab_ops,
|
/external/avb/boot_control/ |
D | boot_control_avb.c | 68 if (avb_ab_mark_slot_successful(ops->ab_ops, module_getCurrentSlot(module)) == in module_markBootSuccessful() 80 } else if (avb_ab_mark_slot_active(ops->ab_ops, slot) == AVB_IO_RESULT_OK) { in module_setActiveBootSlot() 91 } else if (avb_ab_mark_slot_unbootable(ops->ab_ops, slot) == in module_setSlotAsUnbootable() 108 } else if (avb_ab_data_read(ops->ab_ops, &ab_data) != AVB_IO_RESULT_OK) { in module_isSlotBootable() 128 } else if (avb_ab_data_read(ops->ab_ops, &ab_data) != AVB_IO_RESULT_OK) { in module_isSlotMarkedSuccessful()
|
/external/avb/libavb_user/ |
D | avb_ops_user.cpp | 320 ops->ab_ops = static_cast<AvbABOps*>(calloc(1, sizeof(AvbABOps))); in avb_ops_user_new() 321 if (ops->ab_ops == NULL) { in avb_ops_user_new() 326 ops->ab_ops->ops = ops; in avb_ops_user_new() 336 ops->ab_ops->read_ab_metadata = avb_ab_data_read; in avb_ops_user_new() 337 ops->ab_ops->write_ab_metadata = avb_ab_data_write; in avb_ops_user_new() 344 free(ops->ab_ops); in avb_ops_user_free()
|
/external/avb/examples/uefi/ |
D | uefi_avb_ops.c | 641 data->ops.ab_ops = &data->ab_ops; in uefi_avb_ops_new() 651 data->ab_ops.ops = &data->ops; in uefi_avb_ops_new() 652 data->ab_ops.read_ab_metadata = avb_ab_data_read; in uefi_avb_ops_new() 653 data->ab_ops.write_ab_metadata = avb_ab_data_write; in uefi_avb_ops_new()
|
D | uefi_avb_ops.h | 34 AvbABOps ab_ops; member
|
D | main.c | 69 ab_result = avb_ab_flow(ops->ab_ops, in efi_main()
|
/external/avb/libavb/ |
D | avb_ops.h | 105 struct AvbABOps* ab_ops; member
|
/external/u-boot/lib/libavb/ |
D | avb_ops.h | 85 struct AvbABOps* ab_ops; member
|
/external/avb/test/ |
D | fake_avb_ops.h | 120 static FakeAvbOps* GetInstanceFromAvbABOps(AvbABOps* ab_ops) { in GetInstanceFromAvbABOps() argument 121 return reinterpret_cast<FakeAvbOps*>(ab_ops->ops->user_data); in GetInstanceFromAvbABOps()
|
D | fake_avb_ops.cc | 531 avb_ops_.ab_ops = &avb_ab_ops_; in FakeAvbOps()
|