Home
last modified time | relevance | path

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

/external/avb/libavb_ab/
Davb_ab_flow.c86 AvbIOResult io_ret; in avb_ab_data_read() local
89 io_ret = ops->read_from_partition(ops, in avb_ab_data_read()
95 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in avb_ab_data_read()
97 } else if (io_ret != AVB_IO_RESULT_OK || in avb_ab_data_read()
117 AvbIOResult io_ret; in avb_ab_data_write() local
120 io_ret = ops->write_to_partition(ops, in avb_ab_data_write()
125 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in avb_ab_data_write()
127 } else if (io_ret != AVB_IO_RESULT_OK) { in avb_ab_data_write()
174 AvbIOResult io_ret; in load_metadata() local
176 io_ret = ab_ops->read_ab_metadata(ab_ops, ab_data); in load_metadata()
[all …]
/external/avb/libavb/
Davb_slot_verify.c75 AvbIOResult io_ret; in load_full_partition() local
90 io_ret = ops->get_preloaded_partition( in load_full_partition()
92 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in load_full_partition()
94 } else if (io_ret != AVB_IO_RESULT_OK) { in load_full_partition()
115 io_ret = ops->read_from_partition(ops, in load_full_partition()
121 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in load_full_partition()
123 } else if (io_ret != AVB_IO_RESULT_OK) { in load_full_partition()
141 AvbIOResult io_ret = AVB_IO_RESULT_OK; in read_persistent_digest() local
153 io_ret = ops->read_persistent_value(ops, in read_persistent_digest()
159 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in read_persistent_digest()
[all …]
Davb_cmdline.c46 AvbIOResult io_ret; in avb_sub_cmdline() local
71 io_ret = ops->get_unique_guid_for_partition( in avb_sub_cmdline()
73 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in avb_sub_cmdline()
75 } else if (io_ret != AVB_IO_RESULT_OK) { in avb_sub_cmdline()
227 AvbIOResult io_ret; in avb_append_options() local
247 io_ret = ops->read_is_device_unlocked(ops, &is_device_unlocked); in avb_append_options()
248 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in avb_append_options()
251 } else if (io_ret != AVB_IO_RESULT_OK) { in avb_append_options()
/external/avb/
DREADME.md714 AvbIOResult io_ret;
717 io_ret = ops->read_rollback_index(ops, n, &current_stored_rollback_index);
718 if (io_ret != AVB_IO_RESULT_OK) {
723 io_ret = ops->write_rollback_index(ops, n, rollback_index);
724 if (io_ret != AVB_IO_RESULT_OK) {