Searched refs:io_ret (Results 1 – 5 of 5) sorted by relevance
/external/avb/libavb/ |
D | avb_slot_verify.c | 83 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 …]
|
D | avb_cmdline.c | 46 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() 221 AvbIOResult io_ret; in avb_append_options() local 245 io_ret = ops->read_is_device_unlocked(ops, &is_device_unlocked); in avb_append_options() 246 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in avb_append_options() 249 } else if (io_ret != AVB_IO_RESULT_OK) { in avb_append_options()
|
/external/avb/libavb_ab/ |
D | avb_ab_flow.c | 86 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_aftl/ |
D | avb_aftl_verify.c | 43 AvbIOResult io_ret; in avb_aftl_find_aftl_image() local 46 io_ret = ops->read_from_partition(ops, in avb_aftl_find_aftl_image() 52 switch (io_ret) { in avb_aftl_find_aftl_image()
|
/external/avb/ |
D | README.md | 873 AvbIOResult io_ret; 876 io_ret = ops->read_rollback_index(ops, n, ¤t_stored_rollback_index); 877 if (io_ret != AVB_IO_RESULT_OK) { 882 io_ret = ops->write_rollback_index(ops, n, rollback_index); 883 if (io_ret != AVB_IO_RESULT_OK) {
|