Lines Matching full:vio

26 #include "vio.h"
29 /* Codes for describing the last asynchronous operation performed on a vio. */
78 /* The queue of waiters for the page this vio is allocating or loading */
133 /* A vio which is blocked in the packer while holding a lock this vio needs. */
148 /* The block allocated to this vio */
163 /* Whether this vio should wait for a clean slab */
175 /* A vio for processing user data requests. */
189 /* The hash of this vio (if not zero) */
212 * Whether this vio has received an allocation. This field is examined from threads not in
217 /* The new partition address of this block after the vio write completes */
223 /* The lock this vio holds or shares with other vios with the same data */
234 * this vio.
244 /* The generation number of the VDO that this vio belongs to */
247 /* The completion to use for fetching block map pages for this vio */
250 /* The user bio that initiated this VIO */
267 struct vio vio; member
281 static inline struct data_vio *vio_as_data_vio(struct vio *vio) in vio_as_data_vio() argument
283 VDO_ASSERT_LOG_ONLY((vio->type == VIO_TYPE_DATA), "vio is a data_vio"); in vio_as_data_vio()
284 return container_of(vio, struct data_vio, vio); in vio_as_data_vio()
315 return data_vio->vio.completion.vdo; in vdo_from_data_vio()
353 vdo_launch_completion(&data_vio->vio.completion); in continue_data_vio()
364 vdo_continue_completion(&data_vio->vio.completion, result); in continue_data_vio_with_error()
385 vdo_set_completion_callback(&data_vio->vio.completion, callback, in set_data_vio_hash_zone_callback()
397 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_hash_zone_callback()
413 vdo_set_completion_callback(&data_vio->vio.completion, callback, in set_data_vio_logical_callback()
425 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_logical_callback()
442 vdo_set_completion_callback(&data_vio->vio.completion, callback, in set_data_vio_allocated_zone_callback()
455 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_allocated_zone_callback()
472 vdo_set_completion_callback(&data_vio->vio.completion, callback, in set_data_vio_duplicate_zone_callback()
485 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_duplicate_zone_callback()
501 vdo_set_completion_callback(&data_vio->vio.completion, callback, in set_data_vio_mapped_zone_callback()
519 vdo_set_completion_callback(&data_vio->vio.completion, callback, in set_data_vio_new_mapped_zone_callback()
539 vdo_set_completion_callback(&data_vio->vio.completion, callback, journal_thread); in set_data_vio_journal_callback()
550 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_journal_callback()
569 vdo_set_completion_callback(&data_vio->vio.completion, callback, packer_thread); in set_data_vio_packer_callback()
580 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_packer_callback()
599 vdo_set_completion_callback(&data_vio->vio.completion, callback, cpu_thread); in set_data_vio_cpu_callback()
611 vdo_launch_completion_with_priority(&data_vio->vio.completion, priority); in launch_data_vio_cpu_callback()
617 vdo_set_completion_callback(&data_vio->vio.completion, callback, in set_data_vio_bio_zone_callback()
618 get_vio_bio_zone_thread_id(&data_vio->vio)); in set_data_vio_bio_zone_callback()
629 vdo_launch_completion_with_priority(&data_vio->vio.completion, in launch_data_vio_bio_zone_callback()
641 struct vdo_completion *completion = &data_vio->vio.completion; in launch_data_vio_on_bio_ack_queue()