Lines Matching refs:next_vio
247 struct vio *next_vio) in merge_to_next_head() argument
254 vdo_int_map_remove(bio_map, next_vio->bios_merged.head->bi_iter.bi_sector); in merge_to_next_head()
255 bio_list_merge_head(&next_vio->bios_merged, &vio->bios_merged); in merge_to_next_head()
256 return map_merged_vio(bio_map, next_vio); in merge_to_next_head()
272 struct vio *prev_vio, *next_vio; in try_bio_map_merge() local
283 next_vio = get_mergeable_locked(bio_queue_data->map, vio, false); in try_bio_map_merge()
284 if (prev_vio == next_vio) in try_bio_map_merge()
285 next_vio = NULL; in try_bio_map_merge()
287 if ((prev_vio == NULL) && (next_vio == NULL)) { in try_bio_map_merge()
293 } else if (next_vio == NULL) { in try_bio_map_merge()
298 result = merge_to_next_head(bio_queue_data->map, vio, next_vio); in try_bio_map_merge()