bmd              1147 block/bio.c    	struct bio_map_data *bmd;
bmd              1151 block/bio.c    	bmd = kmalloc(struct_size(bmd, iov, data->nr_segs), gfp_mask);
bmd              1152 block/bio.c    	if (!bmd)
bmd              1154 block/bio.c    	memcpy(bmd->iov, data->iov, sizeof(struct iovec) * data->nr_segs);
bmd              1155 block/bio.c    	bmd->iter = *data;
bmd              1156 block/bio.c    	bmd->iter.iov = bmd->iov;
bmd              1157 block/bio.c    	return bmd;
bmd              1241 block/bio.c    	struct bio_map_data *bmd = bio->bi_private;
bmd              1253 block/bio.c    			ret = bio_copy_to_iter(bio, bmd->iter);
bmd              1254 block/bio.c    		if (bmd->is_our_pages)
bmd              1257 block/bio.c    	kfree(bmd);
bmd              1278 block/bio.c    	struct bio_map_data *bmd;
bmd              1286 block/bio.c    	bmd = bio_alloc_map_data(iter, gfp_mask);
bmd              1287 block/bio.c    	if (!bmd)
bmd              1295 block/bio.c    	bmd->is_our_pages = map_data ? 0 : 1;
bmd              1363 block/bio.c    		if (bmd->is_our_pages)
bmd              1368 block/bio.c    	bio->bi_private = bmd;
bmd              1377 block/bio.c    	kfree(bmd);