Searched refs:bmd (Results 1 – 1 of 1) sorted by relevance
940 static void bio_set_map_data(struct bio_map_data *bmd, struct bio *bio, in bio_set_map_data() argument944 memcpy(bmd->iovecs, bio->bi_io_vec, sizeof(struct bio_vec) * bio->bi_vcnt); in bio_set_map_data()945 memcpy(bmd->sgvecs, iov, sizeof(struct sg_iovec) * iov_count); in bio_set_map_data()946 bmd->nr_sgvecs = iov_count; in bio_set_map_data()947 bmd->is_our_pages = is_our_pages; in bio_set_map_data()948 bio->bi_private = bmd; in bio_set_map_data()951 static void bio_free_map_data(struct bio_map_data *bmd) in bio_free_map_data() argument953 kfree(bmd->iovecs); in bio_free_map_data()954 kfree(bmd->sgvecs); in bio_free_map_data()955 kfree(bmd); in bio_free_map_data()[all …]