• Home
  • Raw
  • Download

Lines Matching refs:io_ret

56   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()
142 } else if (io_ret == AVB_IO_RESULT_ERROR_NO_SUCH_VALUE) { in read_persistent_digest()
145 } else if (io_ret == AVB_IO_RESULT_ERROR_INVALID_VALUE_SIZE || in read_persistent_digest()
146 io_ret == AVB_IO_RESULT_ERROR_INSUFFICIENT_SPACE || in read_persistent_digest()
151 } else if (io_ret != AVB_IO_RESULT_OK) { in read_persistent_digest()
171 AvbIOResult io_ret; in load_and_verify_hash_partition() local
258 io_ret = ops->get_size_of_partition(ops, part_name, &image_size); in load_and_verify_hash_partition()
259 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in load_and_verify_hash_partition()
262 } else if (io_ret != AVB_IO_RESULT_OK) { in load_and_verify_hash_partition()
376 AvbIOResult io_ret; in load_requested_partitions() local
391 io_ret = ops->get_size_of_partition(ops, part_name, &image_size); in load_requested_partitions()
392 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in load_requested_partitions()
395 } else if (io_ret != AVB_IO_RESULT_OK) { in load_requested_partitions()
456 AvbIOResult io_ret; in load_and_verify_vbmeta() local
519 io_ret = ops->read_from_partition(ops, in load_and_verify_vbmeta()
525 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in load_and_verify_vbmeta()
528 } else if (io_ret != AVB_IO_RESULT_OK) { in load_and_verify_vbmeta()
560 io_ret = ops->read_from_partition(ops, in load_and_verify_vbmeta()
566 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in load_and_verify_vbmeta()
569 } else if (io_ret != AVB_IO_RESULT_OK) { in load_and_verify_vbmeta()
573 if (is_main_vbmeta && io_ret == AVB_IO_RESULT_ERROR_NO_SUCH_PARTITION && in load_and_verify_vbmeta()
686 io_ret = ops->validate_vbmeta_public_key( in load_and_verify_vbmeta()
688 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in load_and_verify_vbmeta()
691 } else if (io_ret != AVB_IO_RESULT_OK) { in load_and_verify_vbmeta()
711 io_ret = ops->read_rollback_index( in load_and_verify_vbmeta()
713 if (io_ret == AVB_IO_RESULT_ERROR_OOM) { in load_and_verify_vbmeta()
716 } else if (io_ret != AVB_IO_RESULT_OK) { in load_and_verify_vbmeta()