Home
last modified time | relevance | path

Searched refs:bio_map (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/md/dm-vdo/
H A Dio-submitter.c226 static int map_merged_vio(struct int_map *bio_map, struct vio *vio) in map_merged_vio() argument
232 result = vdo_int_map_put(bio_map, bio_sector, vio, true, NULL); in map_merged_vio()
237 return vdo_int_map_put(bio_map, bio_sector, vio, true, NULL); in map_merged_vio()
240 static int merge_to_prev_tail(struct int_map *bio_map, struct vio *vio, in merge_to_prev_tail() argument
243 vdo_int_map_remove(bio_map, prev_vio->bios_merged.tail->bi_iter.bi_sector); in merge_to_prev_tail()
245 return map_merged_vio(bio_map, prev_vio); in merge_to_prev_tail()
248 static int merge_to_next_head(struct int_map *bio_map, struct vio *vio, in merge_to_next_head() argument
256 vdo_int_map_remove(bio_map, next_vio->bios_merged.head->bi_iter.bi_sector); in merge_to_next_head()
258 return map_merged_vio(bio_map, next_vio); in merge_to_next_head()
/linux/drivers/md/dm-pcache/
H A Dbacking_dev.c175 static void bio_map(struct bio *bio, void *base, size_t size) in bio_map() function
302 bio_map(backing_bio, opts->kmem.data, opts->kmem.len); in kmem_type_req_init()