Searched refs:bmd (Results 1 – 1 of 1) sorted by relevance
656 static void bio_set_map_data(struct bio_map_data *bmd, struct bio *bio, in bio_set_map_data() argument660 memcpy(bmd->iovecs, bio->bi_io_vec, sizeof(struct bio_vec) * bio->bi_vcnt); in bio_set_map_data()661 memcpy(bmd->sgvecs, iov, sizeof(struct sg_iovec) * iov_count); in bio_set_map_data()662 bmd->nr_sgvecs = iov_count; in bio_set_map_data()663 bmd->is_our_pages = is_our_pages; in bio_set_map_data()664 bio->bi_private = bmd; in bio_set_map_data()667 static void bio_free_map_data(struct bio_map_data *bmd) in bio_free_map_data() argument669 kfree(bmd->iovecs); in bio_free_map_data()670 kfree(bmd->sgvecs); in bio_free_map_data()671 kfree(bmd); in bio_free_map_data()[all …]