Lines Matching refs:vdo
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()
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()
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()
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()
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()
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()