Home
last modified time | relevance | path

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

/external/avb/libavb/
Davb_slot_verify.c83 AvbIOResult io_ret; in load_full_partition() local
98 io_ret = ops->get_preloaded_partition( in load_full_partition()
100 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in load_full_partition()
102 } else if (io_ret != AVB_IO_RESULT_OK) { in load_full_partition()
123 io_ret = ops->read_from_partition(ops, in load_full_partition()
129 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in load_full_partition()
131 } else if (io_ret != AVB_IO_RESULT_OK) { in load_full_partition()
166 AvbIOResult io_ret = AVB_IO_RESULT_OK; in read_persistent_digest() local
179 io_ret = ops->read_persistent_value(ops, in read_persistent_digest()
189 if (io_ret == AVB_IO_RESULT_ERROR_NO_SUCH_VALUE && initial_digest) { in read_persistent_digest()
[all …]
Davb_cmdline.c46 AvbIOResult io_ret; in avb_sub_cmdline() local
79 io_ret = ops->get_unique_guid_for_partition( in avb_sub_cmdline()
81 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in avb_sub_cmdline()
83 } else if (io_ret != AVB_IO_RESULT_OK) { in avb_sub_cmdline()
236 AvbIOResult io_ret; in avb_append_options() local
256 io_ret = ops->read_is_device_unlocked(ops, &is_device_unlocked); in avb_append_options()
257 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in avb_append_options()
260 } else if (io_ret != AVB_IO_RESULT_OK) { in avb_append_options()
/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/u-boot/lib/libavb/
Davb_slot_verify.c56 AvbIOResult io_ret; in load_full_partition() local
71 io_ret = ops->get_preloaded_partition( in load_full_partition()
73 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in load_full_partition()
75 } else if (io_ret != AVB_IO_RESULT_OK) { in load_full_partition()
96 io_ret = ops->read_from_partition(ops, in load_full_partition()
102 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in load_full_partition()
104 } else if (io_ret != AVB_IO_RESULT_OK) { in load_full_partition()
122 AvbIOResult io_ret = AVB_IO_RESULT_OK; in read_persistent_digest() local
134 io_ret = ops->read_persistent_value(ops, in read_persistent_digest()
140 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in read_persistent_digest()
[all …]
Davb_cmdline.c27 AvbIOResult io_ret; in avb_sub_cmdline() local
52 io_ret = ops->get_unique_guid_for_partition( in avb_sub_cmdline()
54 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in avb_sub_cmdline()
56 } else if (io_ret != AVB_IO_RESULT_OK) { in avb_sub_cmdline()
208 AvbIOResult io_ret; in avb_append_options() local
228 io_ret = ops->read_is_device_unlocked(ops, &is_device_unlocked); in avb_append_options()
229 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in avb_append_options()
232 } else if (io_ret != AVB_IO_RESULT_OK) { in avb_append_options()
/external/avb/
DREADME.md798 AvbIOResult io_ret;
801 io_ret = ops->read_rollback_index(ops, n, &current_stored_rollback_index);
802 if (io_ret != AVB_IO_RESULT_OK) {
807 io_ret = ops->write_rollback_index(ops, n, rollback_index);
808 if (io_ret != AVB_IO_RESULT_OK) {