Lines Matching full:vio

48 #include "data-vio.h"
60 #include "vio.h"
274 struct vio *vio; in read_geometry_block() local
283 block, &vio); in read_geometry_block()
294 result = vio_reset_bio(vio, block, NULL, REQ_OP_READ, in read_geometry_block()
297 free_vio(vdo_forget(vio)); in read_geometry_block()
302 bio_set_dev(vio->bio, vdo_get_backing_device(vdo)); in read_geometry_block()
303 submit_bio_wait(vio->bio); in read_geometry_block()
304 result = blk_status_to_errno(vio->bio->bi_status); in read_geometry_block()
305 free_vio(vdo_forget(vio)); in read_geometry_block()
660 free_vio_components(&super_block->vio); in uninitialize_super_block()
742 &vdo->super_block.vio); in initialize_super_block()
747 * @completion: The super block vio.
754 container_of(as_vio(completion), struct vdo_super_block, vio); in finish_reading_super_block()
762 * @completion: The super block vio.
774 struct vio *vio = bio->bi_private; in read_super_block_endio() local
775 struct vdo_completion *parent = vio->completion.parent; in read_super_block_endio()
777 continue_vio_after_io(vio, finish_reading_super_block, in read_super_block_endio()
796 vdo->super_block.vio.completion.parent = parent; in vdo_load_super_block()
797 vdo_submit_metadata_vio(&vdo->super_block.vio, in vdo_load_super_block()
910 * @completion: The super block vio.
921 * @completion: The super block vio.
928 container_of(as_vio(completion), struct vdo_super_block, vio); in handle_save_error()
930 vio_record_metadata_io_error(&super_block->vio); in handle_save_error()
946 struct vio *vio = bio->bi_private; in super_block_write_endio() local
947 struct vdo_completion *parent = vio->completion.parent; in super_block_write_endio()
949 continue_vio_after_io(vio, continue_super_block_parent, in super_block_write_endio()
967 if (super_block->vio.completion.parent != NULL) { in vdo_save_components()
975 super_block->vio.completion.parent = parent; in vdo_save_components()
976 super_block->vio.completion.callback_thread_id = parent->callback_thread_id; in vdo_save_components()
977 vdo_submit_metadata_vio(&super_block->vio, in vdo_save_components()