Home
last modified time | relevance | path

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

/linux-5.19.10/block/
Dblk-map.c24 struct bio_map_data *bmd; in bio_alloc_map_data() local
29 bmd = kmalloc(struct_size(bmd, iov, data->nr_segs), gfp_mask); in bio_alloc_map_data()
30 if (!bmd) in bio_alloc_map_data()
32 memcpy(bmd->iov, data->iov, sizeof(struct iovec) * data->nr_segs); in bio_alloc_map_data()
33 bmd->iter = *data; in bio_alloc_map_data()
34 bmd->iter.iov = bmd->iov; in bio_alloc_map_data()
35 return bmd; in bio_alloc_map_data()
109 struct bio_map_data *bmd = bio->bi_private; in bio_uncopy_user() local
112 if (!bmd->is_null_mapped) { in bio_uncopy_user()
121 ret = bio_copy_to_iter(bio, bmd->iter); in bio_uncopy_user()
[all …]