Lines Matching full:vdo
19 #include "vdo.h"
44 struct vdo *vdo = vio->completion.vdo; in pbn_from_vio_bio() local
47 return ((pbn == VDO_GEOMETRY_BLOCK_LOCATION) ? pbn : pbn + vdo->geometry.bio_offset); in pbn_from_vio_bio()
78 int allocate_vio_components(struct vdo *vdo, enum vio_type vio_type, in allocate_vio_components() argument
100 initialize_vio(vio, bio, block_count, vio_type, priority, vdo); in allocate_vio_components()
108 * @vdo: The vdo on which the vio will operate.
118 int create_multi_block_metadata_vio(struct vdo *vdo, enum vio_type vio_type, in create_multi_block_metadata_vio() argument
138 result = allocate_vio_components(vdo, vio_type, priority, parent, block_count, in create_multi_block_metadata_vio()
172 /* Set bio properties for a VDO read or write. */
176 struct vdo *vdo = vio->completion.vdo; in vdo_set_bio_properties() local
177 struct device_config *config = vdo->device_config; in vdo_set_bio_properties()
179 pbn -= vdo->geometry.bio_offset; in vdo_set_bio_properties()
190 * Prepares the bio to perform IO with the specified buffer. May only be used on a VDO-allocated
252 struct vdo *vdo = vio->completion.vdo; in update_vio_error_stats() local
256 atomic64_inc(&vdo->stats.read_only_error_count); in update_vio_error_stats()
260 atomic64_inc(&vdo->stats.no_space_error_count); in update_vio_error_stats()
301 * @vdo: The vdo.
311 int make_vio_pool(struct vdo *vdo, size_t pool_size, thread_id_t thread_id, in make_vio_pool() argument
339 result = allocate_vio_components(vdo, vio_type, priority, NULL, 1, ptr, in make_vio_pool()
443 * These are used for bios coming into VDO, as well as bios generated by VDO.
464 * All other operations are filtered out in dmvdo.c, or not created by VDO, so in vdo_count_bios()
480 struct atomic_statistics *stats = &vio->completion.vdo->stats; in count_all_bios_completed()
498 atomic64_inc(&vio->completion.vdo->stats.bios_completed); in vdo_count_completed_bios()