Lines Matching full:vio
6 #include "data-vio.h"
39 #include "vio.h"
204 /* The steps taken cleaning up a VIO, in the order they are performed. */
275 int error = vdo_status_to_errno(data_vio->vio.completion.result); in acknowledge_data_vio()
370 * Compression has been dis-allowed for this VIO, so skip the rest of the in advance_data_vio_compression_stage()
461 copy_to_bio(data_vio->user_bio, lock_holder->vio.data + data_vio->offset); in attempt_logical_block_lock()
487 struct vdo_completion *completion = &data_vio->vio.completion; in launch_data_vio()
541 memset(data_vio, 0, offsetof(struct data_vio, vio)); in launch_bio()
573 copy_from_bio(bio, data_vio->vio.data); in launch_bio()
574 data_vio->is_zero = is_zero_block(data_vio->vio.data); in launch_bio()
793 &data_vio->vio.data); in initialize_data_vio()
805 result = vdo_allocate_memory(VDO_BLOCK_SIZE, 0, "vio scratch", in initialize_data_vio()
818 initialize_vio(&data_vio->vio, bio, 1, VIO_TYPE_DATA, VIO_PRIORITY_DATA, vdo); in initialize_data_vio()
828 vdo_free_bio(vdo_forget(data_vio->vio.bio)); in destroy_data_vio()
829 vdo_free(vdo_forget(data_vio->vio.data)); in destroy_data_vio()
1143 update_vio_error_stats(&data_vio->vio, in update_data_vio_error_stats()
1144 "Completing %s vio for LBN %llu with error after %s", in update_data_vio_error_stats()
1229 next_lock_holder->vio.completion.requeue = true; in transfer_lock()
1276 struct vdo_completion *completion = &data_vio->vio.completion; in finish_cleanup()
1327 (data_vio->vio.completion.result != VDO_READ_ONLY)) in perform_cleanup_stage()
1415 data_vio->vio.completion.error_handler = error_handler; in data_vio_allocate_data_block()
1477 char *data = data_vio->vio.data; in modify_for_partial_write()
1499 char *data = data_vio->vio.data; in complete_read()
1547 memset(data_vio->vio.data, 0, VDO_BLOCK_SIZE); in complete_zero_read()
1567 struct vio *vio = as_vio(completion); in read_block() local
1578 result = vio_reset_bio(vio, (char *) data_vio->compression.block, in read_block()
1584 result = vio_reset_bio(vio, vio->data, read_endio, opf, in read_block()
1588 bio_reset(vio->bio, vio->bio->bi_bdev, opf); in read_block()
1589 bio_init_clone(data_vio->user_bio->bi_bdev, vio->bio, in read_block()
1593 vdo_set_bio_properties(vio->bio, vio, read_endio, opf, in read_block()
1633 completion = &data_vio->vio.completion; in update_block_map()
1781 size = LZ4_compress_default(data_vio->vio.data, in compress_data_vio()
1848 murmurhash3_128(data_vio->vio.data, VDO_BLOCK_SIZE, 0x62ea60be, in hash_data_vio()
1877 struct data_vio *data_vio = vio_as_data_vio((struct vio *) bio->bi_private); in write_bio_finished()
1880 vdo_set_completion_result(&data_vio->vio.completion, in write_bio_finished()
1912 result = vio_reset_bio(&data_vio->vio, data_vio->vio.data, in write_data_vio()
1938 "write VIO to be acknowledged has a flush generation lock"); in acknowledge_write_callback()