Home
last modified time | relevance | path

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

/Linux-v4.19/block/
Dbio.c1050 struct bio_map_data *bmd; in bio_alloc_map_data() local
1054 bmd = kmalloc(sizeof(struct bio_map_data) + in bio_alloc_map_data()
1056 if (!bmd) in bio_alloc_map_data()
1058 memcpy(bmd->iov, data->iov, sizeof(struct iovec) * data->nr_segs); in bio_alloc_map_data()
1059 bmd->iter = *data; in bio_alloc_map_data()
1060 bmd->iter.iov = bmd->iov; in bio_alloc_map_data()
1061 return bmd; in bio_alloc_map_data()
1145 struct bio_map_data *bmd = bio->bi_private; in bio_uncopy_user() local
1157 ret = bio_copy_to_iter(bio, bmd->iter); in bio_uncopy_user()
1158 if (bmd->is_our_pages) in bio_uncopy_user()
[all …]