bio_map
bio_map(backing_bio, opts->kmem.data, opts->kmem.len);
static int map_merged_vio(struct int_map *bio_map, struct vio *vio)
result = vdo_int_map_put(bio_map, bio_sector, vio, true, NULL);
return vdo_int_map_put(bio_map, bio_sector, vio, true, NULL);
static int merge_to_prev_tail(struct int_map *bio_map, struct vio *vio,
vdo_int_map_remove(bio_map, prev_vio->bios_merged.tail->bi_iter.bi_sector);
return map_merged_vio(bio_map, prev_vio);
static int merge_to_next_head(struct int_map *bio_map, struct vio *vio,
vdo_int_map_remove(bio_map, next_vio->bios_merged.head->bi_iter.bi_sector);
return map_merged_vio(bio_map, next_vio);